Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moshloop/kubectl-ansible
An ansible dynamic inventory plugin for kubernetes cluster nodes
https://github.com/moshloop/kubectl-ansible
ansible kubectl kubectl-plugins
Last synced: 2 months ago
JSON representation
An ansible dynamic inventory plugin for kubernetes cluster nodes
- Host: GitHub
- URL: https://github.com/moshloop/kubectl-ansible
- Owner: moshloop
- Created: 2019-02-26T09:15:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T09:15:42.000Z (almost 6 years ago)
- Last Synced: 2024-11-02T07:33:08.507Z (2 months ago)
- Topics: ansible, kubectl, kubectl-plugins
- Language: Python
- Size: 1000 Bytes
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-ansible
README
# kubectl-ansible
A dynamic inventory plugin for ansible that retrieves nodes from kubernetes cluster.
```bash
$ pip install kubectl-ansible
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
master01 Ready master 7d18h v1.13.2
worker01 Ready 7d13h v1.13.2
$ kubectl ansible -m ping all
master01| SUCCESS => {
"changed": false,
"ping": "pong"
}
worker01| SUCCESS => {
"changed": false,
"ping": "pong"
}
```