This is a work-in-progress and a demo only. Not intended for use by anyone but the creator, who is aware of the flawed baby she created.
kubectl create namespace
-
build the thing:
docker build -t gcr.io/$GOOGLE_PROJECT/drupal8-kube:$NUM .
-
push the thing to the gcloud registry:
gcloud docker -- push gcr.io/$GOOGLE_PROJECT/drupal8-kube:$NUM
-
Update the
deployment.yml
with the new image (the num should change). -
Apply changes:
kubectl apply --namespace=NAMESPACE -f deployment.yml --record
kubectl apply --namespace=NAMESPACE -f service.yml --record