Update docker-image.yml

This commit is contained in:
Mel van Veen
2024-12-02 13:21:48 +01:00
committed by GitHub
parent e1ce756d9c
commit 7a548c9e27

View File

@@ -56,10 +56,10 @@ jobs:
export KUBECONFIG=$KUBEVERSION
# Stap 3: Update de Kubernetes deployment (vervang je Docker image)
sudo k3s kubectl set image deployment/weetikveel weetikveel=veenm/weetikveel:${{ env.VERSION }} --record
k3s kubectl set image deployment/weetikveel weetikveel=veenm/weetikveel:${{ env.VERSION }} --record
# Stap 4: Deployment uitrollen naar K3s
sudo k3s kubectl rollout status deployment/weetikveel
k3s kubectl rollout status deployment/weetikveel
# (Optioneel) Stap 5: Controleer de status van de pods
sudo k3s kubectl get pods
k3s kubectl get pods