강의

멘토링

로드맵

Inflearn Community Q&A

chlee3679's profile image
chlee3679

asked

The Trend is Kubernetes (Beginner to Intermediate)

Kubernetes Cluster Installation

Vagrantfile 내부 질문드립니다.

Written on

·

1.9K

1

설치완료 후 kubectl get pod -A 실행시

coredns, dashboard 관련 pod가 계속 pending 상태이고, 강의에서 해당명령어를 쳤을때와 다르게 pod 중 calico 관련 파드가 존재하지 않아서 Vagrantfile의 Calico 설치부분중

# Calico 설치 curl https://docs.projectcalico.org/manifests/calico.yaml -O kubectl apply -f calico.yaml

구문을 직접 master node에서 커맨드로 쳐본 결과

[root@k8s-master ~]# kubectl apply -f calico.yaml

error: error validating "calico.yaml": error validating data: invalid object to validate; if you choose to ignore these errors, turn validation off with --validate=false

에러가 발생합니다.

해결방법 문의드립니다.

 

kubernetesdocker

Answer 2

0

chlee3679님의 프로필 이미지
chlee3679
Questioner

정상적으로 실행됩니다 감사합니다.

0

1pro님의 프로필 이미지
1pro
Instructor

안녕하세요.

calico에서 주소를 변경했네요.

아래와 같이 해보시겠어요?

# Calico 설치

kubectl create -f https://raw.githubusercontent.com/kubetm/kubetm.github.io/master/yamls/k8s-install/calico.yaml

kubectl create -f https://raw.githubusercontent.com/kubetm/kubetm.github.io/master/yamls/k8s-install/calico-custom.yaml

chlee3679's profile image
chlee3679

asked

Ask a question