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
370
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
LT Slide 2025-04-22
takesection
0
120
Instructional Designer
takesection
0
120
Zero to Hero
takesection
0
190
Fargateを使った研修の話
takesection
0
240
20240730_kanjava.pdf
takesection
0
140
JavaのJCP会員になろう
takesection
0
97
JAWS-UG Okayama 2024 LT
takesection
0
91
IaCツールのいろいろ
takesection
0
390
依存ライブラリはどこに?
takesection
0
280
Other Decks in Technology
See All in Technology
令和トラベルQAのAI活用
seigaitakahiro
0
380
他チームへ越境したら、生データ提供ソリューションのクエリ費用95%削減へ繋がった話 / Cross-Team Impact: 95% Off Raw Data Query Costs
yamamotoyuta
0
150
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
360k
Project Referencesを活用した実行環境ごとのtsconfig最適化
itatchi3
1
230
AWS パートナー企業のテクニカルサポートが日々思っていること 〜そして、4/15 の現場から〜
kazzpapa3
2
380
CloudTrailも、GuardDutyも、VPC Flow logsも… ログ多すぎ問題の整理術
nikuyoshi
5
540
AIの電力問題を概観する
rmaruy
0
160
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
2
230
テストを実施する前に考えるべきテストの話 / Thinking About Testing Before You Test
nihonbuson
PRO
11
1.7k
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
6
630
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
RDRA3.0を知ろう
kanzaki
2
330
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Side Projects
sachag
453
42k
The Cult of Friendly URLs
andyhume
78
6.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
Navigating Team Friction
lara
185
15k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Building Applications with DynamoDB
mza
95
6.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Being A Developer After 40
akosma
91
590k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
830
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 ご清聴ありがとうございました