-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables
51 lines (49 loc) · 1.38 KB
/
variables
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
eks_vpc_name: aws-eks-vpc
eks_region: ap-south-1
eks_vpc_cidr: 10.0.0.0/16
eks_cluster_name: kube2019rishabh
eks_kubeconfig_env: []
eks_worker_role_name: eksWorkerRole
eks_cluster_role_name: eksClusterRole
eks_subnets:
- cidr: 10.0.1.0/24
zone: a
- cidr: 10.0.2.0/24
zone: b
- cidr: 10.0.3.0/24
zone: c
eks_security_groups:
- name: "{{ eks_cluster_name }}-control-plane-sg"
description: "EKS Control Plane Security Group"
rules:
- group_name: "{{ eks_cluster_name }}-workers-sg"
group_desc: "EKS Worker Security Group"
ports: 443
proto: tcp
rules_egress:
- group_name: "{{ eks_cluster_name }}-workers-sg"
group_desc: "EKS Worker Security Group"
from_port: 1025
to_port: 65535
proto: tcp
- name: "{{ eks_cluster_name }}-workers-sg"
description: "EKS Worker Security Group"
rules:
- group_name: "{{ eks_cluster_name }}-workers-sg"
proto: tcp
from_port: 1
to_port: 65535
- group_name: "{{ eks_cluster_name }}-control-plane-sg"
ports: 10250
proto: tcp
- ports: 22
proto: tcp
cidr_ip: 0.0.0.0/0
- from_port: 1
to_port: 65535
cidr_ip:
- "{{ eks_subnets[0].cidr }}"
- "{{ eks_subnets[1].cidr }}"
- "{{ eks_subnets[2].cidr }}"
tags:
KubernetesCluster: "{{ eks_cluster_name }}"