Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在安装过程中,遇到报错。 #1

Open
goversion opened this issue Aug 26, 2019 · 1 comment
Open

在安装过程中,遇到报错。 #1

goversion opened this issue Aug 26, 2019 · 1 comment

Comments

@goversion
Copy link

goversion commented Aug 26, 2019

你好,我按照你的 readme 的 Getting started,体验了一下,遇到如下报错。就其使用过程,您能否给出更多说明或文档,感谢。

  1. Error creating: pods "kubernetes-operator-578998f49-" is forbidden: error looking up service account ecs-system/kubernetes-operator: serviceaccount "kubernetes-operator" not found

  2. 在执行 test/create_ecs.sh 时,遇到如下报错。

http://127.0.0.1:8001/api/v1/region/default/cluster/test-cluster
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {
    
  },
  "status": "Failure",
  "message": "the server could not find the requested resource",
  "reason": "NotFound",
  "details": {
    
  },
  "code": 404

Screenshot from 01

@goversion goversion changed the title 在使用过程中,遇到报错。 在安装过程中,遇到报错。 Aug 26, 2019
@gosoon
Copy link
Owner

gosoon commented Sep 6, 2019

你这个是部署 kube-operator 失败导致的,按如下方式部署完成后再创建 cr 即可:

$ kubectl create -f deploy/crds/ecs_v1_kubernetescluster_crd.yaml
$ kubectl create -f deploy/role.yaml
$ kubectl create -f deploy/kube-operator.yaml
$ bash test/create_ecs.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants