Kubernetes delete label

How do you delete a label from a Kubernetes node? First if you created a label for a node: $ kubectl label node <nodename> <labelname>=<value> My example, I’m working on Ceph on Kubernetes. $ kubectl label node kublaxnode3.example.com ceph-mon=enabled ceph-mgr=enabled delete above labels from its node $ kubectl label node Read more…

By Jeff Masud, ago

Kubernetes error: namespaces “gitlab-managed-apps” is forbidden: User “system:serviceaccount:gitlab-managed-apps:gitlab-sa” cannot get namespaces in the namespace “gitlab-managed-apps”

Today I’ve been working on getting a Gitlab CE server connected to Kubernetes for deployments and testing, but having some issues. I’m running a stock Kubernetes installation on CentOS 7.4 with these versions kubeadm-1.9.3-0.x86_64 kubelet-1.9.3-0.x86_64 kubernetes-cni-0.6.0-0.x86_64 kubectl-1.9.3-0.x86_64 gitlab-ce-10.5.2-ce.0.el6.x86_64 This cluster has 1 controller and 2 nodes to start.  After putting Read more…

By Jeff Masud, ago