LoginSignup
1
0

More than 3 years have passed since last update.

k8sのコマンドまとめ

Last updated at Posted at 2019-11-17

環境系

  • 今あるクラスター設定の一覧取得
    kubectl config get-contexts
    ※現在使用しているクラスターには「*」がついている

  • クラスターの新規追加
    kubectl config set-context [クラスター名]

  • クラスターの切り替え
    kubectl config use-context

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0