Update docker-image.yml

This commit is contained in:
Mel van Veen
2024-12-02 15:53:14 +01:00
committed by GitHub
parent 666a869790
commit b7aaf65964

View File

@@ -56,12 +56,13 @@ jobs:
export KUBECONFIG=$KUBEVERSION export KUBECONFIG=$KUBEVERSION
k3s kubectl apply -f deployment.yaml k3s kubectl apply -f deployment.yaml
k3s kubectl apply -f service.yaml
# Stap 3: Update de Kubernetes deployment (vervang je Docker image) # Stap 4: Update de Kubernetes deployment (optioneel, vervang bestaande image)
k3s kubectl set image deployment/weetikveel weetikveel=veenm/weetikveel:latest k3s kubectl set image deployment/weetikveel weetikveel=veenm/weetikveel:latest
# Stap 4: Deployment uitrollen naar K3s # Stap 5: Controleer de status van de pods en services
k3s kubectl rollout status deployment/weetikveel k3s kubectl rollout status deployment/weetikveel
# (Optioneel) Stap 5: Controleer de status van de pods
k3s kubectl get pods k3s kubectl get pods
k3s kubectl get service