-
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
Add a docker image for hyperkube, and instructions on how to use. #6432
Conversation
Please don't merge until I get the service proxy working. Should be this evening. |
a03f7e4
to
90f744e
Compare
|
||
### Step Two: Run the master | ||
```sh | ||
docker run --net=host -d gcr.io/google-containers/hyperkube:v0.14.1 /hyperkube apiserver --portal_net=10.0.0.1/24 --address=127.0.0.1 --etcd_servers=http://127.0.0.1:4001 --cluster_name=kubernetes --v=2 |
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.
google_containers in the gcr.io path
bb7dd52
to
972e643
Compare
Comments addressed. Support for services added. Ready to merge (I guess on Monday) |
FROM google/debian:wheezy | ||
|
||
RUN apt-get update | ||
RUN apt-get -yy -q install iptables |
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.
&& instead of a separate RUN? also consider --no-install-recommends
tested locally 👍 |
This works very well for me, and makes playing around with porting stuff to run on kubernetes much easier, thank you. |
"containers":[ | ||
{ | ||
"name": "controller-manager", | ||
"image": "gcr.io/google-containers/hyperkube:v0.14.1", |
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.
google_containers (and below), if you want to support pre-1.5
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.
done.
I'll take another look monday and run through it myself once before merging. |
|
||
### Step Two: Run the master | ||
```sh | ||
docker run --net=host -d -v /var/run/docker.sock:/var/run/docker.sock gcr.io/google-containers/hyperkube:dev /hyperkube kubelet --api_servers=http://localhost:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=127.0.0.1 --config=/etc/kubernetes/manifests |
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.
gcr.io/google_containers
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.
Should we use the v0.14.1 image here rather than dev?
Ok, comments addressed. I think this is ready to merge. I'm going to continue to iterate, but let's get this checkpointed. |
LGTM. |
Add a docker image for hyperkube, and instructions on how to use.
No description provided.