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
GitLab Serverless Inside
Search
tnir
January 16, 2019
Technology
4
2.4k
GitLab Serverless Inside
2019-01-16 - Docker Meetup Tokyo #27: recap of KubeCon + CloudNativeCon Seattle 2018
tnir
January 16, 2019
Tweet
Share
More Decks by tnir
See All by tnir
Cloud Run & GKE Autopilot (late 2024)
tnir
0
23
A life with Rails 8.0 (beta)
tnir
0
87
Progressive Rails 8.1 (alpha) / progressive-rails-8-1
tnir
0
300
三代目CTO at stmn, inc. / CTO at stmn
tnir
1
6.4k
Teach programming with Postman 101
tnir
0
18
Cloud-agnostic Serverless built with GitLab
tnir
0
350
The Challenge at Contribute & Sessions from GitLab Contribute 2019 New Orleans
tnir
3
1.4k
The State of Docker: product and community
tnir
3
1k
GitLab Overview & Version 12.x
tnir
2
3k
Other Decks in Technology
See All in Technology
Two Blades, One Journey: Engineering While Managing
ohbarye
4
2.6k
クラウド関連のインシデントケースを収集して見えてきたもの
lhazy
9
1.9k
IoTシステム開発の複雑さを低減するための統合的アーキテクチャ
kentaro
1
130
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
240
Pwned Labsのすゝめ
ken5scal
2
570
手を動かしてレベルアップしよう!
maruto
0
250
あなたが人生で成功するための5つの普遍的法則 #jawsug #jawsdays2025 / 20250301 HEROZ
yoshidashingo
2
330
スクラムというコンフォートゾーンから抜け出そう!プロジェクト全体に目を向けるインセプションデッキ / Inception Deck for seeing the whole project
takaking22
2
130
エンジニアリング価値を黒字化する バリューベース戦略を用いた 技術戦略策定の道のり
kzkmaeda
7
3.5k
User Story Mapping + Inclusive Team
kawaguti
PRO
2
250
事業モメンタムを生み出すプロダクト開発
macchiitaka
0
110
JavaにおけるNull非許容性
skrb
2
2.7k
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
380
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Git: the NoSQL Database
bkeepers
PRO
428
65k
Typedesign – Prime Four
hannesfritz
41
2.5k
Product Roadmaps are Hard
iamctodd
PRO
51
11k
Designing Experiences People Love
moore
140
23k
RailsConf 2023
tenderlove
29
1k
Being A Developer After 40
akosma
89
590k
Why Our Code Smells
bkeepers
PRO
336
57k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Transcript
GitLab Serverless Inside @tnir - 2019-01-16 - Docker Meetup Tokyo
#27 @NTT SIC Tamachi Part of recap of KubeCon + CloudNativeCon Seattle 2018
Agenda • GitLab Serverless Overview • Knative • TriggerMesh •
まとめ
tnir • Core Team, GitLab • Cloud Native Ambassador, CNCF
• Co-organizer, Docker Tokyo • OSS contributors of ◦ kubernetes/website, kubernetes-docs-ja ◦ Django / django-ja ◦ pandas, etc. • ♡ multi-cloud providers
KubeCon Seattle 2018 ←100人限定で配られたTシャツ(ゲットできず) GitLab Inc. からのセッション: • Monolith applicationのHelmとOperatorを用いた分離
◦ https://kccna18.sched.com/event/GrRC/ • Gitのcloud native化の難しさ、pets/cattlesの分離 (cloud native chart dev) ◦ https://kccna18.sched.com/event/GrSP/ https://twitter.com/gitlab/status/1072555171882983426
Serverless • serverless ≒ AWS Lambda (2015-) • ベンダ非依存でserverlessやっていきたいよね •
Knativeが出てきた (2018)
GitLab Serverless • KubeCon Seattle中に発表。11.6でalphaリリース(12/22リ リース)を発表。 • 日本語でも即時展開され、わりとバズる。 • GitLab
Serverlessはkanikoでビルドし、「2018年7月に Googleらが発表したKnative」とそのラッパーの TriggerMeshを用いたWeb UIを提供する。 https://about.gitlab.com/product/serverless/
Knative • サービスメッシュIstioを含むヘビーな子 • KubeCon NA前に0.2がリリース ◦ Red Hat, IBM,
SAPが商用サポート開始 • Build, Eventing, Serving cf. Knative session at Docker Meetup Tokyo #25 https://github.com/knative/docs
GitLab Web UI • Kubernetes (w/RBAC)構築・連携 • Helm Tiller&Knativeインストール •
ドメイン名(FQDN) • .gitlab-ci.yml を書く • functionsの場合、serverless.yml Demo: https://gitlab.com/tnir/knative-demo
TriggerMesh CLI (tm) • Knative CLI (cf. cppforlife/knctl) • GH:
triggermesh/tm • 最新バージョン: v0.0.8 • Usage: ◦ tm deploy service foo -f gcr.io/google-samples/hello-app:1.0 --wait • 世間的にtmがknctlを置き換えていくのかは不明
TriggerMesh KLR (clear) • AWS Lambda functionをKnative基盤上へデプロイできる ブリッジ • AWS
Custom Runtime APIとKnative Buildでいったりきた りできるようになる • GH: triggermesh/knative-lambda-runtime NEW! (Jan 2019)
まとめ • GitLab Serverless ◦ 2018年12月22日、アルファリリース ◦ GitLab Web/APIによるServerless(Knative)ラッパー ◦
非常に荒削りだがGitLab.comで一通り試せる ◦ Auto DevOpsに取り込めるといいなぁ(個人的希望) ◦ 続きはGitLab Meetup Tokyoで • TriggerMesh ◦ tm: yet another Knative CLI ◦ KLR: AWS LambdaとシームレスなDX提供
@tnir Takuya Noguchi Tw: @tn961ir • https://gitlab.com/tnir • https://tnir.gitlab.io/