Hi Irham, You can update environment values on a running docker container using docker exec [1]. But for Kubernetes, it is again not suitable. AFAIU, in a test framework, users should provide docker images as well as the Kubernetes artifacts to deploy. What we have provided in Kubernetes-artifacts repo is to try out with basic values. We recommend users to update values in those yaml files based on their configurations.
[1] - https://github.com/docker/docker/issues/8838 Thank you! On Wed, Aug 31, 2016 at 2:27 PM, Irham Iqbal <[email protected]> wrote: > Hi, > > When I am creating Replication controller using yaml files, I need to pass > env variables for kubernetes membership scheme as below. > > env: > - > name: KUBERNETES_API_SERVER > value: "http://192.168.57.23:8080" > > > Since I am just cloning the kubernetes-artifacts[1] and running the > deploy.sh from java to create the deployment I need to set this once in the > node before creating the product deployment(Before creating the pods). Is > it possible to do this ? > > [1] https://github.com/wso2/kubernetes-artifacts > > Thanks, > Iqbal > -- > Irham Iqbal > Software Engineer - Test Automation > WSO2 > phone: +94 777888452 > <http://wso2.com/signature> > > -- *Pubudu Gunatilaka* Committer and PMC Member - Apache Stratos Software Engineer WSO2, Inc.: http://wso2.com mobile : +94774078049 <%2B94772207163>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
