Skip to content

Commit b44633a

Browse files
authored
feat(chart) : add RuntimeClassName (#3646)
* add RuntimeClassName * fixed /test pull-aws-load-balancer-controller-e2e-test * fixed helm syntax error * fixed Conflicting files
1 parent 4ffee8d commit b44633a

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

helm/aws-load-balancer-controller/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ Chart release v1.2.0 and later enables high availability configuration by defaul
178178
The following tables lists the configurable parameters of the chart and their default values.
179179
The default values set by the application itself can be confirmed [here](https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/deploy/configurations/#controller-configuration-options).
180180

181+
181182
| Parameter | Description | Default |
182183
|------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
183184
| `image.repository` | image repository | `public.ecr.aws/eks/aws-load-balancer-controller` |
@@ -272,4 +273,5 @@ The default values set by the application itself can be confirmed [here](https:/
272273
| `serviceMutatorWebhookConfig.operations` | List of operations that will trigger the the Service Mutator webhook | `[ CREATE ]` |
273274
| `autoscaling` | If `autoscaling.enabled=true`, enable the HPA on the controller mainly to survive load induced failure by the calls to the `aws-load-balancer-webhook-service`. Please keep in mind that the controller pods have `priorityClassName: system-cluster-critical`, enabling HPA may lead to the eviction of other low-priority pods in the node | `false` |
274275
| `serviceTargetENISGTags` | set of `key=value` pairs of AWS tags in addition to cluster name for finding the target ENI security group to which to add inbound rules from NLBs | None |
275-
| `loadBalancerClass` | Sets the AWS load balancer type to be used when the Kubernetes service requests an external load balancer | `service.k8s.aws/nlb` |
276+
| `loadBalancerClass` | Sets the AWS load balancer type to be used when the Kubernetes service requests an external load balancer | `service.k8s.aws/nlb` |
277+
| `runtimeClassName` | Runtime class name for the controller pods , such as `gvisor` or `kata`. An unspecified `nil` or empty `""` RuntimeClassName is equivalent to the backwards-compatible default behavior as if the RuntimeClass feature is disabled. | "" |

helm/aws-load-balancer-controller/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ spec:
3838
{{- with .Values.imagePullSecrets }}
3939
imagePullSecrets:
4040
{{- toYaml . | nindent 8 }}
41+
{{- end }}
42+
{{- with .Values.runtimeClassName }}
43+
runtimeClassName: {{ .Values.runtimeClassName }}
4144
{{- end }}
4245
serviceAccountName: {{ include "aws-load-balancer-controller.serviceAccountName" . }}
4346
volumes:

helm/aws-load-balancer-controller/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ image:
1212
imagePullSecrets: []
1313
nameOverride: ""
1414
fullnameOverride: ""
15+
runtimeClassName: ""
1516

1617
serviceAccount:
1718
# Specifies whether a service account should be created

helm/aws-load-balancer-controller/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ image:
1111
tag: v2.7.0
1212
pullPolicy: IfNotPresent
1313

14+
runtimeClassName: ""
1415
imagePullSecrets: []
1516
nameOverride: ""
1617
fullnameOverride: ""

0 commit comments

Comments
 (0)