To get the cluster information in Kubernetes, you can use the following command:
kubectl cluster-info
Steps:
- Open your terminal.
- Ensure you have access to your Kubernetes cluster.
- Run the command above.
This will display the API server endpoint and other relevant information about your cluster.
