加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
skaffold.yaml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
JunYang 提交于 2023-01-28 23:45 . Add ability to exclude nodes by labels
apiVersion: skaffold/v2beta29
kind: Config
metadata:
name: metrics-server
build:
local:
useDockerCLI: true
useBuildkit: true
artifacts:
- image: gcr.io/k8s-staging-metrics-server/metrics-server
docker:
dockerfile: Dockerfile
buildArgs:
ARCH: "amd64"
GIT_TAG: "devel"
profiles:
- name: test
deploy:
kustomize:
paths:
- manifests/overlays/test
- name: test-ha
deploy:
kustomize:
paths:
- manifests/overlays/test-ha
- name: helm
deploy:
helm:
releases:
- name: metrics-server
namespace: kube-system
artifactOverrides:
imageKey: gcr.io/k8s-staging-metrics-server/metrics-server
chartPath: charts/metrics-server
setValueTemplates:
image.repository: "{{.IMAGE_REPO}}"
image.tag: "{{.IMAGE_TAG}}"
setValues:
podLabels: { k8s-app: metrics-server }
containerPort: 10250
valuesFiles:
- test/chart-values.yaml
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化