apiVersion: apps/v1 kind: Deployment metadata: name: satusehat-worker spec: template: spec: initContainers: - name: wait-satusehat-service image: busybox:1.36 command: - sh - -c - | echo "Waiting for satusehat-service-prod:80..." until nc -z satusehat-service-prod 80; do echo "satusehat-service-prod belum ready, tunggu 3 detik..." sleep 3 done echo "satusehat-service-prod ready."