Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
GitLab Serverless Inside
tnir
January 16, 2019
Technology
4
2k
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-agnostic Serverless built with GitLab
tnir
0
190
The Challenge at Contribute & Sessions from GitLab Contribute 2019 New Orleans
tnir
3
1k
The State of Docker: product and community
tnir
3
710
GitLab Overview & Version 12.x
tnir
2
2.4k
Engineering life with containers on AWS
tnir
1
6.4k
Everyone can use, everyone can contribute!
tnir
1
310
CircleCI and GitLab CI CD
tnir
3
810
KubeCon 2018 recap & GitLab Serverless
tnir
2
900
Introduction to Git with GitLab
tnir
6
440
Other Decks in Technology
See All in Technology
OSS ことはじめ
hsbt
3
560
A1A会社紹介資料-2022-05-20
a1a
2
1.1k
プルリク作ったらデプロイされる仕組み on ECS / SRE NEXT 2022
carta_engineering
1
360
Adopting Kafka for the #1 job site in the world
ymyzk
1
550
[SRE NEXT 2022]ヤプリのSREにおけるセキュリティ強化の取り組みを公開する
mmochi23
1
600
A Conditional Point Diffusion-Refinement Paradigm for 3D Point Cloud Completion
takmin
0
220
CAMのサービス開発の歴史と共通基盤を使った 開発スタイルへの変遷について
ishikawa_pro
0
100
Oracle Content Management サービス概要 (2022年5月版)
oracle4engineer
PRO
0
120
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
330
Dagu | オンプレ向けワークフローエンジン(WebUI 同梱)
yohamta
0
180
GitHub 엔터프라이즈 어카운트 소개 및 엔터프라이즈 서버 구축 경험
posquit0
1
140
BFFとmicroservicesアーキテクチャ
hirac1220
0
100
Featured
See All Featured
Optimizing for Happiness
mojombo
365
63k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
315
19k
We Have a Design System, Now What?
morganepeng
35
2.9k
Become a Pro
speakerdeck
PRO
3
780
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
212
11k
Build your cross-platform service in a week with App Engine
jlugia
219
17k
Clear Off the Table
cherdarchuk
79
280k
KATA
mclloyd
7
8.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
15k
The Mythical Team-Month
searls
208
39k
Visualization
eitanlees
124
11k
Pencils Down: Stop Designing & Start Developing
hursman
112
9.8k
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/