Requirement:
We need to find kube-controller-manager file from Kubernetes Cluster which is running on docker images. refer github doc for Oracle K8S manual installationAll core binaries are stored inside the docker images.
Solution:
Find the controller docker instance
#docker ps |grep controller7fc8302ccfe3 887b8144f94f "kube-controller-man…" 15 hours ago Up 15 hours k8s_kube-controller-manager_kube-controller-manager-instance-cas-mt2_kube-system_d739245871cdd71020650b11ac854d60_0
docker exec into the docker instance and find kube-controller-manager
#docker exec -it k8s_kube-controller-manager_kube-controller-manager-instance-cas-mt2_kube-system_d739245871cdd71020650b11ac854d60_0 /bin/bash
bash-4.2# which kube-controller-manager
/usr/local/bin/kube-controller-manager
No comments:
Post a Comment