k8s 3

[K8S] 오브젝트 이름과 ID (RFC 1123)

kubernetes 오브젝트 이름과 ID 쿠버네티스 yaml 작성 중, hostAliases의 hostnames를 test_tb_ipc 와 같은 이름으로 작성했더니 아래 에러가 발생했다. * spec.template.spec.hostAliases.hostnames: Invalid value: "test_tb_ipc": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation..

Infra/Docker & K8S 2022.10.13

[K8S] kubectl exec -- 더블 대쉬 의미

kubernetes | kubectl double dash 더블 대쉬(--) 왜 쓸까 $ kubectl exec -it mysql-0 -- mysql -u root -p 위 명령어는 mysql-0 이라는 pod에 접근하기 위한 명령어이다. 중간에 -- 더블 대쉬가 있는데 무슨 의미를 갖고 있는 걸까? 명령어를 구분하기 위함 kubectl exec -it mysql-0 -- mysql -u root -p 명령어는 --를 기준으로 2개로 구분지을 수 있다. kubectl exec -it mysql-0 : kubectl exec 명령어 및 옵션 mysql -u root -p : pod 내부에서 실행되어야할 명령어 만약 -- 더블 대쉬가 없다면 mysql -u root -p 의 -u, -p 옵션들이 kubect..

Infra/Docker & K8S 2022.10.04

[K8S] 쿠버네티스 에러 관련 포스팅 모음

지속적으로 업데이트 예정 k8s 에러 관련 포스팅 모음 제목(링크) 비고 kubeadm init 실행시 에러 : 'curl -sSL http://localhost:10248/healthz' failed with error https://kubernetes.io/ko/docs/setup/production-environment/container-runtimes/ 참고 에러해결 Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority cer..

Infra/Docker & K8S 2022.03.27
728x90
반응형