Slide 56
Slide 56 text
Rancher CLI
Command Result
apps, [app] Performs operations on catalog applications (i.e. individual Helm charts or Rancher charts).
catalog Performs operations on catalogs.
clusters, [cluster] Performs operations on your clusters.
context Switches between Rancher projects. For an example, see Project Selection.
inspect [OPTIONS] [RESOURCEID
RESOURCENAME]
Displays details about Kubernetes resources or Rancher resources (i.e.: projects and workloads). Specify resources by name or ID.
kubectl Runs kubectl commands.
login, [l] Logs into a Rancher Server. For an example, see CLI Authentication.
namespaces, [namespace] Performs operations on namespaces.
nodes, [node] Performs operations on nodes.
projects, [project] Performs operations on projects.
ps Displays workloads in a project.
settings, [setting] Shows the current settings for your Rancher Server.
ssh Connects to one of your cluster nodes using the SSH protocol.
help, [h] Shows a list of commands or help for one command.
Commands
The following commands are available for use in Rancher CLI.