본문 바로가기
728x90
반응형

Programming/Kubernetes24

[Kubernetes] kubelet error - part of the existing bootstrap client certificate is expired kubelet not working and the below error occurred. - part of the existing bootstrap client certificate is expired Mar 24 10:57:40 k8smaster01 kubelet[3184]: I0314 10:57:40.514806 3184 server.go:417] Version: v1.18.12 Mar 24 10:57:40 k8smaster01 kubelet[3184]: I0314 10:57:40.514974 3184 plugins.go:100] No cloud provider specified. Mar 24 10:57:40 k8smaster01 kubelet[3184]: I0314 10:57:40.514985 31.. 2022. 3. 14.
[Kubernets] coredns에 multiple consul dns 등록하기 consul dns를 coredns에 설정하는 법은 https://www.consul.io/docs/k8s/dns#coredns-configuration 를 참고하시면 됩니다. 그러면 만약 namespace로 분리된 환경에서 여러 namespace에서 consul dns를 설치하여 사용할 경우에 coredns에 어떻게 등록을 하는지 알아 봅시다. 아래처럼 coredns config를 편집하고 consul dns client의 주소를 필요한만큼 적용해줍니다. $ kubectl edit cm coredns -n kube-system apiVersion: v1 data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.loca.. 2022. 2. 9.
[Kubernetes] k8s HA control-plane node 추가하기 (Add control-plane node) Single Master로 k8s cluster를 구성했으나 추후 HA 구성을 위해 contorl-plane node를 추가 해야 할 경우 1. kubeadm-config.yaml update HA 구성을 위해 추가해야 할 node의 정보를 기존 kubeadm-config.yaml에 추가한다. 기존에 k8s 를 구성한 kubeadm-config.yaml의 정보가 없을 경우 현재 등록되어 있는 configmap을 통해 아래 명령어를 사용하여 가져 온다. machine01:~$ kubectl get cm kubeadm-config -n kube-system -o yaml kubeadm-config에 추가 할 control-plane 노드의 정보를 업데이트 한다. apiVersion: kubeadm.k8s.i.. 2022. 1. 12.
[Kubernets][Rancher] Pod Metrics 보기 Rancher on Kubernetes (쿠버네티스 클러스터에 Rancher 설치) Rancher Rancher는 다양한 인프라에 구성된 Cluster들을 손쉽게 관리해주는 툴이다. Rancher를 이용해서 사용자는 Kuberntes 를 손쉽게 배포하고 관리할 수 있다. 그럼 Rancher를 설치하고 대시보드까지 접속 gihyun.com Rancher on Kubernetes - 2 (Existing cluster import) Rancher 설치 이후 다른 클러스터를 현재 설치된 Rancher에 연동 시켜 보자. Import Existing 각각 사용되고 있는 Provider 가 있다면 EKS, AKS, GKE 를 선택하자. 여기선 on-premise 에 설치 된 Cluster를 추가.. gihyun... 2021. 12. 2.
728x90
반응형