liveBook · Manning

Skaffold

As explained in Google Anthos in Action

Skaffold is a command-line tool that facilitates continuous development for containerized applications by automating build, deploy, and feedback workflows.

Skaffold is an open-source CLI for continuous development of Kubernetes applications. It watches source files, builds container images, pushes them to a registry, deploys them to a Kubernetes endpoint, and cleans up resources when development stops. section 12.3.2

Skaffold supports development and delivery workflows by:

  • Deploying locally to Minikube or remotely to an Anthos cluster. section 12.3.2
  • Providing CI/CD building blocks through kubectl, Helm, and Kustomize. section 12.3.2

Hello World development loop

A Go Hello World application can be built into a container image and deployed through a Skaffold configuration, then continuously rebuilt and redeployed with `skaffold dev`. A Kubernetes context can be selected explicitly, such as `skaffold dev --kube-context <myrepo>`.

How Google Anthos in Action covers it

How deep it goes
Explains the watch-build-push-deploy-cleanup workflow and demonstrates CLI and configuration usage without detailing implementation internals.
Examples
Uses a Go Hello World container, Kubernetes Pod manifest, Skaffold configuration, and skaffold dev command.
What it assumes
Assumes familiarity with Kubernetes applications, container images, registries, manifests, and cluster endpoints.
What you can do after
Operate/configure a continuous Kubernetes development workflow with Skaffold’s CLI, manifests, image artifacts, and deployment context.
How it connects
Connects Kubernetes development with container registries, kubectl, Helm, Kustomize, Minikube, Anthos, and CI/CD pipelines.

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.