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
kubernetes chatops
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gavin Zhou
February 23, 2017
Technology
630
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
kubernetes chatops
kubernetes chatops
Gavin Zhou
February 23, 2017
More Decks by Gavin Zhou
See All by Gavin Zhou
Prometheus Operator
gavinzhou
3
1.3k
Other ingress voyager
gavinzhou
0
200
Multiple Ingress on GKE
gavinzhou
0
1.9k
Building Minimal Docker Containers
gavinzhou
0
1.4k
Other Decks in Technology
See All in Technology
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
1
200
Sony-DroidKaigi2026
sony
1
400
PfEingのアプローチで働こう
rindrics
0
200
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
2
220
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
120
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
270
AndroidでHDRメディアを「壊さずに」扱う
chigichan24
0
420
Azure Cost Management の FOCUS コストデータを迷わず読むための“3つの軸”
tetsuyaooooo
0
160
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
230
AI時代におけるプロダクト横断勉強会の設計
zozotech
PRO
0
170
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
600
Backstageでつくるセルフサービスな社内開発基盤
kikunosuke75
1
360
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
560
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
320
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
エンジニアに許された特別な時間の終わり
watany
108
250k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
270
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Embracing the Ebb and Flow
colly
88
5.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
510
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
Transcript
kubernetesのchatops Orangesys Inc.
$Who am I Orangesys Inc. Tachibana Shuji Twitter @yepn https://github.com/orangesys
Running
Orangesys Inc. SaaS監視システム @orangesysio https://orangesys.io
None
None
Orangesys • All in docker • Kubernetes on GKE •
OpsDev -> NoOps Architecture
Architecture: Orangesys > Kubernetes Apigateway Namespace Cloud Load Balancing Standard
Devices HTTPS Browser Client Production Namespace Kube-system Namespace Tiller Replication Controller Grafana Container Engine Replication Controller Influxdb Container Engine Replication Controller Corporate Site App Engine Autoscaling Orangesys Firebase Autoscaling Monitoring Namespace Prometheus RC Influxdb RC Grafana RC Opsbot Namespace Kubebot RC K8s-event RC Stripe Server Api Container Engine Replication Controller PostgresSQL Container Engine Replication Controller MariaDb Container Engine Replication Controller Nginx Container Engine Replication Controller Traefik Container Engine Replication Controller Server Telegraf Ingress Container Engine Replication Controller Kong ApiGateway Container Engine Replication Controller Kubenetes API Replication Controller SSL Cert Bot Replication Controller Orange Api Container Engine Replication Controller
Technology Stack
Agenda • なぜchatops • hubotを使ってない • kubernetes botの事例 • Topic
なぜchatops GKEのkubernetesの上、運用のため、ルーチンワークが全自動化ため、あまりops が少ない 情報共有のため、chatopsを入れた
hubotを使ってない • コンテナ運用のため、上記3種類のbotのimagesが大きすぎ、起 動が重い。(200MBを超え) • stackをシンプルしたい、coffeesciptsを避けたい • botが重い、機能が多すぎ、メンテコストが高い • kubernetesとの相性があまり
その他bot • cog & errobt • cog pluginの開発言語が自由ですが、本体はelixir • 既存のbotが重い、機能が多すぎ、メンテコストが高い
• kubernetesとの相性があまり
go-chat-bot シンプルな機能がほしいから、go-chat-botで数十行ぐらい、作りました。 Kubernetes apiを活用し、slackへのevent転送が簡単 主流のIMツールはwebhook提供のため、より一層chatopsが簡単になります
Kubernetes event bot Kubernetes event apiを監視し、全部PODの イベントを通知します。
Circleci release event Distributed Teamsのため、リリースタイミングを担当者にお任せします。 リリース情報を共有したい
Letsencrypt証明書自動更新bot 証明証の有効期間を監視し、1ヶ月前、更新、 Let's Encrypt DNS Challenge Please deploy a DNS
TXT record under the name _acme-challenge.orangesys.io with the following value: 667drNmQL3vX6bu8YZlgy0wKNBlCny8yrjF1lSaUndc Once this is deployed, Press ENTER to continue
kubernetes ops bot podの状態共有、自動構築のお客環境の状態確認など
Topic コンテナ時代になり、更に自動化を進化し、chatopsも変化 Kubernetesの運用なら、chatopsは情報共有の役割 エンジニアのアシスタントになり(事務処理、on-call standby、勤怠管理など)