Bài đăng

Đang hiển thị bài đăng từ Tháng 12, 2022

CLI for Operations for Openshift

Hình ảnh
  Common Operations The CLI allows interaction with the various objects that are managed by OpenShift. Many common  oc  operations are invoked using the following syntax: 1 $ oc <action> <object_type> <object_name_or_id> This specifies: An  <action>  to perform, such as  get  or  describe . The  <object_type>  to perform the action on, such as  service  or the abbreviated  svc . The  <object_name_or_id>  of the specified  <object_type> . For example, the  oc get  operation returns a complete list of services that are currently defined: 1 $ oc get svc 2 NAME LABELS SELECTOR IP PORT(S) 3 docker-registry docker-registry=default docker-registry=default 172.30.78.158 5000/TCP 4 kubernetes component=apiserver,provider=kubernetes <none> ...