From 9ad3b0b603890d8b52cca3e87fa37b4b9b1515ee Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Sat, 19 Aug 2017 21:35:08 -0700 Subject: [PATCH] Create 5-6-kuard-pod-full.yaml --- 5-6-kuard-pod-full.yaml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 5-6-kuard-pod-full.yaml diff --git a/5-6-kuard-pod-full.yaml b/5-6-kuard-pod-full.yaml new file mode 100644 index 0000000..a013162 --- /dev/null +++ b/5-6-kuard-pod-full.yaml @@ -0,0 +1,43 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kuard +spec: + volumes: + - name: "kuard-data" + nfs: + server: my.nfs.server.local + path: "/exports" + containers: + - image: gcr.io/kuar-demo/kuard-amd64:1 + name: kuard + ports: + - containerPort: 8080 + name: http + protocol: TCP + resources: + requests: + cpu: "500m" + memory: "128Mi" + limits: + cpu: "1000m" + memory: "256Mi" + volumeMounts: + - mountPath: "/data" + name: "kuard-data" + livenessProbe: + httpGet: + path: /healthy + port: 8080 + initialDelaySeconds: 5 + timeoutSeconds: 1 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /ready + port: 8080 + initialDelaySeconds: 30 + timeoutSeconds: 1 + periodSeconds: 10 + failureThreshold: 3