Skip to main content
Skip table of contents

Kubernetes single-node installation

All operations will be executed on VM1, unless an alternative is explicitly designated.

To carry out the single-node Kubernetes installation, follow these steps:

  1. On VM1, clone the repository:

  • Replace {TAG_NAME} with one of the available tags (to list all available tags, use git tag):

CODE
git clone https://github.com/aipix-dev/aipix-deploy.git
cd ./aipix-deploy
git checkout {TAG_NAME}
cd kubernetes/k8s-onprem/
  1. Create the sources.sh file from sources.sh.sample:

CODE
cp ./sources.sh.sample ./sources.sh
  1. Complete the source.sh file with the information acquired during the preparation stage (as described in the Prerequisites section of the article):

CODE
vim ./sources.sh
CODE
##Example
export K8S_API_ENDPOINT="192.168.205.164"
export POD_SUBNET="10.244.0.0/16"
export SERVICE_SUBNET="10.245.0.0/16"
export TRAEFIK_ADVERTISEMENT_RANGE="192.168.205.96-192.168.205.96"
export L2_ADVERTISEMENT_RANGE="192.168.205.97-192.168.205.103"
export MS1_IP="192.168.205.164" # it is used for demo mediaserver installation
  1. Install the base components of Kubernetes:

CODE
./install_kube_base.sh
  1. Install the Kubernetes components specific to a single-node:

CODE
source ./sources.sh
./install_kube_base-single-node-demo.sh
cd ../

It is recommended to reconnect your VM1 host with a new SSH session in order to apply the new environment variables required for autocompletion commands to work.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.