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