How do you find the cartridge short names in Openshift? -
the documentation using openshift environment variables tells insert "cartridge short name" in variable string number of available environment variables. how know cartridge's short name is?
for instance, log path environment variable supposed this:
openshift_{cartridge}_log_dir
the environment variable documentation page can found here: https://www.openshift.com/developers/openshift-environment-variables
you control cartridges installed, it’s you. if you’re making own cartridge, specify short name in manifest.yml
. example linked documentation:
name: php cartridge-short-name: php
similarly, each cartridge’s manifest.yml
lists short name. here’s relevant section cron cartridge:
name: cron vendor: red hat cartridge-short-name: cron
Comments
Post a Comment