# Created via Rancher originally — the workload.user.cattle.io selector label # is immutable on the live object; do not change it. apiVersion: apps/v1 kind: Deployment metadata: name: nginx namespace: nginx labels: workload.user.cattle.io/workloadselector: apps.deployment-nginx-nginx spec: replicas: 3 selector: matchLabels: workload.user.cattle.io/workloadselector: apps.deployment-nginx-nginx strategy: type: RollingUpdate rollingUpdate: maxSurge: 25% maxUnavailable: 25% template: metadata: labels: workload.user.cattle.io/workloadselector: apps.deployment-nginx-nginx spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: cpu operator: In values: - arm - key: controller operator: NotIn values: - "true" containers: - name: nginx image: nginx:latest imagePullPolicy: Always ports: - name: http containerPort: 80 protocol: TCP volumeMounts: - name: vol-vnbxq mountPath: /usr/share/nginx/html subPath: www - name: vol-vnbxq mountPath: /etc/nginx/conf subPath: conf - name: vol-vnbxq mountPath: /etc/nginx/conf.d subPath: conf.d volumes: - name: vol-vnbxq persistentVolumeClaim: claimName: nginx