Question: 7
Use context: kubectl config use-context k8s-cl-H
Minikube is a single-node cluster, and all control plane components (like kube-apiserver, etcd, etc.) run on the same node.
-
Use the command
minikube ssh -p k8s-cl-H minikube sshto access the control plane node. -
From inside Minikube, check how the following components are started/installed:
-
kubelet -
kube-apiserver -
kube-scheduler -
kube-controller-manager -
etcd
-
-
Then, from your host machine, identify which DNS application is deployed (e.g.,
coredns,kube-dns) in the cluster, and how it is running. -
Write your findings into the file
/opt/course/R/controlplane-components.txtwith the following structure:
[TYPE] should be one of:
not-installed,process,static-pod,pod
[NAME] is the name of the DNS application (e.g.,coredns,kube-dns)