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

DNS with Docker-standalone / hyperkube #8413

Closed
justinsb opened this issue May 18, 2015 · 5 comments
Closed

DNS with Docker-standalone / hyperkube #8413

justinsb opened this issue May 18, 2015 · 5 comments
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@justinsb
Copy link
Member

Is it possible to get DNS working with Docker-standalone / hyperkube?

I tried this:

The volume YAML file:

{
  "apiVersion": "v1beta2",
  "kind": "Secret",
  "id": "token-system-dns",
  "data": {
  }
}

Given this secret is empty, I don't think it would actually work, but I would expect the pod to start.

Even if I could create a token, I don't think it could authenticate with kube-apiserver, because kube-api-server does not have a known_tokens file in this mode:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/images/hyperkube/master.json

@vmarmol vmarmol added the kind/support Categorizes issue or PR as a support question. label May 18, 2015
@vmarmol
Copy link
Contributor

vmarmol commented May 19, 2015

/cc @vishh @thockin @quinton-hoole

@roberthbailey roberthbailey added team/cluster sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. labels May 19, 2015
@vishh
Copy link
Contributor

vishh commented May 26, 2015

It should be possible to get kube2sky to work as part of hyperkube.
To run the existing docker image without auth (token) you can specify the
master URL --kube_master_url=http://10.0.0.1:80 and not provide the
secret at all.

On Mon, May 18, 2015 at 5:47 PM, Victor Marmol notifications@github.com
wrote:

/cc @vishh https://github.com/vishh @thockin
https://github.com/thockin @quinton-hoole
https://github.com/quinton-hoole


Reply to this email directly or view it on GitHub
#8413 (comment)
.

@bgrant0607 bgrant0607 added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed kind/support Categorizes issue or PR as a support question. labels Jan 12, 2016
@bgrant0607 bgrant0607 reopened this Jan 12, 2016
@bgrant0607
Copy link
Member

We should make DNS work out of the box for hyperkube.

@justingrayston
Copy link

I created this https://github.com/justingrayston/kubernetes-docker-dns so I could work and test locally before deploying to container engine. Currently it still uses the kube master url flag as locally the API is accessed over of the docker host via http.

It isn't really fit to go into the main project, but it should be possible to just configure with certs and key to be set up for use on a server.

@bgrant0607 bgrant0607 added team/ux and removed team/cluster sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. labels May 6, 2016
@luxas
Copy link
Member

luxas commented May 15, 2016

Working, but manual steps are required.
Let's continue the discussion in #22752

@luxas luxas closed this as completed May 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

8 participants