You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the manifest was updated to not use the JAVA_OPTS after the cf summit demo. It would be better to stick to the env variables rather than the JAVA_OPTS variable. However, both work for me.
See related background on why we originally tried to avoid the . syntax in #270 (comment)
The JAVA_OPTS option allowed to still use the dot syntax (which allow for convenient copy/paste between the spring java source code and documentation), and not convert it to the snake case format (with underscores as separators).
Is this either/or? Or is JAVA_OPTS preferred?
I'd suggest to pick one of the syntax and stick to it.
If we change configuration, do we cf restart or cf restage?
As any environment variables changes in CF, you have to restage. This may be optimized with restart only so speed up, I'm not sure (not specific to autosleep though).
In the demo video, the
manifest.tmpl.yml
specifies all the properties viaJAVA_OPTS
:But in the https://github.com/cloudfoundry-community/autosleep/blob/develop/manifest.tmpl.yml the configuration is via
env
variables.Is this either/or? Or is JAVA_OPTS preferred?
If we change configuration, do we
cf restart
orcf restage
?The text was updated successfully, but these errors were encountered: