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
Lenet の開発環境の紹介
Search
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.9k
Cloud Pub/Sub Pull Subscriberの構成検討
atsushikoga
0
1.4k
GCPを使った transaction log tailing と polling publisher の性能比較
atsushikoga
0
1.1k
巨大なモノリスの静的解析をレベルMaxにする方法
atsushikoga
0
4.1k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
350
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Facilitating Awesome Meetings
lara
57
7.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Paper Plane
katiecoart
PRO
4
54k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
It's Worth the Effort
3n
188
29k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
400
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
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 ではエンジニアが開発に集中できるように開発環境の改善を 進めています