github.com/operator-framework/operator-lifecycle-manager@v0.30.0/pkg/controller/operators/testdata/fixtures/deployment.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: foo 5 namespace: bar 6 spec: 7 progressDeadlineSeconds: 600 8 replicas: 2 9 revisionHistoryLimit: 10 10 selector: 11 matchLabels: 12 foo: bar 13 strategy: 14 rollingUpdate: 15 maxSurge: 25% 16 maxUnavailable: 1 17 type: RollingUpdate 18 template: 19 metadata: 20 labels: 21 foo: bar 22 spec: 23 containers: 24 - args: 25 - --bar 26 image: my.registry/foo/bar:v1.0.0 27 imagePullPolicy: IfNotPresent 28 livenessProbe: 29 failureThreshold: 5 30 httpGet: 31 path: /health 32 port: 8080 33 scheme: HTTP 34 initialDelaySeconds: 60 35 periodSeconds: 10 36 successThreshold: 1 37 timeoutSeconds: 5 38 name: foo 39 ports: 40 - containerPort: 53 41 name: dns 42 protocol: UDP 43 - containerPort: 53 44 name: dns-tcp 45 protocol: TCP 46 - containerPort: 9153 47 name: metrics 48 protocol: TCP 49 readinessProbe: 50 failureThreshold: 3 51 httpGet: 52 path: /ready 53 port: 8181 54 scheme: HTTP 55 periodSeconds: 10 56 successThreshold: 1 57 timeoutSeconds: 1 58 resources: 59 limits: 60 memory: 170Mi 61 requests: 62 cpu: 100m 63 memory: 70Mi 64 terminationMessagePath: /dev/termination-log 65 terminationMessagePolicy: File 66 dnsPolicy: Default 67 nodeSelector: 68 kubernetes.io/os: linux 69 restartPolicy: Always 70 serviceAccount: foo 71 terminationGracePeriodSeconds: 30 72