Тёмный

Running GitHub Self-Hosted Runners on AKS Virtual Nodes (backed by Azure Container Instances) 

Atmosera
Подписаться 12 тыс.
Просмотров 3,3 тыс.
50% 1

GitHub Self-Hosted Runners let you use your environments with GitHub Actions for automations of all sorts, like building and deploying software (CI/CD), running tests, and all sorts of goodies. One popular approach is using runners hosted in containers and running these on Kubernetes. GitHub even provides a controller that can scale your runners based on jobs on GitHub. With Azure Kubernetes Services (AKS), you can run self-hosted containers, too-even on virtual nodes, which use Azure Container Instances (ACI). This offers on-demand runners for your build needs that scale dynamically with the demand of your jobs. In this video we’ll explain how all this works, show you how to set it up, and then deploy a GH Action that spins up a runner, executes the jobs, then deallocates when finished.
Manifest Code Sample: github.com/the...
Installing the Action Runner Controller
helm repo add jetstack charts.jetstac...
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.10.1 --set installCRDs=true
helm repo add actions-runner-controller actions-runner...
helm repo update
helm upgrade --install --namespace actions-runner-system --create-namespace --set=authSecret.create=true --set=authSecret.github_token="" --wait actions-runner-controller actions-runner-controller/actions-runner-controller
----------------
Atmosera: www.atmosera.com/
WintellectNOW: www.wintellect...
Blaize's Website: www.blaize.net/
Twitter:
Blaize: / theonemule
Atmosera: / atmosera
WintellectNOW: / wintellectnow

Наука

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@ermirhoxhaj6771
@ermirhoxhaj6771 Год назад
Beautiful done. I was looking for a week into the best approach for this scenario. Thanks a lot! 🥳
@anilnair5978
@anilnair5978 2 месяца назад
this is beautifully explained can you let me know how i can use my windows agent inside windows node
@flemminglund7361
@flemminglund7361 3 месяца назад
Hi, what if my AKS cluster is private, with my own vnet / subnet. In my workflow i need to run kubelogin which means I've to run in a user context in order to pickup kubelogin from environment variables. Is there any way to handle that on the fly, with github runners, or self-hosted runners , on-demand?
@stansidorov
@stansidorov Год назад
This is awesome, thank you. I have a few questions. In your manifest you specified a particular repo. Is there way to set it up in a such way that it picks up an action job from any repo in the GitHub organization? And how much time it takes to provision a virtual node for a job? Thank you.
@Atmosera-
@Atmosera- Год назад
You can create another manifest for the new job and repo. And the runner only runs for that job then scales back down. You can't do it for just any repo.
Далее
Use Azure Arc with MicroK8S!
26:43
Просмотров 1 тыс.
@ItsMamix учу делать сигму😎
00:12
Просмотров 411 тыс.
Let's learn GitHub Actions in a self-hosted Homelab!
23:53
Apple designers updating the iPhone design 😫
0:26