wltheng
wltheng

Reputation: 800

How to apply Kubernetes YAML files to AWS EKS using Ansible Tower/AWX?

From local machine, we can apply Kubernetes YAML files to AWS EKS using AWS CLI + aws-iam-authenticator + kubectl. How to do it in Ansible Tower / AWX?

Understand that there are a few Ansible modules available but none seems to be able to apply Kubernetes YAML to EKS.

Upvotes: 3

Views: 1350

Answers (1)

Nick_Kh
Nick_Kh

Reputation: 5243

I think that you can possibly reach the goal via k8s module as it natively supports kubeconfig parameter which you can use for EKS cluster authentication. You can follow the steps described in the official documentation in order to compose kubeconfig file. There was a separate thread discussed on GitHub #45858 about kubernetes manifest file implementation through k8s module, however Git contributors were facing some authorization issue, therefore take a chance and look through the conversation maybe you will find some helpful suggestions.

Upvotes: 3

Related Questions