- This repo is an example of how to do this, and for that it uses minikube. This repo does not create a production ready environment, it merely displays the concepts and methods for remotely managing a cluster with kubectl.
-
Running
kubectlagainst a K8s cluster using GitHub Actions -
This example runs a minikube cluster inside a VM managed by incus, then runs a
kubectl applyagainst that cluster from a Github Actions runner- A publicly accessibly IP address/domain is required
-
First up, read through/follow manual-remote-access.md for setting up the cluster and general knowledge remote
kubectlmanagement of clusters -
Then, you can follow along with kubectl-gh-actions.md for setting up a github actions workflow which runs
kubectl applyagainst a remote cluster