Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitHub Actions Runner Controller
Search
Shigeki Shoji
March 12, 2024
Technology
0
400
GitHub Actions Runner Controller
2024-03-13 LT
Shigeki Shoji
March 12, 2024
Tweet
Share
More Decks by Shigeki Shoji
See All by Shigeki Shoji
Introduction to kanjava
takesection
0
84
LT Slide 2025-04-22
takesection
0
130
Instructional Designer
takesection
0
130
Zero to Hero
takesection
0
200
Fargateを使った研修の話
takesection
0
250
20240730_kanjava.pdf
takesection
0
150
JavaのJCP会員になろう
takesection
0
100
JAWS-UG Okayama 2024 LT
takesection
0
100
IaCツールのいろいろ
takesection
0
420
Other Decks in Technology
See All in Technology
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
220
2025-06-26_Lightning_Talk_for_Lightning_Talks
_hashimo2
2
110
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
4
1.3k
Node-REDのFunctionノードでMCPサーバーの実装を試してみた / Node-RED × MCP 勉強会 vol.1
you
PRO
0
130
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
2
680
250627 関西Ruby会議08 前夜祭 RejectKaigi「DJ on Ruby Ver.0.1」
msykd
PRO
2
370
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
250
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
4
3.4k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
26k
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
0
350
ビギナーであり続ける/beginning
ikuodanaka
1
200
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
5
4.5k
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Code Reviewing Like a Champion
maltzj
524
40k
Building Applications with DynamoDB
mza
95
6.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Code Review Best Practice
trishagee
69
18k
Thoughts on Productivity
jonyablonski
69
4.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Transcript
GitHub Actions Runner Controller 2024年3⽉13⽇ Shigeki Shoji
庄司重樹 受賞歴 AWS 2023 Japan Top Engineers 資格 AWS認定12冠 (All
Certifications) Professional Scrum Product Owner I Professional Scrum Master I Professional Scrum Developer I コミュニティ AWS Community Builders program、関ジャバ、JJUG、Scala関⻄、もめんと会他 2
スマートファクトリ • こんな構成で取り組みたい 3
GitHub Actionsとは “GitHub Actions は、ビルド、テスト、デプロイのパイプライン を⾃動化できる継続的インテグレーションと継続的デリバリー (CI/CD) のプラットフォームです。” 引⽤元:GitHub Actions
を理解する 4
Kubernetesでデバイスを扱うには • Device Plugins 標準 • gRPC を使って通信 • NVIDIA
GPUを使うケースで使⽤されているのを⾒たことがあるかも • OPC-UA のようなデバイスを利⽤する場合 • Microsoft 社の公式ドキュメントにも登場する Akri が有⼒そう 5
k3sって何? • 本番環境で利⽤可能 • 本番環境で利⽤可能 • シングルノードから利⽤可能 • 軽量 •
事例も豊富にある。2020年7⽉のYoutube動画によると戦闘機 でも利⽤されているとのこと • SUSE社の有償サポートがある 6
GHAをセルフホストする • Self-hosted Runnerの概要はここ • RunnerをKubernetes環境で実⾏する GitHub Actions Runner Controller
(ARC) がある • k3s の構成ファイルを環境変数に設定して helm コマンドでインス トールできる • export KUBECONFIG=/etc/rancher/k3s/k3s.yaml 7
ARCを利⽤するコツ • ARCのイメージには、通常のGHAで使⽤可能なコマンドが含ま れていない • ビルドに使⽤するWorkflowの定義は、GHAのWorkflowと揃えられる ように、使⽤するコマンドを含んだARCイメージを作成しておくこと がおすすめ 8
セルフホストの嬉しい点 • 特殊なデバイスのサポートが必要なコードの継続的インテグ レーションに使⽤できる。 9
参考資料 • GitHub Actions Runner Controller (ARC) をk3sにインストール 10
11 ご清聴ありがとうございました