Extending single-master cluster to multi-master

2017-12-13 Thread Daniel Kučera
Hi, the docs say that it's not possible to migrate from cluster with one master to multiple masters. Is it really so? Why? Can it be done manually? Thanks. ___ users mailing list users@lists.openshift.redhat.com

Re: Unable to get hostPath r/w without privileged: true

2017-12-13 Thread Clayton Coleman
On Dec 13, 2017, at 8:36 PM, Nick Bartos (nibartos) wrote: I am unable to get a writable hostPath volume for a "privileged: false" container, even when the container's runAsUser owns the directory on the host. The k8s docs say "You either need to run your process as root in

Unable to get hostPath r/w without privileged: true

2017-12-13 Thread Nick Bartos (nibartos)
I am unable to get a writable hostPath volume for a "privileged: false" container, even when the container's runAsUser owns the directory on the host. The k8s docs say "You either need to run your process as root in a privileged container or modify the file permissions on the host to be able

Re: Is there a way to specify a node selector to limit nodes evaluated by the cluster capacity analysis tool?

2017-12-13 Thread Avesh Agarwal
Specify node selector for your worker nodes in the input pod spec. On Thu, Dec 7, 2017 at 2:41 PM, Cottrell, Ken wrote: > We are testing origin 3.6 cluster capacity analysis tool, currently > running in a pod as a cronjob. We have 3 worker nodes and 3 infra nodes in >

crash looping of registry-console

2017-12-13 Thread Brigman, Larry
After I have upgraded from 3.6 to 3.7 it looked like things were working. Yesterday, as I was exploring builds, I got an error where the build container could not resolve any external hosts. The troubleshooting guide recommended that restarting the docker daemon would clear this error which it

Re: Permissions problem mounting file from ConfigMap

2017-12-13 Thread Graham Dumpleton
I don't know. But should be within a minute or so. Do note that this refresh ability does depend on it being enabled in the cluster master configuration. It should be, although have seen where cluster was upgraded from 3.5 to 3.6, the setting somehow got lost and had to be fixed after the fact

Re: Permissions problem mounting file from ConfigMap

2017-12-13 Thread Joel Pearson
Oh, I didn't realise configmaps got updated without a Pod restart. How long does it take to update? I see in ( https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#mounted-configmaps-are-updated-automatically) it says the kubelet sync period + ttl. What are the

Re: Permissions problem mounting file from ConfigMap

2017-12-13 Thread Graham Dumpleton
If you copy it rather than symlink, you will loose the ability that an update to the configmap will be reflected automatically inside of the container after a short period. If the file was something that was rescanned by the application, this allows changes to be pushed into a container without

Re: Permissions problem mounting file from ConfigMap

2017-12-13 Thread Tim Dudgeon
Graham, Thanks for your help on this. I had managed to work around the problem in a way similar to how you described (but copying not symlinking). Not nice, but it works! On 12/12/17 21:10, Graham Dumpleton wrote: A belated update on this. The problem with using subPath is due to a SELinux