Wiki System Kubernetes

Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.

http://kubernetes.io/

Basically, it's a project that overlaps a bit in value proposition with CoreOS, even if both can be complementary (you can run a Kubernetes cluster on CoreOS).

Run a web related thing: Ingress -> Service -> Deployment -> ReplicaSet -> Pod

Rollout / rollback using deployments

Tip article: How to rollout or rollback a deployment on a Kubernetes cluster?

Rollout

kubectl patch deployment $DEPLOYMENT \
        -p'{"spec":{"template":{"spec":{"containers":[{"name":"$CONTAINER","image":"$IMAGE"}]}}}}'

Rollback

kubectl rollout undo deployment/$DEPLOYMENT [--to-revision 42]

Status

kubectl rollout status deployment/$DEPLOYMENT

Google Container Engine (GKE)

GKE is a managed Kubernetes cluster. For now, Ingresses are a bit buggy and it's often necessary to use the Google Cloud API to update backends and firewall rules.

Checklist when things goes wrong: