github.com/vshn/k8ify@v1.1.2-0.20240502214202-6c9ed3ef0bf4/tests/golden/poddisruptionbudget/manifests/nginx-oasp-deployment.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 creationTimestamp: null 5 labels: 6 k8ify.ref-slug: oasp 7 k8ify.service: nginx 8 name: nginx-oasp 9 spec: 10 replicas: 2 11 selector: 12 matchLabels: 13 k8ify.ref-slug: oasp 14 k8ify.service: nginx 15 strategy: 16 type: Recreate 17 template: 18 metadata: 19 creationTimestamp: null 20 labels: 21 k8ify.ref-slug: oasp 22 k8ify.service: nginx 23 spec: 24 affinity: 25 podAntiAffinity: 26 requiredDuringSchedulingIgnoredDuringExecution: 27 - labelSelector: 28 matchExpressions: 29 - key: k8ify.service 30 operator: In 31 values: 32 - nginx 33 topologyKey: kubernetes.io/hostname 34 containers: 35 - image: docker.io/library/nginx 36 imagePullPolicy: Always 37 livenessProbe: 38 failureThreshold: 3 39 periodSeconds: 30 40 successThreshold: 1 41 tcpSocket: 42 port: 80 43 timeoutSeconds: 60 44 name: nginx-oasp 45 ports: 46 - containerPort: 80 47 resources: {} 48 startupProbe: 49 failureThreshold: 30 50 periodSeconds: 10 51 successThreshold: 1 52 tcpSocket: 53 port: 80 54 timeoutSeconds: 60 55 restartPolicy: Always 56 status: {}