Generate static Pod manifests for control plane

 

Control Plane 구성요소에 대한 공통속성
 - 모든 static pod 는 kube-system namespaces 에 deploy 된다. 
 - 모든 static pod 는 "tier:control-plane", "component:{component-name}" Label 을 가진다.

 - 모든 static pod 는 "scheduler.alpha.kubernetes.io/critical-pod" annotation 을 가진다.

 - "hostNetwork: true" 는 네트워크가 구성되기전 control plane 실행될수 있도록 static pod 에 설정되며, 수행된다. 

ㄴ controller-manager 와 scheduler 가 API server 를 참조하기 위한 주소는 127.0.0.1 이다. 
ㄴ local etcd server 를 사용하는경우 etcd-server 의 주소는 127.0.0.1:2379 이다. 

 - Leader election 은 controller-manager 와 scheduler 에 대해서 모두 활성화 됩니다.
 - controller-manager 와 scheduler 는 kubeconfig file 을 각각의 고유한 Identities 로 참조
 - 모든 static pod 는 user 지정 extra flags 가 있음
 - 모든 static pod 는 user 지정 extra Volums 가 있음 (Host path)

 

 

유의사항
 - --kubernetes-version/current architecture 인 모든 이미지는 "gcr.io/google_containers" 에서 pull 을 한다. alternative image repository 및 CI image repository 가 설정된 경우 이 image repository 를 사용한다. 모든 control plane 구성요소에 특정 container image 를 구성해야하는경우 이런 구성을 한다. 

 - --dry-run 모드로 kubeadm 이 수행되는경우 static Pods file은 임시 디렉토리에 기록되며, 저장된다. 
 - Master Componects  에 대한 Static Pod manafest 는 "kubeadm alpha phase controlplane all" 명령어로 개별적으로 호출이 가능하다.

+ Recent posts