Difference between revisions of "Oc"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [[oc --help]]
 
  [[oc --help]]
 
  [[oc import-image]]
 
  [[oc import-image]]
 +
 +
[[oc status]]
  
 
  [[oc get]] clusteroperator authentication -o yaml
 
  [[oc get]] clusteroperator authentication -o yaml

Revision as of 09:20, 5 February 2024

brew install openshift-cli
oc --help
oc import-image
oc status
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: