Starting the exam and setting alias
Alias setup for kubectl command.
alias k=kubectlCheck Kubernetes Cluster Information
Verifies the connection to the Kubernetes cluster and displays cluster endpoints.
kubectl cluster-infoCheck Nodes in the Cluster
Lists all nodes in the Kubernetes cluster, verifying connectivity and cluster health.
kubectl get nodesCheck Kubernetes Version
Displays the Kubernetes client and server versions to ensure compatibility and functionality.
kubectl version