GitHub Actions to perform Kubectl Automation on my On Prem K8s Clusters #3609
gh-pbhandari
started this conversation in
General
Replies: 2 comments 4 replies
-
Hi @gh-pbhandari, Thank you for your kind words! You are right, creating a custom docker image would be the right approach. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@nikola-jokic : Looks like we don't have ImagePull Secrets implemented to pull image from Private repositories.. I will go ahead and update the chart locally. Is this true or do we have some way to pull from Private Repository for Custom Images ? Sample DockerFile
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
First of all, I really like the Actions Runner Controller (ARC) and how seamlessly the runners scale based on our requirements. I have installed it using Helm following the quick start guide https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller
Issue:
I want to automate running some Python scripts in the web container running in my on-premises Kubernetes cluster. However, I realized that the ghcr.io/actions/actions-runner:latest image that the runner uses does not have kubectl installed, which means I cannot communicate with my cluster directly from the runner.
Question:
Do we have any existing solutions for this purpose, or is creating a custom Docker image with kubectl installed the recommended approach? If custom images are the way to go, could anyone share best practices or examples for creating and using such custom runner images?
Any information or guidance would be greatly appreciated.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions