Created
June 19, 2022 16:57
-
-
Save amaurybsouza/c83f7ee999bb076b497894d04e7733dc to your computer and use it in GitHub Desktop.
kubernetes_cluster_ansible_node
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 shell -a "kubectl get nodes -o wide" -i inventory.yml | |
k8s | CHANGED | rc=0 >> | |
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME | |
kubernetes-cluster Ready control-plane 3d1h v1.24.2 192.168.1.132 <none> CentOS Linux 7 (Core) 3.10.0-1160.66.1.el7.x86_64 containerd://1.6.6 | |
kubernetes-node01 Ready <none> 3d1h v1.24.1 192.168.1.122 <none> CentOS Linux 7 (Core) 3.10.0-1160.66.1.el7.x86_64 containerd://1.6.6 | |
kubernetes-node02 Ready <none> 3d1h v1.24.1 192.168.1.123 <none> CentOS Linux 7 (Core) 3.10.0-1160.66.1.el7.x86_64 containerd://1.6.6 | |
kubernetes-node03 Ready <none> 3d1h v1.24.1 192.168.1.125 <none> CentOS Linux 7 (Core) 3.10.0-1160.66.1.el7.x86_64 containerd://1.6.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment