centos7 install helm

download helm
for 2.9.1
https://storage.googleapis.com/kubernetes-helm/helm-v2.9.1-linux-amd64.tar.gz

also you can download 2.10 ,
but notice ,the helm server and client version must same version, or it can not work

tar -zxvf helm.tar.gz
cp helm /usr/local/bin/

install tiller

kubectl create clusterrolebinding tiller-cluster-admin
--clusterrole=cluster-admin
--serviceaccount=kube-system:default

helm install --name prometheus stable/prometheus
helm ls

helm init --service-account tiller --force-upgrade -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.9.1 --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts

https://stackoverflow.com/questions/50664791/tiller-is-installed-but-not-found-by-helm

https://blog.csdn.net/qq_35959573/article/details/80885052

install k8s
https://www.jianshu.com/p/5cae59ec7212

https://stackoverflow.com/questions/50664791/tiller-is-installed-but-not-found-by-helm

https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/

https://blog.csdn.net/qq_21816375/article/details/80165167

https://blog.csdn.net/yjk13703623757/article/details/72187862?locationNum=5&fps=1

local install seldon-core in k8s
cd seldon-core

helm install ./helm-charts/seldon-core-crd --name seldon-core-crd --set usage_metrics.enabled=true
helm install ./helm-charts/seldon-core --name seldon-core

!eval $(minikube docker-env) && s2i build . seldonio/seldon-core-s2i-python3:0.1 keras-mnist:0.1

!kubectl create -f keras_mnist_deployment.json

!kubectl get seldondeployments seldon-deployment-example -o jsonpath='{.status}'

!cd ../../../util/api_tester && make build_protos

!python ../../../util/api_tester/api-tester.py contract.json
minikube ip kubectl get svc -l app=seldon-apiserver-container-app -o jsonpath='{.items[0].spec.ports[0].nodePort}'
--oauth-key oauth-key --oauth-secret oauth-secret -p

!minikube delete

你可能感兴趣的:(centos7 install helm)