Difference between revisions of "Rancher context switch"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
  INFO[0004] Saving config to /root/.rancher/[[cli2.json]]     
 
  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
  
  

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: