Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.
Rollout / rollback using deployments
Tip article: How to rollout or rollback a deployment on a Kubernetes cluster?
kubectl patch deployment $DEPLOYMENT \
kubectl rollout undo deployment/$DEPLOYMENT [--to-revision 42]
kubectl rollout status deployment/$DEPLOYMENT
Google Cloud Platform (GCP)
Google Kubernetes Engine (GKE)
GKE is a managed Kubernetes cluster.
Checklist when things goes wrong:
- K8S: Ingress -> Service -> Deployment -> ReplicaSet -> Pod
- GC: Firewall rules matches the service exposed NodePort (describe service to get the port)
- GC: L7 router configuration is correct (backend, routes, frontend)
- GC: Health checks show green status.
Google Compute Engine (GCE)
Amazon Elastic Compute Cloude (EC2)
Amazon Elastic Container Service on Kubernetes (EKS)