Skip to content

Ansible role for managing AWS EKS clusters (controlplane + nodes)

License

Notifications You must be signed in to change notification settings

lgg42/ansible-role-eks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-eks

Ansible role for managing AWS EKS clusters (controlplane + nodes) with option for opt out of amazon-vpc-cni-k8s 🙌

Requirements

An AWS account and credentials with permissions to manipulate VPC, EC2, EKS, IAM.

System packages:

Dependencies

None.

Example Playbooks

EKS.yml

---
- hosts: localhost
  gather_facts: false
  vars:
    REGION: eu-west-1
    aws_access_key: "{{ AWS_ACCESS_KEY }}"
    aws_secret_key: "{{ AWS_SECRET_KEY }}"
  roles:
    - role: ansible-role-eks

Create or modify cluster
ansible-playbook EKS.yml -e eks_action=setup

Delete cluster (controlplane + nodes)
ansible-playbook EKS.yml -e eks_action=teardown

Notes

Based in the work of https://github.com/willthames/ansiblefest2018/tree/master/ansible/roles/eks

About

Ansible role for managing AWS EKS clusters (controlplane + nodes)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages