-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Make DNS working on docker and docker-multinode #21504
Make DNS working on docker and docker-multinode #21504
Conversation
33ab1a5
to
7e48c9e
Compare
Labelling this PR as size/L |
GCE e2e test build/test passed for commit 7e48c9eef51feba8ec4d9c8bb3dc56bcdbda0893. |
The author of this PR is not in the whitelist for merge, can one of the admins add the 'ok-to-merge' label? |
|
||
$ kubectl -s "$KUBE_SERVER:8080" --namespace=kube-system create -f ./skydns-svc.yaml | ||
$ kubectl --namespace=kube-system create -f ./skydns.yaml |
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.
Why is it that you don't need to set -s
flag?
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.
The default is -s
flag is http://localhost:8080
, and that's were apiserver
will listen by default for docker-multinode
(when running from the same node)
Anyway, it's overkill to specify a separate server option here (the user have to be able to kubectl get po
for example)
One may use the -s
flag if running kubectl
from another node, or export KUBERNETES_MASTER
for example. But the user should know that
The hypercube install of 1.2.0-alpha8 does not automatically create the kube-system name space (rather it has only "default"). SkyDNS should probably use default or indicate that manually creating the namespace "kubectl create namespace kube-system" will be needed to avoid getting "Error from server: error when creating "./skydns.yaml": namespaces "kube-system" not found" |
@luxas @fgrzadkowski It would be great if we can get this merged before the next alpha or beta build. Is there anything I can help with? |
@jumpkick I will probably include the creation of @gopinatht As soon as #21379 is merged (soon) I'll rebase and this may be LGTM'd, so it will probably be included in the next release. |
Thanks for reviewing, Filip. |
PR needs rebase |
7e48c9e
to
cd80bf8
Compare
…file. Make DNS working on docker and docker-multinode
cd80bf8
to
e9af6c3
Compare
@fgrzadkowski @thockin I copied https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/skydns-rc.yaml.in, bumped to Now the two |
GCE e2e build/test failed for commit e9af6c3. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
GCE e2e build/test failed for commit cd80bf8d659c618c4e5ee54edc04fa38d39865d8. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
@k8s-bot test this; issue #IGNORE |
GCE e2e build/test passed for commit e9af6c3. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Update the DNS template from
cluster/addons/dns
and combine into one file.Fixes: #19228 #18227
Related to: #21379 #21357
@fgrzadkowski