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

Check to prevent split brain api-servers/api-clients which can happen if... #6330

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

jayunit100
Copy link
Member

There are some different ways where local-up-cluster can mess you up when developing....

For example:

  1. etcd dies after local up cluster, and then
  2. you restart
    then:
  3. You can get a server running which is different than the client version. scariest of all, the server is more likely to be behind than the client, so it won't be immediately obvious.

To prevent this its super important to do a quick check that the API port isnt ALREADY being served on. This really messed me up today when I was trying to test some updates from head and i found that they weren't expressed in my local kube-apiserver , after a while, i realized, it was because kube-apiserver was indeed floating around already from a previous run of local-up-cluster.

… if etcd dies between rerun of local-up-cluster.sh
@brendandburns brendandburns added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2015
@brendandburns brendandburns self-assigned this Apr 2, 2015
jszczepkowski added a commit that referenced this pull request Apr 2, 2015
Check to prevent split brain api-servers/api-clients which can happen if...
@jszczepkowski jszczepkowski merged commit 8cff43d into kubernetes:master Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants