安裝Helm(三臺(tái)都安裝)
下載helm安裝包并加入執(zhí)行目錄
tar zxf helm-v3.2.4-linux-amd64.tar.gz
cd linux-amd64
cp helm /usr/bin/
helm version
添加rancher穩(wěn)定版?zhèn)}庫(三臺(tái)都安裝)
helm repo add rancher-stable http://rancher-mirror.oss-cn-beijing.aliyuncs.com/server-charts/stable
使用helm創(chuàng)建ns
kubectl create namespace cattle-system
使用helm安裝cert-manager
注意:證書管理器需要與k8s集群版本兼容,對應(yīng)關(guān)系:https://cert-manager.io/docs/installation/supported-releases/?spm=a2c4g.11186623.0.0.32be254d69N1yJ
安裝 CustomResourceDefinition 資源
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.crds.yaml
為 cert-manager 創(chuàng)建命名空間
kubectl create namespace cert-manager
添加 Jetstack Helm 倉庫(三臺(tái)機(jī)器都做)
helm repo add jetstack https://charts.jetstack.io
更新本地 Helm chart 倉庫緩存(三臺(tái)機(jī)器都做)
helm repo update
文章來源:http://www.zghlxwxcb.cn/news/detail-834500.html
安裝 cert-manager Helm chart
helm install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--version v1.1.0
文章來源地址http://www.zghlxwxcb.cn/news/detail-834500.html
到了這里,關(guān)于k8s學(xué)習(xí)(RKE+k8s+rancher2.x)成長系列之簡配版環(huán)境搭建(四)之Helm及cert-manager安裝的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!