Only one replica and always pull flask_hello
Change-Id: I8478dbb6f31c50c00fc44a39140758cc6bf616c9
diff --git a/kubernetes/control/flask_hello.yml b/kubernetes/control/flask_hello.yml
index e743dd0..f7b41e5 100644
--- a/kubernetes/control/flask_hello.yml
+++ b/kubernetes/control/flask_hello.yml
@@ -11,7 +11,7 @@
cluster: flask-hello
role: server
type: LoadBalancer
- replicas: 3
+ replicas: 1
kind: Deployment
apiVersion: extensions/v1beta1
ports:
@@ -20,6 +20,7 @@
container:
flask-hello:
image: ${_param:cicd_control_address}:5000/tcpcloud/python-flask-hello
+ image_pull_policy: Always
ports:
- port: 5000
name: flask-hello