summaryrefslogtreecommitdiffstats
path: root/samples/scenarios/clearwater_ims/yaml/homer-depl.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'samples/scenarios/clearwater_ims/yaml/homer-depl.yaml')
-rw-r--r--samples/scenarios/clearwater_ims/yaml/homer-depl.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/samples/scenarios/clearwater_ims/yaml/homer-depl.yaml b/samples/scenarios/clearwater_ims/yaml/homer-depl.yaml
new file mode 100644
index 0000000..d753241
--- /dev/null
+++ b/samples/scenarios/clearwater_ims/yaml/homer-depl.yaml
@@ -0,0 +1,38 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: homer
+ labels:
+ app: homer
+spec:
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: homer
+ service: homer
+ spec:
+ containers:
+ #- image: "localhost:5000/homer:clearwater/base:latest"
+ - image: "instance-1:5000/clearwater/homer:latest"
+ imagePullPolicy: Always
+ name: homer
+ ports:
+ - containerPort: 22
+ - containerPort: 7888
+ envFrom:
+ - configMapRef:
+ name: env-vars
+ env:
+ - name: MY_POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ livenessProbe:
+ tcpSocket:
+ port: 7888
+ initialDelaySeconds: 30
+ readinessProbe:
+ tcpSocket:
+ port: 7888
+ restartPolicy: Always