From a38257c62071f7ec8fb47451d0211f0fffbb9acd Mon Sep 17 00:00:00 2001 From: zitudu Date: Thu, 20 Jul 2023 17:21:56 +0800 Subject: [PATCH] Add doc of additionalArgs --- charts/aws-ebs-csi-driver/values.yaml | 8 ++++++++ docs/install.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index e20f57e3e8..07524c1d48 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -21,6 +21,7 @@ sidecars: repository: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner tag: "v3.5.0-eks-1-27-7" logLevel: 2 + # Additional parameters provided by aws-ebs-csi-driver. additionalArgs: [] resources: {} # Tune leader lease election for csi-provisioner. @@ -53,6 +54,7 @@ sidecars: # renewDeadline: "10s" # retryPeriod: "5s" logLevel: 2 + # Additional parameters provided by external-attacher. additionalArgs: [] resources: {} securityContext: @@ -67,6 +69,7 @@ sidecars: repository: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter tag: "v6.2.2-eks-1-27-7" logLevel: 2 + # Additional parameters provided by csi-snapshotter. additionalArgs: [] resources: {} securityContext: @@ -77,6 +80,7 @@ sidecars: pullPolicy: IfNotPresent repository: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe tag: "v2.10.0-eks-1-27-7" + # Additional parameters provided by livenessprobe. additionalArgs: [] resources: {} securityContext: @@ -99,6 +103,7 @@ sidecars: # renewDeadline: "10s" # retryPeriod: "5s" logLevel: 2 + # Additional parameters provided by external-resizer. additionalArgs: [] resources: {} securityContext: @@ -111,6 +116,7 @@ sidecars: repository: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar tag: "v2.8.0-eks-1-27-7" logLevel: 2 + # Additional parameters provided by node-driver-registrar. additionalArgs: [] resources: {} securityContext: @@ -131,6 +137,7 @@ sidecars: # renewDeadline: "10s" # retryPeriod: "5s" logLevel: 2 + # Additional parameters provided by volume-modifier-for-k8s. additionalArgs: [] resources: {} securityContext: @@ -153,6 +160,7 @@ awsAccessSecret: controller: volumeModificationFeature: enabled: false + # Additional parameters provided by external-provisioner. additionalArgs: [] sdkDebugLog: false loggingFormat: text diff --git a/docs/install.md b/docs/install.md index 6bb1eb4470..db4aa73a9c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -72,6 +72,8 @@ helm upgrade --install aws-ebs-csi-driver \ ``` Review the [configuration values](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/charts/aws-ebs-csi-driver/values.yaml) for the Helm chart. +For each container (including the controller, node, and sidecars), there is an `additionalArgs` that accepts arguments that are not explicitly specified, such as `--retry-interval-start`, `--retry-interval-max` and +`--timeout` that provisioner and attacher provides, or `--kube-api-burst`, `--kube-api-qps` etc. #### Once the driver has been deployed, verify the pods are running: ```sh