netplugin
netplugin copied to clipboard
contiv-netmaster always Pending
docker 18.09 kubeadm 1.13
kubeadm init --kubernetes-version=v1.13.0 --pod-network-cidr=10.10.0.0/16 --apiserver-advertise-address=192.168.55.31 git clone https://github.com/contiv/netplugin cd netplugin/install/k8s/contiv ./contiv-compose use-release --k8s-api https://192.168.55.31:6443 -v $(cat ../../../version/CURRENT_VERSION) ./contiv-base.yaml > ./contiv.yaml kubectl apply -f contiv.yaml
kubectl get po --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE kube-system contiv-netmaster-vjsvd 0/1 Pending 0 9m32s kube-system coredns-86c58d9df4-hzt6d 0/1 Pending 0 55m kube-system coredns-86c58d9df4-zwn9d 0/1 Pending 0 55m kube-system etcd-kubecontiv1 1/1 Running 0 55m kube-system kube-apiserver-kubecontiv1 1/1 Running 0 55m kube-system kube-controller-manager-kubecontiv1 1/1 Running 0 55m kube-system kube-proxy-f79dv 1/1 Running 0 55m kube-system kube-scheduler-kubecontiv1 1/1 Running 0 55m
kubectl describe pod contiv-netmaster-vjsvd -n kube-system
Name: contiv-netmaster-vjsvd
Namespace: kube-system
Priority: 0
PriorityClassName:
Controlled By: ReplicaSet/contiv-netmaster
Init Containers:
contiv-netplugin-init:
Image: contiv/netplugin-init:latest
Port:
usr-local-sbin:
Type: HostPath (bare host directory volume)
Path: /usr/local/sbin/
HostPathType:
contiv-netmaster-token-ts9pl:
Type: Secret (a volume populated by a Secret)
SecretName: contiv-netmaster-token-ts9pl
Optional: false
QoS Class: BestEffort
Node-Selectors: node-role.kubernetes.io/master=
Tolerations: node-role.kubernetes.io/master:NoSchedule
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
Warning FailedScheduling 2m6s (x64 over 12m) default-scheduler 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.
How to solve this problem? Thanks!
this document may help you https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
I'm hitting this too, @amwork2010 did you figure out a solution?