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
430
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
アジャイルテストで高品質のスプリントレビューを
takesection
0
160
Introduction to kanjava
takesection
0
94
LT Slide 2025-04-22
takesection
0
150
Instructional Designer
takesection
0
140
Zero to Hero
takesection
0
220
Fargateを使った研修の話
takesection
0
310
20240730_kanjava.pdf
takesection
0
150
JavaのJCP会員になろう
takesection
0
110
JAWS-UG Okayama 2024 LT
takesection
0
110
Other Decks in Technology
See All in Technology
データエンジニアがこの先生きのこるには...?
10xinc
0
430
後進育成のしくじり〜任せるスキルとリーダーシップの両立〜
matsu0228
2
1.1k
C# 14 / .NET 10 の新機能 (RC 1 時点)
nenonaninu
1
1.4k
Modern_Data_Stack最新動向クイズ_買収_AI_激動の2025年_.pdf
sagara
0
180
SoccerNet GSRの紹介と技術応用:選手視点映像を提供するサッカー作戦盤ツール
mixi_engineers
PRO
1
160
Oracle Cloud Infrastructure:2025年9月度サービス・アップデート
oracle4engineer
PRO
0
360
Optuna DashboardにおけるPLaMo2連携機能の紹介 / PFN LLM セミナー
pfn
PRO
1
810
組織観点からIAM Identity CenterとIAMの設計を考える
nrinetcom
PRO
1
150
20250929_QaaS_vol20
mura_shin
0
110
Findy Team+のSOC2取得までの道のり
rvirus0817
0
290
[2025-09-30] Databricks Genie を利用した分析基盤とデータモデリングの IVRy の現在地
wxyzzz
0
430
From Prompt to Product @ How to Web 2025, Bucharest, Romania
janwerner
0
110
Featured
See All Featured
Side Projects
sachag
455
43k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Code Reviewing Like a Champion
maltzj
525
40k
Visualization
eitanlees
148
16k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
The Invisible Side of Design
smashingmag
301
51k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
2.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Automating Front-end Workflow
addyosmani
1371
200k
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 ご清聴ありがとうございました