diff options
author | Ty Davis <tydavis@gmail.com> | 2016-06-02 09:47:28 -0700 |
---|---|---|
committer | Ty Davis <tydavis@gmail.com> | 2016-06-02 09:47:28 -0700 |
commit | 4a11d2601ebf9fb68509af6661c14108fec32028 (patch) | |
tree | 9224de0777baa31ab5aaa30540922dc667d3cfbc | |
parent | 0ff32223a8856a70c4113420baf284f97a9c719e (diff) | |
download | show-readiness-4a11d2601ebf9fb68509af6661c14108fec32028.tar.gz show-readiness-4a11d2601ebf9fb68509af6661c14108fec32028.zip |
Fix port switcheroo
-rw-r--r-- | kubernetes/deployment.yaml | 4 | ||||
-rw-r--r-- | kubernetes/service.yaml | 4 |
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 |