-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Generic atomic update code #269
Conversation
if err != nil { | ||
// Don't strand stuff. | ||
registry.etcdClient.Delete(podKey, false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least check and log the error here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you dropped the return err from here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check & log err: good idea.
But I'm not dropping the original error. Moved the return to make it more clear.
Looks like an unstable map ordering issue from #254 caused this flake-- I'll fix. |
Added TODO about racy set. Should be good to go now. |
Generic atomic update code
Adding --log_cadvisor_usage flag to log the resource usage of cAdvisor.
Sync image to index.caicloud.io and caicloudgcr
Sync image to index.caicloud.io and caicloudgcr
Sync image to index.caicloud.io and caicloudgcr
Sync image to index.caicloud.io and caicloudgcr
Sync image to index.caicloud.io and caicloudgcr
Actually process -m flag in mk-docker-opts.sh
This is a first step towards removing the mock CSI driver completely from e2e testing in favor of hostpath plugin. With the recent hostpath plugin changes(PR kubernetes#260, kubernetes#269), it supports all the features supported by the mock csi driver. Using hostpath-plugin for testing also covers CSI persistent feature usecases.
This is a first step towards removing the mock CSI driver completely from e2e testing in favor of hostpath plugin. With the recent hostpath plugin changes(PR kubernetes#260, kubernetes#269), it supports all the features supported by the mock csi driver. Using hostpath-plugin for testing also covers CSI persistent feature usecases.
Couldn't resist doing a little cleanup before writing a test.