Info |
---|
Steps described in this page are run by "ubuntu", a non-root user. |
...
This section, similar as Quickstart Installation in ONAP on Kubernetes, provides the instruction of deploying Kubernetes node through Rancher.
...
# | Purpose | Command and Example | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Add host name to /etc/hosts fileAdding all cluster nodes to /etc/hosts file on each node | sudo vi /etc/hosts
| ||||||||||
2 | Install/Start Rancher serverThere may be issues with the DNS pod in Rancher after a reboot or when running clustered hosts as described in ONAP bug: A clean system is OK. | Use port 8880 instead of 8080. docker run -d --restart=unless-stopped -p 8880:8080 rancher/server:v1.6.10
|
Configure Rancher Client
You can access the Rancher UI through http:<master <master node host IP>:8880 ; it takes you to the apps/stacks page.
...
# | Purpose | Script shots illustrated steps | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Create Rancher environment: |
| |||||||||||||||
2 | Add host to INFRASTRUCTURE |
| |||||||||||||||
3 | Confirm that the host process has completed | The end of adding the host operation is indicated by the CLI option shown under the KUBERNETES dropdown menu:
|
...
# | Purpose | Command and Example | |||||
---|---|---|---|---|---|---|---|
1 | Add host name to /etc/hosts fileAdding all cluster nodes to /etc/hosts file on each node | sudo vi /etc/hosts
| |||||
2 | Add host to INFRASTRUCTURESee examples from step 2 of section "Configure Rancher Client" |
| |||||
3 | Confirm that the Setup has Finished | Wait until all hosts in Rancher show green, indicating that setup is complete! |