IT
-
error: unable to recognize "test-dep.yml": no matches for kind "Deployment" in version "extensions/v1"IT 2020. 6. 29. 14:16
Client Version: v1.18.3 Server Version: v1.18.3 kubectl apply -f test-dep.yml error: unable to recognize "test-dep.yml": no matches for kind "Deployment" in version "extensions/v1" 해결 #apiVersion: extensions/v1 - > apiVersion: apps/v1 kubectl apply -f test-dep.yml deployment.apps/service-test created
-
aws ecr unknown flag: --password-stdinIT 2020. 6. 3. 18:30
#aws ecr 가이드대로 진행하였지만 에러메지시 발생 aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin 2242214124.dkr.ecr.ap-northeast-2.amazonaws.com #에러메시지 unknown flag: --password-stdin See 'docker login --help'. Exception ignored in: BrokenPipeError: [Errno 32] Broken pipe #해결 aws ecr get-login 복붙한다. 2번단계로 간다
-
[ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already existsIT 2020. 6. 3. 11:45
#virtualbox #master node rm -rf /root/.kube/config kubeadm reset kubeadm init --pod-network-cidr=10.90.0.0/16 --apiserver-advertise-address=192.168.56.114 rm -rf /root/.kube/config mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config systemctl restart kubelet systemctl restart docker #slave1 node systemctl restart kubelet s..