github.com/vshn/k8ify@v1.1.2-0.20240502214202-6c9ed3ef0bf4/tests/golden/expose-plain/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: 8888 42 timeoutSeconds: 60 43 name: nginx-oasp 44 ports: 45 - containerPort: 8888 46 - containerPort: 8080 47 - containerPort: 8443 48 - containerPort: 2222 49 - containerPort: 2221 50 resources: {} 51 startupProbe: 52 failureThreshold: 30 53 periodSeconds: 10 54 successThreshold: 1 55 tcpSocket: 56 port: 8888 57 timeoutSeconds: 60 58 restartPolicy: Always 59 status: {}