Difference between revisions of "Rancher context switch"
Jump to navigation
Jump to search
(Created page with " {{rancher cmd}}") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | [[rancher context]] switch | ||
+ | .../... | ||
+ | Select a Project:80 | ||
+ | INFO[0004] Setting new context to project yourproject | ||
+ | INFO[0004] Saving config to /root/.rancher/[[cli2.json]] | ||
+ | rancher context switch c-xadfk:p-adfaf | ||
+ | INFO[0004] Setting new context to project yourproject | ||
+ | INFO[0004] Saving config to [[/root/.rancher/cli2.json]] | ||
− | {{rancher cmd}} | + | |
+ | rancher context switch yourwrongcluster | ||
+ | FATA[0001] Not found: yourwrongcluster | ||
+ | |||
+ | |||
+ | [[rancher context current]] | ||
+ | [[ctx]] | ||
+ | [[context]] | ||
+ | [[rancher projects ls]] | ||
+ | |||
+ | |||
+ | * {{rancher context}} | ||
+ | * {{rancher cmd}} |
Latest revision as of 14:05, 23 October 2023
rancher context switch .../... Select a Project:80 INFO[0004] Setting new context to project yourproject INFO[0004] Saving config to /root/.rancher/cli2.json
rancher context switch c-xadfk:p-adfaf INFO[0004] Setting new context to project yourproject INFO[0004] Saving config to /root/.rancher/cli2.json
rancher context switch yourwrongcluster FATA[0001] Not found: yourwrongcluster
rancher context current ctx context rancher projects ls
Advertising: