YUNOVA · Google Cloud
Module 11: Kubernetes and DevOps on Google Cloud
Deploying an app to a GKE cluster
Key points
- GKE runs Kubernetes clusters managed by Google Cloud.
- Package the app as a container image and describe it in a Deployment.
- A Service or Ingress exposes the app to users.
CI/CD with Cloud Build
Key points
- Cloud Build runs build steps defined in a cloudbuild.yaml file.
- Triggers start builds automatically on pushes to a repository.
- Builds can test code, build images and deploy to GKE or Cloud Run.
Artifact Registry
Key points
- Artifact Registry stores container images and language packages.
- Repositories are created per format and region.
- IAM controls who can push or pull artifacts.
Terraform on Google Cloud
Key points
- Terraform describes Google Cloud resources as code in .tf files.
- terraform plan previews changes; terraform apply makes them.
- Store state remotely, for example in a Cloud Storage bucket, for team use.