brew安装helm网上的安装步骤都还行,只是init报错,查找原因是kubectl的client端和server端版本需要一致,解决办法:
helm init --service-account tiller --override spec.selector.matchLabels.'name'='tiller',spec.selector.matchLabels.'app'='helm' --output yaml | sed 's@apiVersion: extensions/v1beta1@apiVersion: apps/v1@' | kubectl apply -f -
出现结果
deployment.apps/tiller-deploy created
service/tiller-deploy created
ok