Difference between revisions of "Rancher context switch"

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