From 8d73dc704e28db7b8553ec8e6b4511092f1c0351 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Fri, 18 Oct 2024 16:28:40 -0500 Subject: [PATCH] Use a different healthcheck port for CSI controller deployment vs daemonset This avoids port conflicts when both run as hostNetwork --- .../aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upup/models/cloudup/resources/addons/aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template b/upup/models/cloudup/resources/addons/aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template index 4df4e65730375..7f00cab4fcd3a 100644 --- a/upup/models/cloudup/resources/addons/aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template +++ b/upup/models/cloudup/resources/addons/aws-ebs-csi-driver.addons.k8s.io/k8s-1.17.yaml.template @@ -741,7 +741,7 @@ spec: mountPath: /var/lib/csi/sockets/pluginproxy/ ports: - name: healthz - containerPort: 9808 + containerPort: 9809 protocol: TCP - name: metrics containerPort: 3301 @@ -932,6 +932,7 @@ spec: imagePullPolicy: IfNotPresent args: - --csi-address=/csi/csi.sock + - --http-endpoint=0.0.0.0:9809 volumeMounts: - name: socket-dir mountPath: /csi