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
330
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
Instructional Designer
takesection
0
66
Zero to Hero
takesection
0
160
Fargateを使った研修の話
takesection
0
200
20240730_kanjava.pdf
takesection
0
120
JavaのJCP会員になろう
takesection
0
82
JAWS-UG Okayama 2024 LT
takesection
0
68
IaCツールのいろいろ
takesection
0
350
依存ライブラリはどこに?
takesection
0
260
Amazon RDS for Db2
takesection
0
70
Other Decks in Technology
See All in Technology
Classmethod AI Talks(CATs) #17 司会進行スライド(2025.02.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol17_2025-02-19
shinyaa31
0
160
Exadata Database Service on Cloud@Customer セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
1
1.5k
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
150
システム・ML活用を広げるdbtのデータモデリング / Expanding System & ML Use with dbt Modeling
i125
0
230
レビューを増やしつつ 高評価維持するテクニック
tsuzuki817
1
820
The Future of SEO: The Impact of AI on Search
badams
0
240
抽象化をするということ - 具体と抽象の往復を身につける / Abstraction and concretization
soudai
27
13k
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
510
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
310
RSNA2024振り返り
nanachi
0
620
デスクトップだけじゃないUbuntu
mtyshibata
0
550
OpenID Connect for Identity Assurance の概要と翻訳版のご紹介 / 20250219-BizDay17-OIDC4IDA-Intro
oidfj
0
310
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Practical Orchestrator
shlominoach
186
10k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Code Review Best Practice
trishagee
67
18k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
A Philosophy of Restraint
colly
203
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
A better future with KSS
kneath
238
17k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
560
Why Our Code Smells
bkeepers
PRO
336
57k
Git: the NoSQL Database
bkeepers
PRO
427
64k
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 ご清聴ありがとうございました