Created
June 19, 2022 17:00
-
-
Save amaurybsouza/5328198a338ccf55fee59fefeaf248fa to your computer and use it in GitHub Desktop.
kubernetes_cluster_info_ansible
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
| # ansible k8s -m command -a "kubectl cluster-info" -i inventory.yml | |
| k8s | CHANGED | rc=0 >> | |
| Kubernetes control plane is running at https://192.168.1.123:6443 | |
| CoreDNS is running at https://192.168.1.123:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy | |
| To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment