aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTy Davis <tydavis@gmail.com>2016-06-02 09:47:28 -0700
committerTy Davis <tydavis@gmail.com>2016-06-02 09:47:28 -0700
commit4a11d2601ebf9fb68509af6661c14108fec32028 (patch)
tree9224de0777baa31ab5aaa30540922dc667d3cfbc
parent0ff32223a8856a70c4113420baf284f97a9c719e (diff)
downloadshow-readiness-4a11d2601ebf9fb68509af6661c14108fec32028.tar.gz
show-readiness-4a11d2601ebf9fb68509af6661c14108fec32028.zip
Fix port switcheroo
-rw-r--r--kubernetes/deployment.yaml4
-rw-r--r--kubernetes/service.yaml4
2 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/deployment.yaml b/kubernetes/deployment.yaml
index 6f22adb..7cb9ce0 100644
--- a/kubernetes/deployment.yaml
+++ b/kubernetes/deployment.yaml
@@ -17,14 +17,14 @@ spec:
path: /ping
port: 80
scheme: HTTP
- initialDelaySeconds: 15
+ initialDelaySeconds: 10
timeoutSeconds: 2
readinessProbe:
httpGet:
path: /ready
port: 80
scheme: HTTP
- initialDelaySeconds: 10
+ initialDelaySeconds: 12
timeoutSeconds: 1
resources:
requests:
diff --git a/kubernetes/service.yaml b/kubernetes/service.yaml
index 81d7681..73cfe2e 100644
--- a/kubernetes/service.yaml
+++ b/kubernetes/service.yaml
@@ -9,8 +9,8 @@ spec:
sessionAffinity: None
ports:
- name: showreadiness
- port: 6080 # External Port
- targetPort: 80 # Port inside the service
+ port: 80 # Internal Port
+ targetPort: 6080 # External port
protocol: TCP
selector:
app: showreadiness