Google Cloud Build deploy to GKE Private Cluster

前端 未结 2 1739
有刺的猬
有刺的猬 2020-12-28 17:48

I\'m running a Google Kubernetes Engine with the \"private-cluster\" option. I\'ve also defined \"authorized Master Network\" to be able to remotely access the environment -

2条回答
  •  抹茶落季
    2020-12-28 18:07

    We ended up doing the following:

    1) Remove the deployment step from cloudbuild.yaml

    2) Install Keel inside the private cluster and give it pub/sub editor privileges in the cloud builder / registry project

    Keel will monitor changes in images and deploy them automatically based on your settings.

    This has worked out great as now we get pushed sha hashed image updates, without adding vms or doing any kind of bastion/ssh host.

提交回复
热议问题