株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

ver2までは、
tillerというのを使っていたんだけどver3からは必要なくなったみたいで消されたこれすごく悩んだ

インストール

brew install kubernetes-helm

チャート作成

helm create testchart

インストール

helm install testchart --generate-name

出力結果

名前:testchart-1581969101
最終展開:2020年2月18日火曜日04:51:43 2020
NAMESPACE:デフォルト
ステータス:展開済み
改訂:1
ノート:
1.次のコマンドを実行して、アプリケーションのURLを取得します。
  export POD_NAME = $(kubectl get pods --namespace default -l 
"app.kubernetes.io/name=testchart,app.kubernetes.io
/instance=testchart-1581969101" -o jsonpath = "{。items [0] 
.metadata 。名前}")
  echo「アプリケーションを使用するには、http://127.0.0.1:8080にアクセスしてください」
  kubectl --namespace default port-forward $ POD_NAME 8080:80

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)