你这个报错主要原因还是访问外部的一些镜像源失败导致的,你可以使用一些云厂商提供的代理来解决拉镜像失败的问题

或者使用--set webhook.create=false来关闭webhook功能

Best,
Yang

casel.chen <casel_c...@126.com> 于2022年4月14日周四 15:46写道:

> The deployment 'cert-manager-webhook' shows
> Failed to pull image "quay.io/jetstack/cert-manager-webhook:v1.7.1": rpc
> error: code = Unknown desc = Error response from daemon: Get "
> https://quay.io/v2/": net/http: TLS handshake timeout
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 在 2022-04-14 15:40:51,"casel.chen" <casel_c...@126.com> 写道:
> >按照其官方文档[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/
>

回复