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";
>
>
> ​This parameter is not needed, we construct the API server URL using the
env. variables exposed by K8S:

https://github.com/wso2/kubernetes-artifacts/blob/master/common/kubernetes-membership-scheme/src/main/java/org/wso2/carbon/membership/scheme/kubernetes/KubernetesMembershipScheme.java#L126

Thanks
​


> 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>
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to