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
20
A life with Rails 8.0 (beta)
tnir
0
85
Progressive Rails 8.1 (alpha) / progressive-rails-8-1
tnir
0
250
三代目CTO at stmn, inc. / CTO at stmn
tnir
1
6.3k
Teach programming with Postman 101
tnir
0
17
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
990
GitLab Overview & Version 12.x
tnir
2
3k
Other Decks in Technology
See All in Technology
ユーザーストーリーマッピングから始めるアジャイルチームと並走するQA / Starting QA with User Story Mapping
katawara
0
200
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1.1k
Larkご案内資料
customercloud
PRO
0
650
2/18/25: Java meets AI: Build LLM-Powered Apps with LangChain4j
edeandrea
PRO
0
110
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1.3k
OpenID Connect for Identity Assurance の概要と翻訳版のご紹介 / 20250219-BizDay17-OIDC4IDA-Intro
oidfj
0
270
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
960
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
N=1から解き明かすAWS ソリューションアーキテクトの魅力
kiiwami
0
130
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
11
3k
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
3
970
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Rails Girls Zürich Keynote
gr2m
94
13k
Unsuck your backbone
ammeep
669
57k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
For a Future-Friendly Web
brad_frost
176
9.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
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/