Difference between revisions of "Rancher context switch"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
 
  INFO[0004] Setting new context to project yourproject           
 
  INFO[0004] Setting new context to project yourproject           
 
  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
 
  rancher context switch 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: