User Tools

Site Tools


kubernetes-gitlab

Permission gitlab http://centosquestions.com/kubernetes-error-namespaces-gitlab-managed-apps-forbidden-user-systemserviceaccountgitlab-managed-appsgitlab-sa-cannot-get-namespaces-namespace-gitlab-managed-apps/

  911  kubectl describe clusterrolebinding kubernetes-admin
  912  kubectl describe clusterrolebinding cluster-admin
  913  kubectl create clusterrolebinding gitlab-cluster-rule   --clusterrole=cluster-admin --serviceaccount=kube-system:gitlab
  914  sudo tail -f /var/log/gitlab/gitlab-rails/production.log
  915  nano -w gitlab-sa.yaml
  916  kubectl create namespace gitlab-managed-apps
  917  kubectl create -f gitlab-sa.yaml
  918  kubectl get secret --namespace=gitlab-managed-apps
  919  kubectl describe gitlab-sa-token-7jcr6  --namespace=gitlab-manage-apps
  920  kubectl describe secrets/gitlab-sa-token-7jcr6  --namespace=gitlab-manage-apps
  921  kubectl describe secrets/gitlab-sa-token-7jcr6 --namespace=gitlab-manage-apps
  922  kubectl get secret --namespace=gitlab-managed-apps
  923  sudo kubectl describe secrets/gitlab-sa-token-7jcr6 --namespace=gitlab-manage-apps
  924  kubectl create namespace gitlab-managed-apps
  925  sudo kubectl get secret --namespace=gitlab-managed-apps
  926  sudo kubectl describe secrets/gitlab-sa-token-7jcr6 --namespace=gitlab-manage-apps
  927  sudo kubectl describe secrets/gitlab-sa-token-7jcr6 --namespace=gitlab-managed-apps
kubernetes-gitlab.txt · Last modified: 2018/05/15 21:23 by admin