رفع محدودیتها و تحریم شکن ایران برای نصب کوبرنتیز و ایمیجهای داکر از طریق جایگزینی دی ان اسهای شکن به جای دو nameserver در فایل زیر انجام میشود.
nano /etc/netplan/50-cloud-init.yaml
resolvectl
netplan apply
resolvectl
systemctl daemon-reload
https://minikube.sigs.k8s.io/docs/start/
apt update
apt install -y apt-transport-https ca-certificates curl gnupg lsb-release
ps -a
nano /etc/apt/apt.conf
nano /etc/docker/daemon.json
systemctl restart docker
systemctl daemon-reload
curl -LO https://dl.k8s.io/release/v1.29.3/bin/linux/amd64/kubectl
apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
nproc
grep -E --color 'vmx|svm' /proc/cpuinfo
host -t
systemd-resolve --status | grep "DNS Servers"
nmcli dev show | grep 'IP4.DNS'
nm-tool | grep DNS
( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS
systemd-resolve --status
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
??????????????????????????????????????????
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/v0.22.0/kind-linux-amd64
chmod +x ./kind
mv ./kind /usr/local/bin
kind create cluster
apt-get install -y kubelet kubeadm kubectl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
apt install kubernetes
kubectl get pod pod1
kubectl version
kubectl get all --all-namespaces
############## kubectl & google-cloud-sdk###############
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
apt update
apt install kubectl
apt install -y google-cloud-sdk
###############################
Traefik Hub
Kubernetis Dashboard