-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from yuvraj-squareops1/main
Added support for IPv6 and add AWS load balancer controller to support externally created load balancer in EKS
- Loading branch information
Showing
15 changed files
with
237 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
controller: | ||
kind: Deployment | ||
service: | ||
enabled: true | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-type: external | ||
service.beta.kubernetes.io/aws-load-balancer-internal: "true" | ||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp | ||
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip | ||
service.beta.kubernetes.io/aws-load-balancer-ip-address-type: dualstack | ||
externalTrafficPolicy: Cluster | ||
ipFamilies: | ||
- IPv6 | ||
ipFamilyPolicy: PreferDualStack | ||
internal: | ||
enabled: false | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-type: nlb | ||
service.beta.kubernetes.io/aws-load-balancer-internal: "true" | ||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp | ||
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip | ||
service.beta.kubernetes.io/aws-load-balancer-ip-address-type: dualstack | ||
ingressClass: internal-nginx | ||
ingressClassResource: | ||
enabled: true | ||
name: internal-nginx | ||
ingressClass: internal-nginx | ||
|
||
|
||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 750Mi | ||
requests: | ||
cpu: 50m | ||
memory: 200Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 2 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 80 | ||
targetMemoryUtilizationPercentage: 80 | ||
podAnnotations: | ||
co.elastic.logs/enabled: "true" | ||
co.elastic.logs/module: nginx | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: app.kubernetes.io/name | ||
operator: In | ||
values: | ||
- ingress-nginx | ||
- key: app.kubernetes.io/instance | ||
operator: In | ||
values: | ||
- ingress-nginx | ||
- key: app.kubernetes.io/component | ||
operator: In | ||
values: | ||
- controller | ||
topologyKey: "kubernetes.io/hostname" | ||
|
||
|
||
|
||
|
||
|
||
## Enabling metrics for prometheus monitoring | ||
|
||
metrics: | ||
enabled: ${enable_service_monitor} | ||
serviceMonitor: | ||
enabled: true | ||
additionalLabels: | ||
release: "prometheus-operator" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
addons/karpenter_provisioner/karpenter-provisioner/ipv4-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
subnet_selector_name: "${subnet_selector_name}" | ||
sg_selector_name: "${sg_selector_name}" | ||
karpenter_ec2_capacity_type: "${karpenter_ec2_capacity_type}" | ||
excluded_karpenter_ec2_instance_type: "${excluded_karpenter_ec2_instance_type}" |
5 changes: 5 additions & 0 deletions
5
addons/karpenter_provisioner/karpenter-provisioner/ipv6-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
subnet_selector_name: "${subnet_selector_name}" | ||
sg_selector_name: "${sg_selector_name}" | ||
karpenter_ec2_capacity_type: "${karpenter_ec2_capacity_type}" | ||
excluded_karpenter_ec2_instance_type: "${excluded_karpenter_ec2_instance_type}" | ||
karpenter_instance_hypervisor: "${instance_hypervisor}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
## Set kind to DaemonSet so no affinity is assigned to it | ||
|
||
controller: | ||
kind: Deployment | ||
service: | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-type: external | ||
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip | ||
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing | ||
service.beta.kubernetes.io/aws-load-balancer-ip-address-type: dualstack | ||
externalTrafficPolicy: Cluster | ||
ipFamilies: | ||
- IPv6 | ||
ipFamilyPolicy: PreferDualStack | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 750Mi | ||
requests: | ||
cpu: 50m | ||
memory: 200Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 2 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 80 | ||
targetMemoryUtilizationPercentage: 80 | ||
podAnnotations: | ||
co.elastic.logs/enabled: "true" | ||
co.elastic.logs/module: nginx | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: app.kubernetes.io/name | ||
operator: In | ||
values: | ||
- ingress-nginx | ||
- key: app.kubernetes.io/instance | ||
operator: In | ||
values: | ||
- ingress-nginx | ||
- key: app.kubernetes.io/component | ||
operator: In | ||
values: | ||
- controller | ||
topologyKey: "kubernetes.io/hostname" | ||
|
||
|
||
|
||
## Enabling metrics for prometheus monitoring | ||
|
||
metrics: | ||
enabled: ${enable_service_monitor} | ||
serviceMonitor: | ||
enabled: true | ||
additionalLabels: | ||
release: "prometheus-operator" |
Oops, something went wrong.