Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
DevOpsサンプルアプリをGitLabからGKEへデプロイしてみた
Search
Yasunari Tanaka
June 09, 2018
Technology
300
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DevOpsサンプルアプリをGitLabからGKEへデプロイしてみた
2018.06.09 GCPUG Hiroshima #4 のLTスライドです
Yasunari Tanaka
June 09, 2018
More Decks by Yasunari Tanaka
See All by Yasunari Tanaka
MicroProfile OpenTracing with Helidon
yasu7ri
2
220
Serverlessで行ってみよ~
yasu7ri
0
1.2k
知識ゼロからRancher2.0に触れてみた
yasu7ri
1
470
CloudGarageでServerlessだ!
yasu7ri
3
4.7k
Kubernetes超入門 with java
yasu7ri
1
190
Other Decks in Technology
See All in Technology
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
1
140
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
190
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
540
Running Kotlin + Quarkus with Lambda
nealle
1
440
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
170
夫婦で子育てするための育児標準化
codmoninc
PRO
0
190
go-sqletch
moznion
0
130
Kiro Crewをはじめよう
kizawa2020
1
140
全PRの83%が AIレビューだけでマージできるようになった開発組織は その後どうなったか @2026/10
athug
0
140
おそらく日本で唯一のDevRelインターン生として
husengs7
0
170
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
130
Featured
See All Featured
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
590
Site-Speed That Sticks
csswizardry
13
1.6k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
GitHub's CSS Performance
jonrohan
1033
470k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
360
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
Deep Space Network (abreviated)
tonyrice
0
360
Crafting Experiences
bethany
1
380
Transcript
0 DevOpsサンプルアプリを GitLabからGKEへデプロイしてみた 2018/06/09(土) GCPUG Hiroshima #4 YasunariTanaka(@7richi)
1 自己紹介 氏名: Yasunari Tanaka 属性: Software Engineer コミュニティ活動: オープンセミナー広島
Rancher JP アジャイル広島 広島Javaユーザグループ @7richi
2 – Google Cloud Platform(GCP)でホストされているKubernetesクラスタ をGitLabプロジェクトに接続できる。そこで、継続的インテグレーショ ンのジョブを実行し、継続的デプロイのパイプラインを設定ことができ る。GitLabとGKEの統合により、開発者は、Kubernetesがどのようにクラ スタを管理しているかの詳細をすべて理解しなくても、GCP上でマネー ジドデプロイ環境を簡単にセットアップし設定することができるように
なる。 GitLabはGoogle Kubernetes Engineを完全に管理可能に
3 – Google Cloud Platformで500ドルの無料クレジットを獲得 – Google Cloud Platformの新しいアカウントはすべて、登録時に300ドルのクレ ジットを受け取ります。
GitLabは、Googleと提携して、GitLabのGKE統合を 開始するために新しいGCPアカウントの追加で200ドルを提供することができ ます。 GitLabとGCPを連携させて500ドル分のクレジットをゲットしよう!
4 – デプロイしたレポジトリを選択 Deploy from GitLab to GKE
5 – Operations -> Kubernetesを選択し「Add Kubernets cluster」 で Kubernets cluster
を追加していく Deploy from GitLab to GKE
6 – どのKubernetes clusterと統合するか選択する – もちろんGKEを選択する Deploy from GitLab to
GKE
7 – GKGへKubernetes clusterを作成するを選択してGoogleへサインイン Deploy from GitLab to GKE
8 – 作するKubernetes clusterの設定に関していくつか記入 – Kubernetes cluster 名を記入 – どのGCP
プロジェクトへ作成するか選択 – Zone、Node数、Machine typeはデフォルトのままを使用 Deploy from GitLab to GKE
9 – Kubernetes cluster作成中(5分くらい) Deploy from GitLab to GKE
10 – Kubernetes cluster完了で~す! Deploy from GitLab to GKE
11 – GKE側はどうなった? – Kubernetes clusterが作成されている – Nodeも3つ Deploy from
GitLab to GKE
12 – Kubernetes cluster にCI/CDを行う為のApplicationのインストールを行う – Helm Tiller, Ingress, Prometheus,
GitLab Runner Deploy from GitLab to GKE
13 – CI/CDの設定 – Auto DevOpsを有効にしてDomainを入力する Deploy from GitLab to
GKE
14 – CI/CDの設定 – Auto DevOpsを有効にしてDomainを入力する Deploy from GitLab to
GKE
15 – Pipelinesを見るとビルドが始まっている! Deploy from GitLab to GKE
16 – 完了! Deploy from GitLab to GKE
17 – GKE側を見るとデプロイされている Deploy from GitLab to GKE
18 – GitLabとGKEを組み合わせて、GCP上でマネージドデプロイ環境を簡単に セットアップし自動のCI/CD環境を構築してみよう – GitLabからでもGKEを操作できるけど、 Runcher2.0 でも出来るよね。 GitLabもRuncher2.0の統合の違いってどうなんだろうか。 気になる人はこちらへ、そのうち広島でも。。。
まとめ
19 – 不合格通知 (追加で200ドルのクレジットが欲しい人生だった) ちなみに200ドルは、 これかな~
20 ありがとうございました