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
Rancherとプロキシの戦い
Search
CapsuleCloud
January 25, 2018
Technology
810
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rancherとプロキシの戦い
【大阪第3回】コンテナ管理ツール Rancher勉強会 にて発表したプレゼンです。
イベントURL
https://rancherjp.connpass.com/event/73019/
CapsuleCloud
January 25, 2018
More Decks by CapsuleCloud
See All by CapsuleCloud
OpenFaaS x Rancher x Azure
capsulecloud
0
400
OpenFaaS x RancherのDeveloper Experience
capsulecloud
0
390
無料ドメインで Rancher/Kubernetes
capsulecloud
1
780
Kubernetesはじめました
capsulecloud
1
520
Rancher x OpenFaas x GCP
capsulecloud
0
680
OpenFaaS x Rancher が気づかせてくれたこと
capsulecloud
0
1.5k
Rancher!オンプレ!DevOps!
capsulecloud
2
530
Rancherで構築するDPP(Data Processing Platform)
capsulecloud
2
1.2k
Rancherで構築するオンプレとクラウドのハイブリッド環境
capsulecloud
1
910
Other Decks in Technology
See All in Technology
20260912_スクフェス三河
kgnkhkr
0
300
Amazon S3 Tablesに全部任せてみた結果——コンパクション/スナップショット管理は本当に手放せるか
shigeruoda
1
480
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
470
プロダクト思考 × 基盤思考を AIで実現する Compound Engineering
tkc66buzz
1
320
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
530
enechainの内製セルフサービスプラットフォーム
hiyosi
0
160
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
120
安心して変更できるWebフロントエンドの作り方
pirosikick
4
1.1k
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
630
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
150
あるけみー式LTスライド作成術
alchemy1115
1
180
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
420
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
Odyssey Design
rkendrick25
PRO
2
800
Producing Creativity
orderedlist
PRO
348
41k
Fireside Chat
paigeccino
43
4k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Transcript
Rancherとプロキシの戦い
自己紹介 株式会社スーパーソフトウエア・技術部(入社11年目) 井上 健太郎 妻(薬剤師 ※このあとの流れに効いてきます) 子(4歳&1歳)
ジェネリック医薬品はご存知ですか? 新薬と同じ成分・効能をもつ価格の安いお薬です。
会社における私のポジションを例える 新薬(先発品)メーカー 研究開発を行い、新しいものを生み出し製造。 =先ほど登壇した山澤はコッチ ジェネリック(後発品)メーカー 自身で研究開発は行わず、特許の切れた新薬をパクって製造。 (だいぶ語弊あるので聞き流してください...) =私はコッチ!!
2017年末の出来事 顧客:「CIツールは前進プロジェクトと同じく Jenkins使うけど、イン ストールとか面倒だし、ぼちぼち Docker使かおうかな。」 以下、()内は私の心の声です。 私: (ここや!!) 「Dockerやるなら管理が煩雑化するのもアレなんで Rancher使っ ていきましょう!」
(Dockerも使ったことない俺が言うのもなんやけど ...) 「オーケストレータは今後の見通し考慮して Cattleではなく Kubernetesでいったんいきますね!」 (どっちも知らんのによう言うで ...)」 「とりあえず説明するよりこっちでちゃちゃっと環境作っちゃい ますね!」 (やったことないくせに?)
Rancher使って、Kubernetesクラスタ上で、Jenkins動かす 2017年中のぼんやりとした目標 ⇒ただ、プロキシが気がかりではある・・・
プロキシとの戦い① Dockerインストール失敗 まず、Dockerをインストールしないことには始まらないので、yumの プロキシ設定をする。 これはいつものことなので全く想定どおり! $cat /etc/yum.conf proxy=http://proxy.xxx.xxx.co.jp:port proxy_username=user proxy_password=pass
Rancherサーバーが立ち上がった ↓ マスターとミニオンもすんなり追加できた ↓ しかし、プロキシとの本当の戦いはここからだった・・・
プロキシとの戦い② Helmコマンドインストール失敗 KubernetesマスターにHelmコマンドをインストールする。 ⇒shを実行してみるも無反応。なかでcurl を連発していること に気づき、.curlrcにプロキシを設定。 ちょっとイラつきだす! $cat /root/.curlrc proxy
= http://user:
[email protected]
:port
プロキシとの戦い③ Helm初期化失敗 helm initを発行すると 「Creating/root/.helm/repository/repositories.yaml」 の場所に接続できないみたいなエラーが出て失敗。 ⇒環境変数としてプロキシを定義。 もはや、やけくそ!
そもそも・・・ 顧客は早くJenkinsを立ち上げることを要求している。 =構築に時間かかりそうならアプローチを変えるべき。 ⇒いったんcattle使ってみよう。 ⇒すんなりJenkins立ち上がりました。
結論 私がまず顧客にすべき話は、 オーケストレーター何にするかとかではなく、 プロキシ環境の弊害と対策についてでした。
JenkinsのタイムゾーンがUTCになって いるという指摘を顧客から受けて、 docker-compose.ymlを直接触らなくて も、RancherのUIから環境変数に指定し てやれば解決できますよとやって見せる と意外とウケた。 余談ですが 以上。