Script for Setting Up 1-node Kubernetes Cluster
------------------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The it/dep repo can be used for generating a simple script that can help setting up a
one-node Kubernetes cluster for dev and testing purposes. Related files are under the
-**ric-infra/00-Kubernetes** directory. To get started, clone the repository on the
-target VM:
+**tools/k8s/bin** directory. Clone the repository on the target VM:
::
- git clone https://gerrit.o-ran-sc.org/r/it/dep
+ % git clone https://gerrit.o-ran-sc.org/r/it/dep
Configurations
---------------
+^^^^^^^^^^^^^^
The generation of the script reads in the parameters from the following files:
Generating Set-up Script
-------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^
After the configurations are updated, the following steps will create a script file that can be
used for setting up a one-node Kubernetes cluster. You must run this command on a Linux machine
::
- % cd bin
+ % cd tools/k8s/bin
% ./gen-cloud-init.sh
A file named **k8s-1node-cloud-init.sh** would now appear under the bin directory.
Setting up Kubernetes Cluster
------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The new **k8s-1node-cloud-init.sh** file is now ready for setting up the Kubernetes cluster.