Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubernetes remove taint

$ kubectl describe node minikube
Name:               minikube
Roles:              control-plane,master
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=minikube
                    kubernetes.io/os=linux
                    minikube.k8s.io/commit=a03fbcf166e6f74ef224d4a63be4277d017bb62e
                    minikube.k8s.io/name=minikube
                    minikube.k8s.io/updated_at=2021_09_02T15_54_26_0700
                    minikube.k8s.io/version=v1.22.0
                    node-role.kubernetes.io/control-plane=
                    node-role.kubernetes.io/master=
                    node.kubernetes.io/exclude-from-external-load-balancers=
Annotations:        kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
                    node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Thu, 02 Sep 2021 15:53:58 +0200
Taints:             group=ampa:NoSchedule
Unschedulable:      false
(...)
Comment

Kubernetes: Remove taint from node

We can use kubectl taint but adding an hyphen at the end to remove the taint (untaint the node):
$ kubectl taint nodes minikube application=example:NoSchedule-
node/minikubee untainted
Comment

PREVIOUS NEXT
Code Example
Shell :: docker latest release 
Shell :: error: refname refs/heads/origin not found 
Shell :: pip install imread 
Shell :: shell replace plus in string 
Shell :: bash enum 
Shell :: rust install cargo 
Shell :: preview of file windows 
Shell :: httpd package not found 
Shell :: assign diff result into a variable in shell script 
Shell :: cuddn version check 
Shell :: get folder size in lnux 
Shell :: how to install and use aws cli and setup the user from the .csv file 
Shell :: wp scan website 
Shell :: git commit allow empty to trigger ci 
Shell :: updating package manager cause missing reference unity 
Shell :: what is set in ubuntu 
Shell :: sed beginning of file 
Shell :: air is not a command 
Shell :: linux change all folders to 755 and files to 644 
Shell :: pnpx no-interactive 
Shell :: install gtk in msys2 shell 
Shell :: how to chck if i have bluetooth in lunux machine 
Shell :: Mirror Repository Ubuntu 20.04 
Shell :: albart for linux 
Shell :: pip install SSLComerz 
Shell :: kill SIGUSR2 
Shell :: linux for loop 1 to 100 odd 
Shell :: Clear showmount -a result 
Shell :: install bind9 ubuntu 16.04 
Shell :: UINSTALL EVERTYHING INNO 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =