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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
230
Serverlessで行ってみよ~
yasu7ri
0
1.2k
知識ゼロからRancher2.0に触れてみた
yasu7ri
1
480
CloudGarageでServerlessだ!
yasu7ri
3
4.7k
Kubernetes超入門 with java
yasu7ri
1
190
Other Decks in Technology
See All in Technology
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7k
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
120
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
180
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
2.8k
「作れる」と「リリースできる」の間にあったもの── PdMを外して見えた、PdMがやるべき仕事/Buildable ≠ Shippable: What Removing the PM Taught Me About the PM’s Job
yappli_developers
0
430
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
140
ALBのLCU予約とトラフィックの波によるプロダクト理解 / Understanding ALB LCU and Traffic Spikes
mito201
1
140
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
510
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
2
190
WireGuard for Apache NuttX - Bringing Secure Remote Access to embedded Devices -
aki310ooooo
0
130
Adversary Infrastructure Hunting101
disconinja
0
190
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
The SEO Collaboration Effect
kristinabergwall1
1
610
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
290
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
290
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
520
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Designing for Timeless Needs
cassininazir
1
540
Being A Developer After 40
akosma
PRO
92
590k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
610
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 ありがとうございました