Difference between revisions of "--token"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | sudo [[docker run -d --privileged]] --restart=unless-stopped --net=host -v [[/etc/kubernetes]]:/etc/kubernetes -v [[/var/run]]:/var/run [[rancher]]/[[rancher-agent]]:v2.6.6 --server https://your-server [[--token]] your-tocketn [[--ca-checksum]] 1234567890 [[--worker]] | + | sudo [[docker run -d --privileged]] [[--restart]]=unless-stopped --net=host -v [[/etc/kubernetes]]:/etc/kubernetes -v [[/var/run]]:/var/run [[rancher]]/[[rancher-agent]]:v2.6.6 --server https://your-server [[--token]] your-tocketn [[--ca-checksum]] 1234567890 [[--worker]] |
+ | |||
+ | [[rancher login]] https://<SERVER_URL> [[--token]] <BEARER_TOKEN> | ||
+ | [[kubectl --token]] | ||
− | {{docker run}} | + | [[TOKEN]] |
+ | |||
+ | == See also == | ||
+ | * {{rancher cmd}} | ||
+ | * {{docker run}} | ||
+ | |||
+ | [[Category:Rancher]] |
Latest revision as of 09:20, 2 November 2023
sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.6.6 --server https://your-server --token your-tocketn --ca-checksum 1234567890 --worker
rancher login https://<SERVER_URL> --token <BEARER_TOKEN>
kubectl --token
TOKEN
See also[edit]
Advertising: