Skip to content

Commit

Permalink
deprecated healthcheck port and now use http port
Browse files Browse the repository at this point in the history
  • Loading branch information
sredxny committed May 2, 2024
1 parent 5184028 commit b9f52bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/tyk-mdcb/templates/deployment-mdcb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ spec:
env:
- name: TYK_MDCB_LISTENPORT
value: "{{ .Values.mdcb.listenPort }}"
- name: TYK_MDCB_HEALTHCHECKPORT
value: "{{ .Values.mdcb.probes.healthCheckPort }}"
- name: TYK_MDCB_HTTPPORT
value: "{{ .Values.mdcb.probes.httpPort }}"
- name: TYK_MDCB_STORAGE_TYPE
value: "redis"
- name: TYK_MDCB_STORAGE_ENABLECLUSTER
Expand Down
4 changes: 2 additions & 2 deletions components/tyk-mdcb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ mdcb:
probes:
# This port lets MDCB allow standard health checks.
# It also defines the path for liveness and readiness probes.
# It is used to set TYK_MDCB_HEALTHCHECKPORT
healthCheckPort: 8181
# It is used to set TYK_MDCB_HTTPPORT
httpPort: 8181
# liveness includes details about liveness probe used in MDCB Deployment.
liveness:
# path represents the http path to be used in liveness probe in MDBC deployment.
Expand Down
5 changes: 2 additions & 3 deletions tyk-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,12 +1102,11 @@ tyk-mdcb:

# If enabled, aggregate data will be generated per minute.
storeAnalyticsPerMinute: true

probes:
# This port lets MDCB allow standard health checks.
# It also defines the path for liveness and readiness probes.
# It is used to set TYK_MDCB_HEALTHCHECKPORT
healthCheckPort: 8181
# It is used to set TYK_MDCB_HTTPPORT
httpPort: 8181
# liveness includes details about liveness probe used in MDCB Deployment.
liveness:
# path represents the http path to be used in liveness probe in MDBC deployment.
Expand Down

0 comments on commit b9f52bd

Please sign in to comment.