Kubernetes&Database-k8s中helm方式安装postgresql及pgadmin
安装 helm
这里使用脚本的方式安装
#curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_helm.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7160 100 7160 0 0 8035 0 --:--:-- --:--:-- --:--:-- 8026
#chmod 700 get_helm.sh
#./get_helm.sh
Downloading https://get.helm.sh/helm-v2.16.10-darwin-amd64.tar.gz
Preparing to install helm and tiller into /usr/local/bin
Password:
helm installed into /usr/local/bin/helm
tiller installed into /usr/local/bin/tiller
Run 'helm init' to configure helm.
Tiller服务器运行在Kubernetes集群中,它会处理Helm客户端的请求,与Kubernetes API Server交互。
安装tiller服务:
#helm init --upgrade --tiller-image registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.10 --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
Creating /Users/bytedance/.helm
Creating /Users/bytedance/.helm/repository
Creating /Users/bytedance/.helm/repository/cache
Creating /Users/bytedance/.helm/repository/local
Creating /Users/bytedance/.helm/plugins
Creating /Users/bytedance/.helm/starters
Creating /Users/bytedance/.helm/cache/archive
Creating /Users/bytedance/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /Users/bytedance/.helm.
Tiller (the Helm server-side com