Re: [kubernetes-users] [Statefulset]Setting environment variables specific to each HOSTNAME loading from certain PATH mounted to container

2018-08-20 Thread ilter P
Use hostpath directory mount if you have more than one config file for > each env.. and use node antiaffinity. > > > Thanks, > Niranjan > > On Sat, Aug 18, 2018, 7:41 AM Rodrigo Campos > wrote: > >> On Friday, August 17, 2018, ilter P > >> wrote:

Re: [kubernetes-users] [Statefulset]Setting environment variables specific to each HOSTNAME loading from certain PATH mounted to container

2018-08-17 Thread ilter P
ght be for the app to read the proper > variable using it's host name. I think that would be the best, bit you can > try the hack above in the meantime or to experiment :-) > > On Friday, August 17, 2018, ilter P > > wrote: > >> Hi, >> >> I have statef

[kubernetes-users] [Statefulset]Setting environment variables specific to each HOSTNAME loading from certain PATH mounted to container

2018-08-17 Thread ilter P
Hi, I have statefulset which has specific configuration for each host. I created different Configmap with each hostname and mounted them under the path with the hostnames as following: /$(HOSTNAME)/* *I tried following options:* *1- OUTSIDE://$(eval cat ) . --> did not work* *2- exported

[kubernetes-users] Pod in minion cannot reach the DNS in Master. But Pod in master works fine!

2017-03-17 Thread ilter P
Hi, I have an kubernetes installation with 2 Nodes (Master,Minion) and i am following (ai,i) installation. Here is the versions that i am using: export KUBE_VERSION=1.5.4 export FLANNEL_VERSION=0.7.0 export ETCD_VERSION=3.0.14 Kernel: Linux kube-ubuntu01 3.13.0-113-generic #160-Ubuntu SMP Thu

[kubernetes-users] Installing Kubernetes to Centos with Proxy

2017-01-03 Thread ilter P
Hi, I need recommendation on how to install kubernetes in a private network ? I have Centos VMs and they cannot access Internet directly. I need to set an http_proxy So the problem in here for my kubernetes networking. Since I am facing following issues: - Pods cannot see each other if they