-
Notifications
You must be signed in to change notification settings - Fork 106
k8s inventory plugin not working #73
Comments
I'm not sure why you'd need to use the How are you configuring the |
---
- hosts: all
gather_facts: false
connection: local
collections:
- community.kubernetes
tasks:
- name: Ensure the myapp Namespace exists.
k8s:
api_version: v1
kind: Namespace
name: testing
state: present
|
[dev] [root@k8s-node1 ~]# cat /etc/ansible/hosts |
Hello, I don't understand what is your problem. Dumping lot of content does not help. Could you state clearly and shortly what you would like to achieve, how do you do that and what you get ? |
@603627156 There is typo in your kubeconfig. Username should be 'cluster-admin' instead of 'cluser-admin' in contexts.
|
PR is merged. Closing. |
Im trying to create a dynamic inventory from a kubernetes cluster, using the k8s plugin, however I'm unable to get it to work. It's not good to configure according to the document. How to configure?
1、deploy
2、
3、error
The text was updated successfully, but these errors were encountered: