Skip to content

Commit eae23b5

Browse files
committed
add startup probe
1 parent 81089db commit eae23b5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/scripts/deploy_busola.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' ingress/busola
3838
IP=$(kubectl get ingress busola -ojson | jq .status.loadBalancer.ingress[].ip | tr -d '/"')
3939
echo "IP address: ${IP}"
4040

41-
# check if busola is available with curl
42-
curl --fail "${IP}"
43-
4441
if [[ ! -z "${GITHUB_OUTPUT:-}" ]]; then
4542
echo "IP=${IP}" >> "${GITHUB_OUTPUT}"
4643
echo "IP saved"

resources/base/busola/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ spec:
3434
memory: 21Mi
3535
ports:
3636
- containerPort: 3001
37+
startupProbe:
38+
httpGet:
39+
port: 3001
40+
path: /
3741
volumes:
3842
- name: config
3943
configMap:

0 commit comments

Comments
 (0)