-
Notifications
You must be signed in to change notification settings - Fork 8
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 kube-dns support to docker-compose #39
Conversation
- Avoid breaking stdout captures
- Kubernetes on Mesos will not have any kublets running until pods or services have been created
- Added readme for mesos/docker - Added docker-compose script
- Add default test-e2e function to cluster/kube-util.sh - Add overridde test-e2e function to cluster/mesos/docker/util.sh to run in a docker container (with access to cluster IPs)
7f10a4d
to
569dbef
Compare
Following the ubuntu cluster provider this patch add a deployAddons.sh file. It seems it's not called right now on cluster up.
569dbef
to
f48d3ce
Compare
60212c6
to
ffbad05
Compare
/cc @karlkfi |
sed -e "s/{{ pillar\['dns_server'\] }}/${DNS_SERVER_IP}/g" $KUBE_ROOT/cluster/addons/dns/skydns-svc.yaml.in > dns/skydns-svc.yaml | ||
|
||
KUBECONFIG=$("${KUBE_ROOT}/cluster/kubectl.sh" config view | base64) | ||
sed -e "s,KUBECONFIG,$KUBECONFIG," dns/skydns-secret.yaml.in > dns/skydns-secret.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.
Does this actually work? When I do a kubectl config view it redacts the secrets...
$ kubectl config view
apiVersion: v1
clusters:
- cluster:
server: http://172.17.0.60:8888
name: mesos/docker
- cluster:
certificate-authority-data: REDACTED
server: https://10.245.1.2
name: vagrant
contexts:
- context:
cluster: mesos/docker
user: mesos/docker
name: mesos/docker
- context:
cluster: vagrant
user: vagrant
name: vagrant
current-context: mesos/docker
kind: Config
preferences: {}
users:
- name: vagrant
user:
client-certificate-data: REDACTED
client-key-data: REDACTED
password: vagrant
username: vagrant
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.
needs --raw
: kubernetes#7007
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.
This PR ok to nuke? |
Following the ubuntu cluster provider this patch adds a deployAddons.sh file.
It seems it's not called right now on cluster up.