We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d8c8f6 commit 4ba22dcCopy full SHA for 4ba22dc
ansible/group_vars/alpha-api-base.yml
@@ -17,6 +17,8 @@ volume_mounts:
17
path: /etc/ssl/docker
18
kind: configMap
19
20
+http_readiness_probe_port: 80
21
+
22
api_base_container_envs:
23
- name: DOCKER_IMAGE_BUILDER_CACHE
24
value: "/home/anandkumarpatel/cache"
ansible/roles/k8-deployment/templates/deployment.yml
@@ -30,6 +30,14 @@ spec:
30
exec:
31
command: ["/bin/bash", "-c", "{{ post_start_command }}"]
32
{% endif %}
33
+{% if http_readiness_probe_port is defined %}
34
+ readinessProbe:
35
+ httpGet:
36
+ path: /health
37
+ port: {{ http_readiness_probe_port }}
38
+ initialDelaySeconds: 5
39
+ periodSeconds: 5
40
+{% endif %}
41
{% if container_run_args != '' %}
42
args:
43
{% if advance_arg is defined and advance_arg == true %}
0 commit comments