Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 799 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 799 Bytes

K8:

The K8 repository builds a multi-node K8 cluster using rke2 and installs Helm. To set up the K8 repository, you need to provide the following:

  1. Node configurations with IP addresses in the host.ini file.

    • You can specify both master and worker nodes.
  2. rke2 configuration parameters, such as the rke2 version, in the ./vars/main.yml file.

  3. Rke2 cluster parameters file and path set in /vars/main.yml

  4. run make k8s-install

The repository will build a multi-node cluster. To check the cluster, run the following command on the master node: sudo /var/lib/rancher/rke2/bin/kubectl get nodes --kubeconfig /etc/rancher/rke2/rke2.yaml

Useful commands:

  1. kubectl get nodes
  2. sudo /var/lib/rancher/rke2/bin/kubectl get nodes --kubeconfig /etc/rancher/rke2/rke2.yaml