Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lenet の開発環境の紹介

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for atsu.kg atsu.kg
December 12, 2020
1k

Lenet の開発環境の紹介

Avatar for atsu.kg

atsu.kg

December 12, 2020
Tweet

Transcript

  1. 開発環境の構築
 my up    作成/起動
 my halt    停止
 my destroy  破棄
 ・独自コマンド(my)を使ってコマンド一発で構築


    ・環境を壊しても、my destroy -> my up で簡単に再構築
 ・デザイナーチームなどにも同じ環境を展開

  2. コマンド実行(一般的な流れ)
 1. Pod名確認
   kubectl get pod
 2. コンテナアクセス
 kubectl

    exec -it ${POD} -c ${CONTAINER} -- /bin/sh
 3. コマンド実行
   ex) php artisan migrate
 これらの手順を毎回やるのは面倒...