Difference between revisions of "Oc"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[brew install openshift-cli]]
 
  [[brew install openshift-cli]]
  
 +
[[oc --help]]
 
  [[oc import-image]]
 
  [[oc import-image]]
  

Revision as of 09:19, 5 February 2024

brew install openshift-cli
oc --help
oc import-image
oc get clusteroperator authentication -o yaml
oc login
oc new-project
oc adm top nodes


oc new-app postgresql-persistent \
   -p POSTGRESQL_USER=wanja \
   -p POSTGRESQL_PASSWORD=wanja \
   -p POSTGRESQL_DATABASE=wanjadb \
   -p DATABASE_SERVICE_NAME=wanjaserver

Related

See also

Advertising: