Skip to content

Commit 1b0b017

Browse files
author
Myztiq
committed
http -> tcp
1 parent 4ba22dc commit 1b0b017

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ansible/group_vars/alpha-api-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ volume_mounts:
1717
path: /etc/ssl/docker
1818
kind: configMap
1919

20-
http_readiness_probe_port: 80
20+
tcp_readiness_probe_port: 80
2121

2222
api_base_container_envs:
2323
- name: DOCKER_IMAGE_BUILDER_CACHE

ansible/roles/k8-deployment/templates/deployment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ spec:
3030
exec:
3131
command: ["/bin/bash", "-c", "{{ post_start_command }}"]
3232
{% endif %}
33-
{% if http_readiness_probe_port is defined %}
33+
{% if tcp_readiness_probe_port is defined %}
3434
readinessProbe:
35-
httpGet:
36-
path: /health
35+
tcpSocket:
3736
port: {{ http_readiness_probe_port }}
3837
initialDelaySeconds: 5
3938
periodSeconds: 5

0 commit comments

Comments
 (0)