Created
September 25, 2023 11:39
-
-
Save vi7/c69d1678d94c523ee1cafab6160ce620 to your computer and use it in GitHub Desktop.
Kubernetes public API endpoint with the cluster info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/usr/bin/env bash | |
K8S_CLUSTER_API_URL="my-cluster.example.com" | |
curl -ks https://"$K8S_CLUSTER_API_URL":6443/api/v1/namespaces/kube-public/configmaps/cluster-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment