在 GKE 上安装 Greenplum
Greenplum install on GKE
我正尝试按照 here
的说明在 GKE 上安装 Greenplum
我完成了第 12 步:但是我的操作员 pod 失败了,因为它无法提取秘密:
kubectl logs -l app=greenplum-operator -n greenplum
{"level":"INFO","ts":"2020-03-10T18:20:50.803Z","logger":"operator-setup","msg":"Go Info","Version":"go1.13.7","GOOS":"linux","GOARCH":"amd64"}
{"level":"INFO","ts":"2020-03-10T18:20:50.803Z","logger":"operator-setup","msg":"creating operator"}
W0310 18:20:50.803978 1 client_config.go:541] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W0310 18:20:50.804036 1 client_config.go:546] error creating inClusterConfig, falling back to default config: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied
看起来是拉取镜像的权限问题,但是前面说明中的镜像拉取测试成功了:
job.batch/greenplum-operator-fetch-test created
GREENPLUM-OPERATOR TEST OK
job.batch "greenplum-operator-fetch-test" deleted
还有其他人运行关注这个问题吗?
当前文档存在错误。你很可能做对了一切。但是,不再需要使用先决条件页面 (https://greenplum-kubernetes.docs.pivotal.io/1-12/prepare-gke.html) 中列出的 "Enable Kubernetes alpha features in this cluster" 创建 GKE 集群。事实上,它目前正在导致您似乎遇到的确切问题。尝试按照所有文档创建 GKE 集群,但确保不启用 GKE "alpha features".
我正尝试按照 here
的说明在 GKE 上安装 Greenplum我完成了第 12 步:但是我的操作员 pod 失败了,因为它无法提取秘密:
kubectl logs -l app=greenplum-operator -n greenplum
{"level":"INFO","ts":"2020-03-10T18:20:50.803Z","logger":"operator-setup","msg":"Go Info","Version":"go1.13.7","GOOS":"linux","GOARCH":"amd64"}
{"level":"INFO","ts":"2020-03-10T18:20:50.803Z","logger":"operator-setup","msg":"creating operator"}
W0310 18:20:50.803978 1 client_config.go:541] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W0310 18:20:50.804036 1 client_config.go:546] error creating inClusterConfig, falling back to default config: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied
看起来是拉取镜像的权限问题,但是前面说明中的镜像拉取测试成功了:
job.batch/greenplum-operator-fetch-test created
GREENPLUM-OPERATOR TEST OK
job.batch "greenplum-operator-fetch-test" deleted
还有其他人运行关注这个问题吗?
当前文档存在错误。你很可能做对了一切。但是,不再需要使用先决条件页面 (https://greenplum-kubernetes.docs.pivotal.io/1-12/prepare-gke.html) 中列出的 "Enable Kubernetes alpha features in this cluster" 创建 GKE 集群。事实上,它目前正在导致您似乎遇到的确切问题。尝试按照所有文档创建 GKE 集群,但确保不启用 GKE "alpha features".