skaffold README

The project's README from github.com/GoogleContainerTools/skaffold. As one markdown file: README.md.


Code Coverage LICENSE Releases

Skaffold is a command line tool that facilitates continuous development for Kubernetes applications. You can iterate on your application source code locally then deploy to local or remote Kubernetes clusters. Skaffold handles the workflow for building, pushing and deploying your application. It also provides building blocks and describe customizations for a CI/CD pipeline.


Install Skaffold

Or, check out our Github Releases page for release info or to install a specific version.

Demo

Features

Check out our examples page for more complex workflows!

IDE integrations

For a managed experience of Skaffold you can install the Google Cloud Code extensions:

It can manage and keep Skaffold up-to-date while providing a more guided startup experience, along with providing and managing other common dependencies, and works with any kubernetes cluster.

Contributing to Skaffold

We welcome any contributions from the community with open arms - Skaffold wouldn't be where it is today without contributions from the community! Have a look at our contribution guide for more information on how to get started on sending your first PR.

Community

Support

Skaffold is generally available and considered production ready. Detailed feature maturity information and how we deprecate features are described in our Deprecation Policy.

Security Disclosures

Please see our security disclosure process. All security advisories are managed on Github.

skaffold (GoogleContainerTools/skaffold)

Searching Database…

15.9K ·GitHub
这是做什么的?一个命令行工具,为 Kubernetes 应用提供持续开发支持:你在本地迭代源代码,它负责构建、推送和部署到本地或远程集群的整个流程。
这是我装在自己电脑上的东西,还是运行在集群里的?它只在客户端运行:一个轻量的 CLI,集群侧没有任何组件,因此集群本身没有额外开销,也不需要维护。
我该怎么上手?从 GitHub Releases 页面安装 skaffold 二进制文件,然后在你的项目里运行 skaffold init —— Skaffold 会自动发现你的文件,并帮你生成配置文件。
除了这个 CLI,我还需要什么?需要一个用来部署的 Kubernetes 集群——本地或远程都可以。构建和部署工具是可插拔的,你可以自带喜欢的工具,不会被绑死在某一套技术栈上。
它已经可以用于生产环境了,还是仍在实验阶段?没有什么大的限制——它已经正式发布,普遍认为可以用于生产环境,并有一套明确的弃用政策来下线旧功能。
我开发的时候,它会监视我的代码并自动重新部署吗?会——Skaffold 会检测源代码的改动,自动执行构建、推送和部署流程,并按策略生成镜像标签。它还会汇总已部署资源的日志,并把容器端口转发到你本地。
在 CI/CD 里也能用吗,还是只能用于本地开发?都可以:skaffold run 可以跑完整的端到端流程,你也可以把 Skaffold 的各个阶段当作积木,搭建自己的 CI/CD 流水线。skaffold render 会输出填充好的 Kubernetes 清单,很适合 GitOps 工作流。
怎么把这套配置分享给同事?把 Skaffold 配置提交到仓库里就行——README 说这是分享项目最简单的方式:git clone 之后直接 skaffold run。不同环境之间的差异可以用 Profiles、用户级配置、环境变量和命令行标志来描述。
我必须在终端里用它,还是有 IDE 支持?Google 为 Visual Studio Code 和 JetBrains IDE 提供了 Cloud Code 扩展,可以管理 Skaffold 并保持更新,还提供更引导式的入门体验。
What are similar projects?kompose, buildkit, helm, tilt, kaniko, openframe-cli, Reloader, rook
Size
178.4 MB
Stars
15.9K
Age
8y
Commits · 90 Days