Skip to content

Commit c64d880

Browse files
Update efa device plugin daemonset config (#1245)
* Update efa plugin config * update image tag * update readme * update readme
1 parent d075655 commit c64d880

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

stable/aws-efa-k8s-device-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: aws-efa-k8s-device-plugin
33
description: A Helm chart for EFA device plugin.
4-
version: v0.5.15
5-
appVersion: "v0.5.8"
4+
version: v0.5.16
5+
appVersion: "v0.5.9"
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

stable/aws-efa-k8s-device-plugin/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ Parameter | Description | Default
2323
--- | --- | ---
2424
`image.repository` | EFA image repository | `602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/aws-efa-k8s-device-plugin`
2525
`image.tag` | EFA image tag | `v0.5.8`
26-
`securityContext.allowPrivilegeEscalation` | Controls whether a process can gain more privilege than its parent process | `false`
27-
`securityContext` | EFA plugin security context | `capabilities: drop: ["ALL"] runAsNonRoot: false`
26+
`securityContext` | EFA plugin security context | `allowPrivilegeEscalation: true, privileged: true, runAsNonRoot: false, runAsUser: 0`
2827
`supportedInstanceLabels.keys` | Kubernetes key to interpret as instance type | `nodes.kubernetes.io/instance-type`
2928
`supportedInstanceLabels.values` | List of instances which currently support EFA devices | `see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-instance-types`
3029
`resources` | Resources for containers in pod | `requests.cpu: 10m requests.memory: 20Mi`

stable/aws-efa-k8s-device-plugin/templates/daemonset.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,16 @@ spec:
7474
mountPath: /var/lib/kubelet/device-plugins
7575
- name: infiniband-volume
7676
mountPath: /dev/infiniband/
77+
- name: neuron-tools
78+
mountPath: /opt/aws/neuron/
7779
volumes:
7880
- name: device-plugin
7981
hostPath:
8082
path: /var/lib/kubelet/device-plugins
8183
- name: infiniband-volume
8284
hostPath:
83-
path: /dev/infiniband/
85+
path: /dev/infiniband/
86+
- name: neuron-tools
87+
hostPath:
88+
path: /opt/aws/neuron/
89+
type: DirectoryOrCreate

stable/aws-efa-k8s-device-plugin/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
image:
22
repository: 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/aws-efa-k8s-device-plugin
33
# Overrides the image tag whose default is the chart appVersion.
4-
tag: "v0.5.8"
4+
tag: "v0.5.9"
55
securityContext:
6-
allowPrivilegeEscalation: false
7-
capabilities:
8-
drop: ["ALL"]
6+
allowPrivilegeEscalation: true
7+
privileged: true
98
runAsNonRoot: false
9+
runAsUser: 0
1010
supportedInstanceLabels: # EFA supported instances: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-instance-types
1111
keys:
1212
- "node.kubernetes.io/instance-type"

0 commit comments

Comments
 (0)