Ansible for EKS configuration
- Istio
- EFS
- Loki
- Prometheus
1. Installation Guide (MacOS)
2. Prerequisites Before Install
3. Prerequisites After Install
host_vars/bastion-1.yml
수정
cp host_vars/bastion-1.yml.template host_vars/bastion-1.yml
- ansible_host
- Bastion Host EC2 instance IP
- ansible_user
- ansible_ssh_private_key_file
vars.yml
수정
cp vars.yml.template vars.yml
- aws_access_key
- aws_secret_key
- region
- cluster_name
- kubectl_version
- policy_name
- default ( AWSLoadBalancerControllerIAMPolicy )
- acm_arn
- domain acm arn
- will be connected to istio ingress alb
- efs_stack_name
- loki,prometheus_domain
4. Check Connection with Host (bastion-host)
ansible bastion-1 -m ping -i inventory.ini
# output
# bastion-1 | SUCCESS => {
# "changed": false,
# "ping": "pong"
# }
ansible-playbook site.yml -i inventory.ini