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
