Build for Kubernetes within GCP
Here are my (incomplete) notes on the service introduced in 2018.
NOTE: Content here are my personal opinions, and not intended to represent any employer (past or present). “PROTIP:” here highlight information I haven’t seen elsewhere on the internet because it is hard-won, little-know but significant facts based on my personal research and experience.
PROTIP: Don’t click “Try it now” takes you to login and
That page is about all Google services.
Google’s underlying technology is based on its open source project, Tekton, which it has donated to the Continuous Delivery Foundation (CDF).
Google announced Cloud Build at its Google Next conference July 2018.
Cloud Build works across a variety of environments including VMs, serverless, Kubernetes, or Firebase.
What’s more it supports Docker containers and it gives developers or operations the flexibility to build, test and deploy in an increasingly automated fashion.
Google will allow you to use triggers to deploy, so that when certain conditions are met, the update will launch automatically. You can identify vulnerabilities in your packages before you deploy and you can build locally and deploy in the cloud if you so choose.
Since Google Cloud Build is relatively new in comparison with the other public cloud CI offerings, Google is now offering a generous amount of free minutes and a low pay-as-you-go pricing: up to 120 build minutes per day at no cost. Additional build minutes is billed at $0.0034 per minute.
- Select a Project.
- Click “Settings”.
Enable service accounts.
Install client CLI
Cloud KMS KeyRing and CryptoKey
Create Build Triggers
There is a connector in GitHub Marketplace:
Builds place Docker images into the Google Container Registry, which then natively integrates with Kubernetes.
Google needs to make it easier to pass artifacts from one step to the next to create more tightly integrated build pipelines. Google’s CI system executes each build step in a separate container.
Google needs to improve the granularity of build triggers.