Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.28
version: 0.2.29

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The command removes all the Kubernetes components associated with the chart and
| api7ee.disable_upstream_healthcheck | bool | `false` | A global switch for healthcheck. Defaults to false. When set to true, it overrides all upstream healthcheck configurations and globally disabling healthchecks. |
| api7ee.healthcheck_report_interval | int | `120` | healthcheck data report interval in seconds |
| api7ee.status_endpoint.enabled | bool | `false` | When enabled, APISIX will provide `/status` and `/status/ready` endpoints, /status endpoint will return 200 status code if APISIX has successfully started and running correctly, /status/ready endpoint will return 503 status code if none of the configured etcd (dp_manager) are available. |
| api7ee.status_endpoint.ip | string | `"127.0.0.1"` | The IP address and port on which the status endpoint will listen. |
| api7ee.status_endpoint.ip | string | `"0.0.0.0"` | The IP address and port on which the status endpoint will listen. |
| api7ee.status_endpoint.port | int | `7085` | The port on which the status endpoint will listen. |
| api7ee.telemetry.enable | bool | `true` | enable telemetry data report to the control plane |
| api7ee.telemetry.interval | int | `15` | interval in seconds to send telemetry data to the control plane |
Expand Down
5 changes: 5 additions & 0 deletions charts/gateway/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ spec:
containerPort: {{ .Values.serviceMonitor.containerPort }}
protocol: TCP
{{- end }}
{{- if .Values.api7ee.status_endpoint.enabled }}
- name: status
containerPort: {{ .Values.api7ee.status_endpoint.port }}
protocol: TCP
{{- end }}
{{- if and .Values.gateway.stream.enabled (or (gt (len .Values.gateway.stream.tcp) 0) (gt (len .Values.gateway.stream.udp) 0)) }}
{{- with .Values.gateway.stream }}
{{- if (gt (len .tcp) 0) }}
Expand Down
6 changes: 6 additions & 0 deletions charts/gateway/templates/service-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
targetPort: {{ .Values.serviceMonitor.containerPort }}
protocol: TCP
{{- end }}
{{- if .Values.api7ee.status_endpoint.enabled }}
- name: status
port: {{ .Values.api7ee.status_endpoint.port }}
targetPort: status
protocol: TCP
{{- end }}
{{- if and .Values.gateway.stream.enabled (or (gt (len .Values.gateway.stream.tcp) 0) (gt (len .Values.gateway.stream.udp) 0)) }}
{{- with .Values.gateway.stream }}
{{- if (gt (len .tcp) 0) }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ api7ee:
# -- When enabled, APISIX will provide `/status` and `/status/ready` endpoints, /status endpoint will return 200 status code if APISIX has successfully started and running correctly, /status/ready endpoint will return 503 status code if none of the configured etcd (dp_manager) are available.
enabled: false
# -- The IP address and port on which the status endpoint will listen.
ip: 127.0.0.1
ip: 0.0.0.0
# -- The port on which the status endpoint will listen.
port: 7085

Expand Down
Loading