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.
2 parents 2149856 + 35ac3c8 commit 5fda823Copy full SHA for 5fda823
ansible/group_vars/alpha-api-base.yml
@@ -17,6 +17,8 @@ volume_mounts:
17
path: /etc/ssl/docker
18
kind: configMap
19
20
+tcp_readiness_probe_port: "{{ api_port }}"
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,13 @@ spec:
30
exec:
31
command: ["/bin/bash", "-c", "{{ post_start_command }}"]
32
{% endif %}
33
+{% if tcp_readiness_probe_port is defined %}
34
+ readinessProbe:
35
+ tcpSocket:
36
+ port: {{ tcp_readiness_probe_port }}
37
+ initialDelaySeconds: 5
38
+ periodSeconds: 5
39
+{% endif %}
40
{% if container_run_args != '' %}
41
args:
42
{% if advance_arg is defined and advance_arg == true %}
0 commit comments