TheNewNormal / kube-cluster-osx

Local development multi node Kubernetes Cluster for macOS made very simple
Apache License 2.0
299 stars 26 forks source link

Registry credentials #60

Closed cobrowserAlex closed 8 years ago

cobrowserAlex commented 8 years ago

We are using a private registry and with your help we are now able to access it, but it requires credentials. These credentials are normally put in /var/lib/kubelet/.dockercfg and putting them there works fine. However they are removed after e halt or reload.

Is there anyway to run a script on startup to put them there from a shared directory, or use cloudinit?

rimusz commented 8 years ago

nfs will be an optional soon (too much problems with it), so shared folder is not an option.

cloud-init will work fine, but if you update the App, you need to update the cloud-init file again.

I can add an extra mount for /var/lib/kubelet to make it persistent folder

rimusz commented 8 years ago

@cobrowserAlex here we go v0.3.3 will persist /var/lib/kubelet folder

cobrowserAlex commented 8 years ago

Great, thanks @rimusz

cobrowserAlex commented 8 years ago

@rimusz i especially like the

Checking internet availablity on master VM...
Yes, internet is available ...
rimusz commented 8 years ago

cool