Discover Kubernetes Cluster Details
As a new cloud infrastructure intern at TechCorp, you need to perform a comprehensive health check of the Kubernetes cluster to ensure its readiness for upcoming deployments.
Tasks
- Retrieve the full cluster information using the appropriate kubectl command
- List all nodes in the Kubernetes cluster
- Verify the status of each node in the cluster
Requirements
- Use
kubectl commands for all operations
- Perform all tasks in the
~/project directory
- Ensure the Minikube cluster is running before executing any commands
- Use standard kubectl subcommands to gather cluster information
Examples
Example of node listing output:
NAME STATUS ROLES AGE VERSION
minikube Ready control-plane 10m v1.23.3
Example of cluster information output:
Kubernetes control plane is running at https://192.168.49.2:8443
CoreDNS is running at https://192.168.49.2:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Hints
- Remember to use
kubectl commands to interact with the Kubernetes cluster
- Check the cluster status before running detailed commands
- Use
--help flag with kubectl commands to get more information
- Verify the Minikube cluster is running before executing tasks