The below script contains an issue with its kubernetes install:
sudo ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh
Dependencies:This script depends on curl being installed (sudo apt-get install curl)
Issue:
During execution of the script kubectl will present several localhost:8080 connection refused errors
When the script is stopped, kubectl cluster-info reveals that kubernetes is not properly installed
Resolution
Attempt the process within the O-RAN Near-Real Time RIC Installation Guide until the connection refused errors are encountered. Halt the ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh script.
The connection refused errors will be gone, K8S pods will appropriately deploy, and the remaining instructions can be followed to setup influxDB and deploy the OAIC RIC
Important: Order of operations is pertinent here. If K8S is pre-installed before the OIAC installation script is run, the OAIC installation script will begin throwing different TCPIP errors stating localhost cannot be resolved. These appear to be due to an invalid ~/.kube/config
--
Where is the error within ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh creating this behavior?
Just to note, containerizing this environment with docker would drastically simply this installation procedure.
Following the O-RAN Near-Real Time RIC Installation Guide located here: https://openaicellular.github.io/oaic/oran_installation.html
The below script contains an issue with its kubernetes install:
sudo ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh
Dependencies: This script depends on curl being installed (sudo apt-get install curl)
Issue: During execution of the script kubectl will present several localhost:8080 connection refused errors When the script is stopped, kubectl cluster-info reveals that kubernetes is not properly installed
Resolution
Attempt the process within the O-RAN Near-Real Time RIC Installation Guide until the connection refused errors are encountered. Halt the ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh script.
Install the latest K8S via https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
Restart kubelet with sudo systemctl restart kubelet
Retry sudo ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh
The connection refused errors will be gone, K8S pods will appropriately deploy, and the remaining instructions can be followed to setup influxDB and deploy the OAIC RIC
Important: Order of operations is pertinent here. If K8S is pre-installed before the OIAC installation script is run, the OAIC installation script will begin throwing different TCPIP errors stating localhost cannot be resolved. These appear to be due to an invalid ~/.kube/config
--
Where is the error within ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh creating this behavior?
Just to note, containerizing this environment with docker would drastically simply this installation procedure.