Difference between revisions of "Oc"

From wikieduonline
Jump to navigation Jump to search
(Created page with " oc get clusteroperator authentication -o yaml == See also == * {{Openshift}}")
Tags: Mobile web edit, Mobile edit
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lc}}
  
 +
[[brew install openshift-cli]]
  
  oc get clusteroperator authentication -o yaml
+
  [[oc --help]]
 +
[[oc import-image]]
  
 +
[[oc status]]
 +
The connection to the server 127.0.0.1:[[59749]] was refused - did you specify the right host or port?
 +
 +
[[oc get]] clusteroperator authentication -o yaml
 +
 +
[[oc login]]
 +
 +
[[oc new-project]]
 +
 +
[[oc adm top nodes]]
 +
[[oc adm policy]]
 +
 +
 +
[[oc new-app]] postgresql-persistent \
 +
    -p POSTGRESQL_USER=wanja \
 +
    -p POSTGRESQL_PASSWORD=wanja \
 +
    -p POSTGRESQL_DATABASE=wanjadb \
 +
    -p DATABASE_SERVICE_NAME=wanjaserver
 +
 +
== Related ==
 +
* <code>[[kubectl]]</code>
  
 
== See also ==
 
== See also ==
* {{Openshift}}
+
* {{oc}}
 +
* {{OpenShift}}
 +
 
 +
[[Category:OpenShift]]

Latest revision as of 09:06, 21 May 2024

brew install openshift-cli
oc --help
oc import-image
oc status
The connection to the server 127.0.0.1:59749 was refused - did you specify the right host or port?
oc get clusteroperator authentication -o yaml
oc login
oc new-project
oc adm top nodes
oc adm policy


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

Related[edit]

See also[edit]

Advertising: