Skip to content

Commit 8164b38

Browse files
authored
Merge pull request #3335 from Dentrax/docs/k8s-kustomize-clarify
docs(deploy/k8s): remote build for kustomize
2 parents b4443af + e74806c commit 8164b38

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

deploy/kubernetes/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
# cAdvisor Kubernetes Daemonset
22

3-
cAdvisor uses [Kustomize](https://github.com/kubernetes-sigs/kustomize) to manage kubernetes yaml files. See the [Kustomize](https://github.com/kubernetes-sigs/kustomize) readme for installation instructions, and for a description of how it works.
3+
cAdvisor uses [Kustomize](https://github.com/kubernetes-sigs/kustomize) to manage Kubernetes manifests. See the [Install Kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/) for installation instructions, and for a description of how it works.
44

5-
## Usage
5+
## Deploy
66

77
Pick a [cAdvisor release](https://github.com/google/cadvisor/releases)
88
```
99
VERSION=v0.42.0
1010
```
1111

12+
Deploy to Kubernetes cluster with [remote build](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md):
13+
```
14+
kustomize build "https://github.com/google/cadvisor/deploy/kubernetes/base?ref=${VERSION}" | kubectl apply -f -
15+
```
16+
17+
## Usage
18+
1219
To update the image version([reference](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/image.md)):
1320
```
1421
cd deploy/kubernetes/base && kustomize edit set image gcr.io/cadvisor/cadvisor:${VERSION} && cd ../../..

0 commit comments

Comments
 (0)