github.com/vshn/k8ify@v1.1.2-0.20240502214202-6c9ed3ef0bf4/tests/golden/demo/manifests/portal-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: portal 8 name: portal-oasp 9 spec: 10 replicas: 2 11 selector: 12 matchLabels: 13 k8ify.ref-slug: oasp 14 k8ify.service: portal 15 strategy: 16 type: Recreate 17 template: 18 metadata: 19 creationTimestamp: null 20 labels: 21 k8ify.ref-slug: oasp 22 k8ify.service: portal 23 spec: 24 affinity: 25 podAntiAffinity: 26 requiredDuringSchedulingIgnoredDuringExecution: 27 - labelSelector: 28 matchExpressions: 29 - key: k8ify.service 30 operator: In 31 values: 32 - portal 33 topologyKey: kubernetes.io/hostname 34 containers: 35 - args: 36 - Hello World 37 - and hi k8ify! 38 command: 39 - echo 40 envFrom: 41 - secretRef: 42 name: portal-oasp-env 43 image: image-registry.openshift-image-registry.svc:5000/portal/portal:latest 44 imagePullPolicy: Always 45 livenessProbe: 46 failureThreshold: 3 47 httpGet: 48 path: /health/alive 49 port: 8000 50 scheme: HTTP 51 periodSeconds: 30 52 successThreshold: 1 53 timeoutSeconds: 60 54 name: portal-oasp 55 ports: 56 - containerPort: 8000 57 - containerPort: 9000 58 readinessProbe: 59 failureThreshold: 4 60 httpGet: 61 path: /health/ready 62 port: 8000 63 scheme: HTTPS 64 initialDelaySeconds: 5 65 periodSeconds: 31 66 successThreshold: 2 67 timeoutSeconds: 59 68 resources: 69 limits: 70 cpu: "1" 71 memory: 2Gi 72 requests: 73 cpu: 100m 74 memory: 2Gi 75 startupProbe: 76 failureThreshold: 30 77 httpGet: 78 path: /health/started 79 port: 8000 80 scheme: HTTP 81 periodSeconds: 10 82 successThreshold: 1 83 timeoutSeconds: 60 84 restartPolicy: Always 85 serviceAccountName: portalk8saccess 86 status: {}