一 推送镜像
docker pull quay.io/jetstack/cert-manager-cainjector:v1.8.2
docker tag quay.io/jetstack/cert-manager-cainjector:v1.8.2 10.177.85.101:8000/flink/cert-manager-cainjector:v1.8.2
docker push 10.177.85.101:8000/flink/cert-manager-cainjector:v1.8.2
docker pull quay.io/jetstack/cert-manager-controller:v1.8.2
docker tag quay.io/jetstack/cert-manager-controller:v1.8.2 10.177.85.101:8000/flink/cert-manager-controller:v1.8.2
docker push 10.177.85.101:8000/flink/cert-manager-controller:v1.8.2
docker pull quay.io/jetstack/cert-manager-webhook:v1.8.2
docker tag quay.io/jetstack/cert-manager-webhook:v1.8.2 10.177.85.101:8000/flink/cert-manager-webhook:v1.8.2
docker push 10.177.85.101:8000/flink/cert-manager-webhook:v1.8.2
二 helm安装operator
2.1 添加helm仓库
helm repo add --username admin --password Harbor@2468 harbor http://10.177.85.101:8000/chartrepo/helm
2.2 安装 chart
helm install flink-kubernetes-operator --set image.repository=10.177.85.101:8000/flink/flink-kubernetes-operator --set image.tag latest --username=admin --password=Harbor@2468 --version 1.4.0 harbor/flink-kubernetes-operator -n flink-operator
如果报如下错误:
Error: INSTALLATION FAILED: Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": context deadline exceeded
则需要添加--set webhook.create=false
参数文章来源:https://www.toymoban.com/news/detail-840643.html
helm install flink-kubernetes-operator --set image.repository=10.177.85.101:8000/flink/flink-kubernetes-operator --set image.tag latest --set webhook.create=false --username=admin --password=Harbor@2468 --version 1.4.0 harbor/flink-kubernetes-operator -n flink-operator
文章来源地址https://www.toymoban.com/news/detail-840643.html
到了这里,关于Flink K8S Operator 离线安装的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!