cka/1/7

 

 

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.

  1. Use the command minikube ssh -p k8s-cl-H minikube ssh to access the control plane node.

  2. From inside Minikube, check how the following components are started/installed:

    • kubelet

    • kube-apiserver

    • kube-scheduler

    • kube-controller-manager

    • etcd

  3. Then, from your host machine, identify which DNS application is deployed (e.g., coredns, kube-dns) in the cluster, and how it is running.

  4. Write your findings into the file /opt/course/R/controlplane-components.txt with the following structure:

kubelet: [TYPE]
kube-apiserver: [TYPE]
kube-scheduler: [TYPE]
kube-controller-manager: [TYPE]
etcd: [TYPE]
dns: [TYPE] [NAME]

[TYPE] should be one of: not-installed, process, static-pod, pod
[NAME] is the name of the DNS application (e.g., coredns, kube-dns)

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts