install-kubernetes-from-actions
This guide explains how to install Kubernetes on your testbed directly from GitHub Actions. By following these steps, you will use a self-hosted GitHub runner (set up as per the previous guide) to install and configure Kubernetes across your on-premise infrastructure. This guide is intended for users who have already set up the necessary GitHub runner and have access to the c2sr-testbed-infra repo.
Before you start
Ensure:
A self-hosted GitHub runner has been set up as per instructions in the previous step.
You have access to the c2sr-testbed-infra repo on GitHub.
ANL: Setup instructions to install kubernetes from GH actions
Some introductory information.
Clone the repo.
git clone git@github.com:ar-ramchandra/c2sr-testbed-infra.gitEdit the
src/anl_clusterhost file.
Add hostnames of for each of the nodes based on their roles; a sample is shown below;
The hostname specified here will be used to name the node in the Kubernetes cluster. The control plane will be set up for hosts listed under [control_plane], while devices under [worker_nodes] will be labeled as worker nodes. Additionally, tags such as group_tag=agx will be used to assign specific labels (e.g., group=agx) to the nodes.
The node name set here must match the corresponding entries in your SSH configuration to ensure proper connectivity.