openshift origin - List of all environment variables for a Pod -
i have web app on openshift v3 (all-in-one), using wildfly builder image. in addition, created service named xyz, point external host+ip. this:
"kind": "service", "apiversion": "v1", "metadata": { "name": "xyz" }, "spec": { "ports": [ { "port": 61616, "protocol": "tcp", "targetport": 61616 } ], "selector": {} } i have endpoint, pointing externally, not relevant question.
when deployed, program can access environment variable named xyz_port=tcp://172.30.192.186:61616
however, cannot figure out how see all values of such variables either via web-console, or using cli. using web-console, cannot see being injected yaml.
i tried of oc env options, none seem list want.
let's deploying kitchensink, below cli should list environment variables :
oc env bc/kitchensink --list
Comments
Post a Comment