apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "2" manager: kube-controller-manager operation: Update name: fsx-csi-controller namespace: kube-system spec: progressDeadlineSeconds: 600 replicas: 2 revisionHistoryLimit: 10 selector: matchLabels: app: fsx-csi-controller strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: creationTimestamp: null labels: app: fsx-csi-controller spec: containers: - args: - --endpoint=$(CSI_ENDPOINT) - --logtostderr - --v=5 env: - name: CSI_ENDPOINT value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock - name: AWS_ACCESS_KEY_ID valueFrom: secretKeyRef: key: key_id name: aws-secret optional: true - name: AWS_SECRET_ACCESS_KEY valueFrom: secretKeyRef: key: access_key name: aws-secret optional: true image: amazon/aws-fsx-csi-driver:latest imagePullPolicy: IfNotPresent name: fsx-plugin resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/lib/csi/sockets/pluginproxy/ name: socket-dir - args: - --timeout=5m - --csi-address=$(ADDRESS) - --v=5 - --enable-leader-election - --leader-election-type=leases env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock image: quay.io/k8scsi/csi-provisioner:v1.3.0 imagePullPolicy: IfNotPresent name: csi-provisioner resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/lib/csi/sockets/pluginproxy/ name: socket-dir dnsPolicy: ClusterFirst nodeSelector: kubernetes.io/arch: amd64 kubernetes.io/os: linux beta.kubernetes.io/instance-type: p3dn.24xlarge priorityClassName: system-cluster-critical restartPolicy: Always schedulerName: default-scheduler securityContext: {} serviceAccount: fsx-csi-controller-sa serviceAccountName: fsx-csi-controller-sa terminationGracePeriodSeconds: 30 tolerations: - key: CriticalAddonsOnly operator: Exists volumes: - emptyDir: {} name: socket-dir