FujitsuEnablingSoftwareTechnologyGmbH / k8s-docker-provisioner

0 stars 3 forks source link

Cannot create cluster in a network isolated environment #25

Open f-higashi opened 8 years ago

f-higashi commented 8 years ago

Hyperkube v1.2 try to connect internet during creating cluster.

https://github.com/kubernetes/kubernetes/blob/release-1.2/cluster/images/hyperkube/setup-files.sh#L44 https://github.com/kubernetes/kubernetes/blob/release-1.2/cluster/saltbase/salt/generate-cert/make-ca-cert.sh#L78-L82

After v1.3.0-alpha, it is avoided. https://github.com/kubernetes/kubernetes/blob/v1.3.0-alpha.3/cluster/images/hyperkube/Dockerfile#L54

So, when we use this script in an isolated environment, we have to use newer hyperkube image or modified image.

zreigz commented 8 years ago

We can evaluate this new hypercube image. We have e2e tests. If they pass in the same result as 1.2 I don't see any problem to use newer hypercube.

cheld commented 8 years ago

@f-higashi good work.

@zreigz, @f-higashi what is the status in kube-deploy project? We should check and create issue or PR there too. Maybe we get some additional information

zreigz commented 8 years ago

Today I am going to review it again and test it. I would like create cluster using kube-deploy project and also run e2e tests. I almost finished Vagrant project for it. It helps for testing and future developments.