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
Gavin Zhou
February 23, 2017
Technology
620
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
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
360
AI ネイティブな組織に Gemini Enterprise Agent Platform がなぜ必要なのか
asei
1
190
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
AIエージェントを前提としたプラットフォーム エンジニアリング:GKEで作るAgent-Ready Golden Path
legalontechnologies
PRO
2
220
toio・myCobotでフィジカルAIっぽいことを行うための検討(とりあえず調査) / フィジカルAI LT(IoTLTによる開催)
you
PRO
0
300
Webアクセシビリティ入門 2026
recruitengineers
PRO
2
460
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
ガバメントクラウドでのランサムウェア対策
techniczna
2
1k
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
530
【CEDEC2026】グラフィックスエンジニアのためのニューラルシェーディング入門
cygames
PRO
0
120
新しい SLO が良い感じにハマっている話
z63d
5
2.1k
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
440
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
260
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
400
Evolving SEO for Evolving Search Engines
ryanjones
0
250
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
450
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、勤怠管理など)