Skip to content

Commit 402a6b2

Browse files
vinayakgautamopsAkankshaSquareopsdivyanshujainSquareopsAkanksha Singhankush-sqops
authored
Release 3.0.0 (#44)
* Addons restructure and Version Updates for 1.30 cluster (#34) * update directory structure for alb,Node -termination-manager.cert-manager ,cluster-autoscaller,cluster-proportional-autoscaller,core dns-hpa,external-secret, reloader,metric-server * version updste in alb,Node -termination-manager,cert-manager,cluster-autoscaller,cluster-proportional-autoscaller,core dns-hpa,external-secret,config reloader,metric-server-hpa * udate default addons and example calling module * Update addons directory structure for default addons, alb,Node -termination-manager,cert-manager,cluster-autoscaller,cluster-proportional-autoscaller,core dns-hpa,external-secret,config reloader,metric-server-hpa * Update addons directory structure for default addons, alb,Node -termination-manager,cert-manager,cluster-autoscaller,cluster-proportional-autoscaller,core dns-hpa,external-secret,config reloader,metric-server-hpa * Update addons directory structure for default addons, alb,Node -termination-manager,cert-manager,cluster-autoscaller,cluster-proportional-autoscaller,core dns-hpa,external-secret,config reloader,metric-server-hpa * add akansha singh changes manually * structure update in cert-manager and corednshpa * structure update in cert-manager and corednshpa * Changes of modules and version update * Changes of modules and version update * update structre * kubernetes dashboard terraform addon module * update cert-manager config * solve kuberetes-dashboard ingress error * Modifying addons module and version update of phase1 * update aws-ebs-csi-driver module * update reloader configuration * Updated the module names and corrected local.tf file. * corrected module names which restructuring * albhactically arrange modules * Integrated ingress and private ingress in one module * ingress-nginx logic implemented for private nlb * comment update * add karpenter-provisioner configuration for multiple labels * change order of module names according to alphabatically * Testing for public and private ingress has been done * add keda configuration * corrected pre-commit errors and warnings * fixed the vpc-cni and ebs-csi-driver versions and resource limits * Updated readme.md file * standardized modules and variables * resource limit update keda, cluster-autoscaler, cert-manager * readme.md modified by pre-commit * support for EKS version >=1.28 --------- Co-authored-by: Divyanshu jain <[email protected]> Co-authored-by: Akanksha Singh <[email protected]> * Added KMS key encryption for Karpenter, Version Update for Keda and m… (#35) * Added KMS key encryption for Karpenter, Version Update for Keda and metric-server-vpa along with improving the limit and request of resources * Added comments in main.tf for better understanding * Added comments in main.tf for better understanding * Kubernetes-dashboard improved version --------- Co-authored-by: Akanksha Singh <[email protected]> * Release 3.0.0 Fixes (#36) * Updated some changes * ebs-csi-driver policy addition and version update * efs-csi-driver fixed * Kubernetes-dashboard module depends_on added * cluster autoscaler fixes for 1.30 EKS cluster * Cert-Manager Fixes * Karpenter and Velero changes * added condition for internal ingress * EFS Driver policy updates * Fixed the indentation and comments in velero --------- Co-authored-by: Ankush.upadhyay <[email protected]> Co-authored-by: Akanksha Singh <[email protected]> * Policy update in efs-csi-driver (#39) Co-authored-by: Akanksha Singh <[email protected]> * FIxed coredns HPA bug (#38) * Release 3.0.0 (#40) * Updated example calling module and readme files * Updated example's main.tf file * add nginx-ingress outputs --------- Co-authored-by: AkankshaSquareops <[email protected]> Co-authored-by: Divyanshu jain <[email protected]> Co-authored-by: Akanksha Singh <[email protected]> Co-authored-by: Ankush.upadhyay <[email protected]> Co-authored-by: vinayakops <[email protected]>
1 parent d9fb23f commit 402a6b2

File tree

439 files changed

+8746
-3486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+8746
-3486
lines changed

README.md

Lines changed: 246 additions & 101 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
data "aws_partition" "current" {}
22
data "aws_caller_identity" "current" {}
3-
data "aws_region" "current" {}
43

54
resource "time_sleep" "dataplane" {
65
create_duration = "10s"
76

87
triggers = {
98
data_plane_wait_arn = var.data_plane_wait_arn # this waits for the data plane to be ready
10-
eks_cluster_id = var.eks_cluster_id # this ties it to downstream resources
9+
eks_cluster_id = var.eks_cluster_name # this ties it to downstream resources
1110
}
1211
}
1312

examples/complete/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
1-
# terraform-aws-eks-addons
2-
![squareops_avatar]
1+
# complete
32

4-
[squareops_avatar]: https://squareops.com/wp-content/uploads/2022/12/squareops-logo.png
5-
6-
### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.
7-
<br>
8-
This example is useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.
9-
<br>
103
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
114
## Requirements
125

136
| Name | Version |
147
|------|---------|
158
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
169
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.43.0 |
10+
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | >= 2.0.0 |
1711
| <a name="requirement_kubectl"></a> [kubectl](#requirement\_kubectl) | >= 1.7.0 |
1812
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 2.0.2 |
1913

@@ -50,8 +44,8 @@ No inputs.
5044
| <a name="output_environment"></a> [environment](#output\_environment) | Environment Name for the EKS cluster |
5145
| <a name="output_internal_nginx_ingress_controller_dns_hostname"></a> [internal\_nginx\_ingress\_controller\_dns\_hostname](#output\_internal\_nginx\_ingress\_controller\_dns\_hostname) | DNS hostname of the NGINX Ingress Controller that can be used to access it from within the cluster. |
5246
| <a name="output_istio_ingressgateway_dns_hostname"></a> [istio\_ingressgateway\_dns\_hostname](#output\_istio\_ingressgateway\_dns\_hostname) | DNS hostname of the Istio Ingress Gateway |
53-
| <a name="output_k8s-dashboard-admin-token"></a> [k8s-dashboard-admin-token](#output\_k8s-dashboard-admin-token) | k8s-dashboard admin token |
54-
| <a name="output_k8s-dashboard-read-only-token"></a> [k8s-dashboard-read-only-token](#output\_k8s-dashboard-read-only-token) | k8s-dashboard read only token |
47+
| <a name="output_k8s_dashboard_admin_token"></a> [k8s\_dashboard\_admin\_token](#output\_k8s\_dashboard\_admin\_token) | Kubernetes-Dashboard Admin Token |
48+
| <a name="output_k8s_dashboard_read_only_token"></a> [k8s\_dashboard\_read\_only\_token](#output\_k8s\_dashboard\_read\_only\_token) | Kubernetes-Dashboard Read Only Token |
5549
| <a name="output_kubeclarity"></a> [kubeclarity](#output\_kubeclarity) | Kubeclarity endpoint and credentials |
5650
| <a name="output_kubecost"></a> [kubecost](#output\_kubecost) | Kubecost endpoint and credentials |
5751
| <a name="output_nginx_ingress_controller_dns_hostname"></a> [nginx\_ingress\_controller\_dns\_hostname](#output\_nginx\_ingress\_controller\_dns\_hostname) | DNS hostname of the NGINX Ingress Controller. |
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ resources:
1919
requests:
2020
cpu: 50m
2121
memory: 100Mi
22-
23-
podAnnotations:
24-
co.elastic.logs/enabled: "true"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
resources:
2+
limits:
3+
cpu: 20m
4+
memory: 60Mi
5+
requests:
6+
cpu: 10m
7+
memory: 30Mi
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
extraArgs:
2+
- --enable-certificate-owner-ref=true
3+
4+
crds:
5+
# This option decides if the CRDs should be installed
6+
# as part of the Helm installation.
7+
enabled: true
8+
## Node affinity for particular node in which labels key is "Infra-Services" and value is "true"
9+
10+
affinity:
11+
nodeAffinity:
12+
requiredDuringSchedulingIgnoredDuringExecution:
13+
nodeSelectorTerms:
14+
- matchExpressions:
15+
- key: "Addons-Services"
16+
operator: In
17+
values:
18+
- "true"
19+
20+
resources:
21+
limits:
22+
cpu: 20m
23+
memory: 400Mi
24+
requests:
25+
cpu: 10m
26+
memory: 200Mi
27+
28+
webhook:
29+
affinity:
30+
nodeAffinity:
31+
requiredDuringSchedulingIgnoredDuringExecution:
32+
nodeSelectorTerms:
33+
- matchExpressions:
34+
- key: "Addons-Services"
35+
operator: In
36+
values:
37+
- "true"
38+
39+
resources:
40+
limits:
41+
cpu: 20m
42+
memory: 150Mi
43+
requests:
44+
cpu: 10m
45+
memory: 75Mi
46+
47+
cainjector:
48+
affinity:
49+
nodeAffinity:
50+
requiredDuringSchedulingIgnoredDuringExecution:
51+
nodeSelectorTerms:
52+
- matchExpressions:
53+
- key: "Addons-Services"
54+
operator: In
55+
values:
56+
- "true"
57+
58+
resources:
59+
limits:
60+
cpu: 20m
61+
memory: 480Mi
62+
requests:
63+
cpu: 10m
64+
memory: 240Mi
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Node affinity for particular node in which labels key is "Infra-Services" and value is "true"
2+
3+
affinity:
4+
nodeAffinity:
5+
requiredDuringSchedulingIgnoredDuringExecution:
6+
nodeSelectorTerms:
7+
- matchExpressions:
8+
- key: "Addons-Services"
9+
operator: In
10+
values:
11+
- "true"
12+
13+
## Using limits and requests
14+
15+
resources:
16+
limits:
17+
cpu: 20m
18+
memory: 200Mi
19+
requests:
20+
cpu: 10m
21+
memory: 100Mi
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
affinity:
2+
nodeAffinity:
3+
requiredDuringSchedulingIgnoredDuringExecution:
4+
nodeSelectorTerms:
5+
- matchExpressions:
6+
- key: "Addons-Services"
7+
operator: In
8+
values:
9+
- "true"
10+
11+
resources:
12+
limits:
13+
cpu: 200m
14+
memory: 200Mi
15+
requests:
16+
cpu: 100m
17+
memory: 100Mi
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
controller:
2+
resources:
3+
requests:
4+
cpu: 10m
5+
memory: 40Mi
6+
limits:
7+
cpu: 20m
8+
memory: 80Mi
9+
10+
node:
11+
resources:
12+
requests:
13+
cpu: 10m
14+
memory: 40Mi
15+
limits:
16+
cpu: 20m
17+
memory: 80Mi

modules/external-secret/external-secret.yaml renamed to examples/complete/config/external-secret.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resources:
22
limits:
3-
cpu: 100m
3+
cpu: 20m
44
memory: 100Mi
55
requests:
66
cpu: 10m
@@ -19,7 +19,7 @@ affinity:
1919
webhook:
2020
resources:
2121
limits:
22-
cpu: 100m
22+
cpu: 20m
2323
memory: 100Mi
2424
requests:
2525
cpu: 10m
@@ -38,7 +38,7 @@ webhook:
3838
certController:
3939
resources:
4040
limits:
41-
cpu: 100m
41+
cpu: 20m
4242
memory: 100Mi
4343
requests:
4444
cpu: 10m

0 commit comments

Comments
 (0)