Skip to content
This repository was archived by the owner on Mar 18, 2020. It is now read-only.

Setting the deployment properties in the gui #23

Closed
roberts365 opened this issue Aug 29, 2017 · 2 comments
Closed

Setting the deployment properties in the gui #23

roberts365 opened this issue Aug 29, 2017 · 2 comments

Comments

@roberts365
Copy link

Hello again,
I have a quick question.
How do I set environmentVariables in the gui when I deploy a stream?
I tried this but it does not work.

deployer.my-app.openshift.environmentVariables=JAVA_TOOL_OPTIONS=-Xmx1024m

However I can set the limits.cpu just fine

deployer.my-app.openshift.limits.cpu=1000m

I took my examples from here https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/blob/master/spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/getting-started.adoc

Thank you.

@donovanmuller
Copy link
Owner

Hi,

What version of the deployer server are you using?

Perhaps bump up the logging to trace (logging.level.org.springframework.cloud.deployer.spi.openshift=trace), which should allow you to verify if your deployment property is getting through. Handling the environment variable happens in DefaultContainerFactory.

@donovanmuller
Copy link
Owner

Closing due to inactivity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants