Difference between revisions of "Rancher cluster"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[rancher cluster ls]]
 
  [[rancher cluster ls]]
 
  [[rancher cluster kubeconfig]]
 
  [[rancher cluster kubeconfig]]
 +
[[rancher cluster export]]
  
 
  rancher cluster --help
 
  rancher cluster --help
Line 10: Line 11:
 
   
 
   
 
  Commands:
 
  Commands:
     ls                  List clusters
+
     [[ls]]                 List clusters
     create              Creates a new empty cluster
+
     [[create]]             Creates a new empty cluster
     import             Import an existing Kubernetes cluster into a Rancher cluster
+
     [[import ]]            Import an existing Kubernetes cluster into a Rancher cluster
     add-node            Outputs the docker command needed to add a node to an existing Rancher custom cluster
+
     [[add-node]]           Outputs the docker command needed to add a node to an existing Rancher custom cluster
     delete, rm          Delete a cluster
+
     [[delete, rm]]         Delete a cluster
     export              Export a cluster
+
     [[export]]             Export a cluster
     kubeconfig, kf      Return the kube config used to access the cluster
+
     [[kubeconfig]], kf      Return the kube config used to access the cluster
     add-member-role    Add a member to the cluster
+
     [[add-member-role]]     Add a member to the cluster
     delete-member-role  Delete a member from the cluster
+
     [[delete-member-role]] Delete a member from the cluster
     list-roles          List all available roles for a cluster
+
     [[list-roles]]         List all available roles for a cluster
 
     [[list-members]]        List current members of the cluster
 
     [[list-members]]        List current members of the cluster
 
   
 
   
Line 29: Line 30:
 
  [[rancher inspect]]
 
  [[rancher inspect]]
  
{{rancher cli}}
+
== See also ==
 +
* {{rancher cluster}}
 +
* {{rancher cli}}
 +
 
 +
[[Category:Rancher]]

Latest revision as of 10:11, 11 October 2023

rancher cluster ls
rancher cluster kubeconfig
rancher cluster export
rancher cluster --help
Operations on clusters 

Usage:
   rancher clusters command [command options] [arguments...] 

Commands:
    ls                  List clusters
    create              Creates a new empty cluster
    import              Import an existing Kubernetes cluster into a Rancher cluster
    add-node            Outputs the docker command needed to add a node to an existing Rancher custom cluster
    delete, rm          Delete a cluster
    export              Export a cluster
    kubeconfig, kf      Return the kube config used to access the cluster
    add-member-role     Add a member to the cluster
    delete-member-role  Delete a member from the cluster
    list-roles          List all available roles for a cluster
    list-members        List current members of the cluster

Options:
   --help, -h  show help


rancher inspect

See also[edit]

Advertising: