liveBook · Manning

Continuous development

As explained in Google Anthos in Action

Continuous development is a software development practice that automatically rebuilds, redeploys, and previews application changes during development.

Continuous development automates the rebuild, redeployment, and preview of application changes before they are committed to a source repository. Developers receive immediate feedback while operators define the Kubernetes deployment configuration. section 12.0 section 12.3.2

A continuous development workflow typically:

  • Watches source files for changes. section 12.3.2
  • Builds container images and pushes them to a registry. section 12.3.2
  • Deploys the image to a predefined Kubernetes endpoint for preview. section 12.3.2
  • Cleans up application resources when the development process stops. section 12.3.2

Previewing a Kubernetes application with Skaffold

Install Skaffold through gcloud or use its container image, define an artifact and Kubernetes manifests in skaffold.yaml, then run `skaffold dev`. Skaffold can deploy to local minikube or a remote Anthos cluster; `--kube-context <myrepo>` selects a context, while `kubeContext: minikube` can be configured in the file. section 12.3.2

How Google Anthos in Action covers it

How deep it goes
Explains file watching, image creation, registry pushes, deployment, cleanup, installation, configuration, and CLI execution.
Examples
Uses a Go Hello World application, Dockerfile, Kubernetes Pod manifest, Skaffold configuration, minikube, and Anthos previews.
What it assumes
Assumes familiarity with application code, container images, registries, Kubernetes manifests, and cluster endpoints.
What you can do after
Operate Skaffold to build, push, deploy, preview, and clean up Kubernetes application changes.
How it connects
Connects continuous integration, continuous deployment, Kubernetes, Skaffold, Helm, Kustomize, kubectl, and Cloud Code.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.