Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

use startupProbe instead of readinessProbe for rake-task based containers #110

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 0 additions & 3 deletions templates/api_server_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ spec:
- name: registry-buddy
image: #@ data.values.images.registry_buddy
imagePullPolicy: Always
readinessProbe:
tcpSocket:
port: 8080
volumeMounts:
- name: tmp-packages
mountPath: /tmp/packages
Expand Down
4 changes: 3 additions & 1 deletion templates/clock_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
image: #@ data.values.images.ccng
imagePullPolicy: Always
command: [ "/cnb/process/clock" ]
ports:
- containerPort: 4446
env:
- name: CLOUD_CONTROLLER_NG_CONFIG
value: #@ ccng_config_mount_path
Expand All @@ -41,7 +43,7 @@ spec:
limits:
cpu: 1000m
memory: 1Gi
readinessProbe:
startupProbe:
tcpSocket:
port: 4446
periodSeconds: 3
Expand Down
4 changes: 3 additions & 1 deletion templates/deployment_updater_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
image: #@ data.values.images.ccng
imagePullPolicy: Always
command: [ "/cnb/process/deployment-updater" ]
ports:
- containerPort: 4445
env:
- name: CLOUD_CONTROLLER_NG_CONFIG
value: #@ ccng_config_mount_path
Expand All @@ -41,7 +43,7 @@ spec:
limits:
cpu: 1000m
memory: 1Gi
readinessProbe:
startupProbe:
tcpSocket:
port: 4445
periodSeconds: 3
Expand Down
7 changes: 3 additions & 4 deletions templates/worker_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
image: #@ data.values.images.ccng
imagePullPolicy: Always
command: [ "/cnb/process/api-worker" ]
ports:
- containerPort: 4444
env:
- name: CLOUD_CONTROLLER_NG_CONFIG
value: #@ ccng_config_mount_path
Expand All @@ -37,7 +39,7 @@ spec:
limits:
cpu: 1000m
memory: 1Gi
readinessProbe:
startupProbe:
tcpSocket:
port: 4444
periodSeconds: 3
Expand All @@ -52,9 +54,6 @@ spec:
- name: registry-buddy
image: #@ data.values.images.registry_buddy
imagePullPolicy: Always
readinessProbe:
tcpSocket:
port: 8080
env:
- name: REGISTRY_USERNAME
valueFrom:
Expand Down