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
Lenet の開発環境の紹介
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
atsu.kg
December 12, 2020
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lenet の開発環境の紹介
atsu.kg
December 12, 2020
More Decks by atsu.kg
See All by atsu.kg
OpenTelemetry PHPで始める!オブザーバビリティ入門
atsushikoga
0
1.8k
Cloud Pub/Sub Pull Subscriberの構成検討
atsushikoga
0
1.4k
GCPを使った transaction log tailing と polling publisher の性能比較
atsushikoga
0
1.1k
巨大なモノリスの静的解析をレベルMaxにする方法
atsushikoga
0
4k
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
610
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
Paper Plane
katiecoart
PRO
1
51k
Mobile First: as difficult as doing things right
swwweet
225
10k
Skip the Path - Find Your Career Trail
mkilby
1
140
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Building AI with AI
inesmontani
PRO
1
1.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
Music & Morning Musume
bryan
47
7.2k
Transcript
Lenet の開発環境の紹介
自己紹介 • 古賀 敦士 • 株式会社ホワイトプラス所属 • アプリケーション開発を担当 • 時々、PHP基盤を改善 •
最近は社内のランニング部で良い記録が出せ るよう調整中
自宅にいたまま出せる! ネット完結型クリーニング 今日は Lenet の開発環境について紹介
開発環境の構成 Kubernetesを本番運用しており、類似構成で開発するためにKubernetesを使用
開発環境のコンテナ化によるメリット ・起動、停止が高速 ・アプリケーション実行環境の差異を低減 等々
Kubernetesやコンテナを使った開発環境って扱うの難しそう...
Kubernetesやコンテナを使った開発環境って扱うの難しそう... それらを意識せずに使えるように整備されている
例えば、開発環境の構築
開発環境の構築 my up 作成/起動 my halt 停止 my destroy 破棄 ・独自コマンド(my)を使ってコマンド一発で構築
・環境を壊しても、my destroy -> my up で簡単に再構築 ・デザイナーチームなどにも同じ環境を展開
他には、コマンド実行
コマンド実行(一般的な流れ) 1. Pod名確認 kubectl get pod 2. コンテナアクセス kubectl
exec -it ${POD} -c ${CONTAINER} -- /bin/sh 3. コマンド実行 ex) php artisan migrate これらの手順を毎回やるのは面倒...
Proxyコマンドを設定 コマンド作成 パスを通す artisan migrate と打つだけ。1ステップでコンテナ上で実行できる!
PHPUnit や バッチ実行などもProxyコマンド経由にすることで、 開発者はコンテナアクセスを意識しなくて済む こんな感じで、Lenet ではエンジニアが開発に集中できるように開発環境の改善を 進めています