The below requirements are needed on the local master node that executes this inventory.
| connections |
Optional list of cluster connection settings. If no connections are provided, the default ~/.kube/config and active context will be used, and objects will be returned for all namespaces the active user is authorized to access.
| plugin |
- / required
| || |
token that ensures this is a source file for the 'k8s' plugin.
# File must be named k8s.yaml or k8s.yml # Authenticate with token, and return all pods and services for all namespaces plugin: k8s connections: - host: https://192.168.64.4:8443 token: xxxxxxxxxxxxxxxx validate_certs: false # Use default config (~/.kube/config) file and active context, and return objects for a specific namespace plugin: k8s connections: - namespaces: - testing # Use a custom config file, and a specific context. plugin: k8s connections: - kubeconfig: /path/to/config context: 'awx/192-168-64-4:8443/developer'
If you notice any issues in this documentation, you can edit this document to improve it.
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.