0

So I'm trying to add nodes to my existing Anthos k8s cluster Anthos Bare Metal - Add Node / Resize Cluster.

Just add the new nodes under NodePool and run the bmctl update command

apiVersion: baremetal.cluster.gke.io/v1                                                                                                                  
kind: NodePool                                                                                                                                           
metadata:                                                                                                                                                
  name: node-pool-1                                                                                                                                      
  namespace: cluster-anthos-prod-cluster                                                                                                                 
spec:                                                                                                                                                    
  clusterName: anthos-prod-cluster                                                                                                                       
  nodes:                                                                                                                                                 
  - address: 10.0.14.66                                                                                                                                  
  - address: 10.0.14.67                                                                                                                                  
  - address: 10.0.14.68                                                                                                                                  
  - address: 10.0.14.72                                                                                                                                  
  - address: 10.0.14.73

The new nodes are on RECONCILING state and upon checking the logs I have this messages below;

Warning:
FailedScheduling  
6m5s (x937 over 17h)  
default-scheduler  
0/6 nodes are available: 1 node(s) had taint {client.ip.colocate: NoIngress}, that the pod didn't tolerate, 2 node(s) had taint {client.ip.colocate: SameInstance}, that the pod didn't tolerate, 3 node(s) didn't match Pod's node affinity /selector.

enter image description here

Did I missed a step? Would like to ask some help where to start checking to fix my problem. Appreciate any help. Thank you.

-MD

Michael U.
  • 31
  • 3
  • 1
    Already fixed my error. Since my teammate applied a taint for our existing nodes, Anthos could not set that taint. To fix the issue, we edited the pod and add taint and it all went through! Just need to edit each pod though. :) – Michael U. Oct 20 '22 at 09:42

0 Answers0