diff --git a/manifests/kuard-liveness.yaml b/manifests/kuard-liveness.yaml new file mode 100644 index 0000000..05bd6ae --- /dev/null +++ b/manifests/kuard-liveness.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kuard +spec: + containers: + - image: gcr.io/kuar-demo/kuard-amd64:blue + name: kuard + livenessProbe: + httpGet: + path: /healthy + port: 8080 + initialDelaySeconds: 5 + timeoutSeconds: 1 + periodSeconds: 10 + failureThreshold: 3 + ports: + - containerPort: 8080 + name: http + protocol: TCP + diff --git a/manifests/kuard-pod.yaml b/manifests/kuard-pod.yaml new file mode 100644 index 0000000..800fbcd --- /dev/null +++ b/manifests/kuard-pod.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kaurd +spec: + containers: + - image: gcr.io/kuar-demo/kuard-amd64:blue + name: kuard + ports: + - containerPort: 8080 + name: http + protocol: TCP + diff --git a/manifests/kuard-resrq.yaml b/manifests/kuard-resrq.yaml new file mode 100644 index 0000000..bcc5024 --- /dev/null +++ b/manifests/kuard-resrq.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kuard +spec: + containers: + - image: gcr.io/kuar-demo/kuard-amd64:blue + name: kuard + resources: + requests: + cpu: "500m" + memory: "128Mi" + limits: + cpu: "1000m" + memory: "256Mi" + livenessProbe: + httpGet: + path: /healthy + port: 8080 + initialDelaySeconds: 5 + timeoutSeconds: 1 + periodSeconds: 10 + failureThreshold: 3 + ports: + - containerPort: 8080 + name: http + protocol: TCP +