Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cadvisor daemonset doc to customize the image version #3003

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

qiutongs
Copy link
Contributor

@qiutongs qiutongs commented Nov 3, 2021

Update cadvisor daemonset doc to customize the image version.

@google-cla google-cla bot added the cla: yes label Nov 3, 2021
@k8s-ci-robot
Copy link
Collaborator

Hi @qiutongs. Thanks for your PR.

I'm waiting for a google member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Creatone
Copy link
Collaborator

Creatone commented Nov 3, 2021

/ok-to-test


From the `cadvisor/deploy/kubernetes/base` directory, to update the image version([reference](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/image.md)):
```
kustomize edit set image gcr.io/cadvisor/cadvisor:${VERSION}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be a better idea to run this command like:

cd deploy/kubernetes/base && kustomize edit set image gcr.io/cadvisor/cadvisor:${VERSION} && cd ../../..

instead of writing "From the cadvisor..."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Sounds better

VERSION=v0.42.0
```

From the `cadvisor/` directory, to update the image version([reference](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/image.md)):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it looks better but I think that you don't need "From the cadvisor/ directory..." cause it's obvious that we're running commands from the repository directory.
Could you change also line 17?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@bobbypage
Copy link
Collaborator

/retest

@bobbypage
Copy link
Collaborator

Thanks!

@bobbypage bobbypage merged commit 99d3532 into google:master Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants