- Kubernetes:A Complete DevOps Cookbook
- Murat Karslioglu
- 68字
- 2025-04-04 13:20:39
Running Rancher on the same Kubernetes nodes
To add the node where you run Rancher Server on a cluster, replace the default ports -p 80:80 -p 443:443 as follows and use the following command to start Rancher:
$ docker run -d --restart=unless-stopped \
-p 8080:80 -p 8443:443 rancher/rancher:latest
In this case, Rancher Server will be accessible through https://localhost:8443 instead of the standard 443 port.