forked from openshift/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
OpenShift 2
Endi S. Dewata edited this page Sep 15, 2023
·
1 revision
Install OpenShift client:
$ dnf install rubygem-rhc
Setup the client:
$ rhc setup
To list all applications:
$ rhc apps
To list environment variables:
$ rhc env list -a <application> -n <domain>
To set environment variable:
$ rhc env set <name>=<value> -a <application> -n <domain>
The HTTPD configuration is located at ${HOME}php/configuration/etc/conf.d.
To start an application:
$ rhc app start <application> -n <domain>
To stop an application:
$ rhc app stop <application> -n <domain>
$ rhc ssh <application> -n <domain>
$ rhc app show <application> -n <domain> --gears quota