Difference between revisions of "Rancher context switch"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[rancher context]] switch
 
  [[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 cmd}}
+
 
 +
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]]
 +
 
 +
 
 +
* {{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: