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