rancher2.16未能加入到gitlab11.7.5(Building a Kubernetes CI/CD Pipeline)

各位大家好! 我在rancher.com/blog 看到一篇关于 “Building a Kubernetes CI/CD Pipeline”我试着跟着做了一下 ,可是连接k8s 总是报错。下面说下操作过程和报错。所用doc链接:[url]https://rancher.com/blog/2018/2018-08-07-cicd-pipeline-k8s-autodevops-rancher-and-gitlab/[/url] 所用视频链接:[url]https://www.youtube.com/watch?v=efh76mKwyIc[/url] 连接k8s时报错: [img]/uploads/image/fujian/20190214/1550112704833501.png[/img]" rel="lightbox"> /uploads/image/fujian/20190214/1550113119377085.png

/uploads/image/fujian/20190214/1550113150327821.png


 

我是照着上面的链接做的:获取api url 信息:https://xxxx:6443

获取pem格式的证书

创建RBAC的相关信息kubectl apply -f http://x.co/rm082018

       其中创建好的namespace gitlab-managed-apps 不属于任何项目

        /uploads/image/fujian/20190214/1550114809904391.png

根据namespace获取token:kubectl describe secrets/gitlab-secret -n gitlab-managed-apps | grep token:

/uploads/image/fujian/20190214/1550114204601263.png


一添加的时候 就会报“

The form contains the following error:

  • Platform kubernetes namespace is reserved


已邀请:

要回复问题请先登录注册