2020年5月22日金曜日

helmインストール

手順:
1)helmの実行
brew install kubernetes-helm

2)次のコマンドで tiller という名前空間を作成します。
kubectl create namespace tiller

3)Kubernetesクラスタ上にtillerをデプロイする。 
helm init


4)Kubernetesクラスタ上にtillerをデプロイする。 (その2)
kubectl get po,deploy,svc  -n kube-system -l name=tiller


5)helm repolistを実行してみる。


6)helm searchで、インストール可能なchart一覧が表示される


[設定メモ]
helm init
kubectl get deployment -n kube-system
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account=tiller
helm version
kubectl create namespace tiller
users
tiller -listen=localhost:44134 -storage=secret -logtostderr
export NAME=${RELEASE_NAME}-dev
export VALUES=chart/values-dev.yaml
export TAG=develop
export NAMESPACE=${DEVELOPMENT_NAMESPACE}

export DEPLOYS=$(helm ls | grep ${NAME} | wc -l)

0 件のコメント:

コメントを投稿

AIエージェント(Cline)

今更ながら感は、ありますがAIエージェントとローカルLLMで MCPの設定を行ってみたいと思います。 1)ローカルLLMを使う上で、Ollamaと qwen2.5-coder:14bをいれました。 3)MCPを動かす上で、以下の導入を行います。 ①nodeのインストール: bre...