按照其官方文档[1]尝试在mac本地的minikube上运行Flink Kubernetes Operator,结果抛下面的连接错误:
$ helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator --set image.repository=apache/flink-kubernetes-operator WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /Users/admin/.kube/config WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /Users/admin/.kube/config Error: INSTALLATION FAILED: failed to create resource: Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": dial tcp 10.96.143.23:443: connect: connection refused 实验步骤: a) minikube start --kubernetes-version=v1.21.5 --memory 8192 --cpus 4 b) kubectl create -f https://github.com/jetstack/cert-manager/releases/download/v1.7.1/cert-manager.yaml c) helm repo add flink-operator-repo https://downloads.apache.org/flink/flink-kubernetes-operator-0.1.0/ d) helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator--set image.repository=apache/flink-kubernetes-operator [1] https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-release-0.1/docs/try-flink-kubernetes-operator/quick-start/