Compare commits

..

3 commits

Author SHA1 Message Date
58962ae5f9 KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize 588 (done automagically via Drone pipeline)
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-02 10:27:45 +00:00
83cd96ffa0
fix drone pipeline for alternative (staging) branches
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-02 11:27:33 +01:00
867899db7e
add liveness probe to dashboard
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-02 11:23:21 +01:00
3 changed files with 13 additions and 1 deletions

View file

@ -22,7 +22,7 @@ steps:
image: aaronriedel/kustomize-ci image: aaronriedel/kustomize-ci
commands: commands:
- cd /deployment-repo - cd /deployment-repo
- git clone https://git.ar21.de/yolokube/core-deployments.git . - git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git .
- cd /deployment-repo/dashboard/overlays/staging - cd /deployment-repo/dashboard/overlays/staging
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml - kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
volumes: volumes:

View file

@ -26,6 +26,12 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8080 - containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

View file

@ -36,6 +36,12 @@ spec:
containers: containers:
- image: git.ar21.de/yolokube/dashboard:staging-777 - image: git.ar21.de/yolokube/dashboard:staging-777
imagePullPolicy: Always imagePullPolicy: Always
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
name: dashboard name: dashboard
ports: ports:
- containerPort: 8080 - containerPort: 8080