Hi there,
I'm having troubles using GKE with preemptible nodes/pool and node taint.

See below my cluster creation command

gcloud beta container --project "bleah" clusters create "c0b001" --region 
"europe-west1" --username="admin" --cluster-version "1.8.4-gke.0" 
--machine-type "n1-standard-2" --image-type "COS" --disk-size "80" 
--local-ssd-count "1" --scopes 
"https://www.googleapis.com/auth/compute.readonly","https://www.googleapis.com/auth/datastore","https://www.googleapis.com/auth/devstorage.read_write","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append";
 --num-nodes "1" --network "default" --enable-cloud-logging 
--enable-cloud-monitoring --enable-autoscaling --enable-legacy-authorization 
--enable-network-policy --addons "HttpLoadBalancing","HorizontalPodAutoscaling" 
--min-nodes "1" --max-nodes "3" --enable-autoupgrade --enable-autorepair 
--maintenance-window "02:00" --labels "env=dev","cluster=c0b001"

gcloud beta container node-pools create preemptible-pool --preemptible 
--cluster=c0b001 --disk-size=50 --enable-autoupgrade --enable-autorepair 
--image-type=cos --machine-type=n1-standard-2 
--node-labels=pool=preemptible,machinetype=n1-standard-2 --num-nodes=1 
--region=europe-west1 --enable-autoscaling --max-nodes=3 --min-nodes=1 
--enable-cloud-endpoints --scopes 
"https://www.googleapis.com/auth/compute.readonly","https://www.googleapis.com/auth/datastore","https://www.googleapis.com/auth/devstorage.read_write","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append"--node-taints=dedicated=stateless:NoSchedule

preemptible-pool never becomes ready and fluentd pods stuck in 
ContainerCreating phase. I assume this is caused by the taint but there is no 
way for me to specify tolerations on "gke managed" containers such as calico or 
fluentd.

My goal is allow only some particularly deployments/pod to be scheduled on this 
pool while all the others must be located on default-pool nodes.

Thanks. 

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes... Micke Lisinge
    • Re: [k... 'David Oppenheimer' via Kubernetes user discussion and Q&A
      • Re... Micke Lisinge
        • ... 'David Oppenheimer' via Kubernetes user discussion and Q&A
          • ... Micke Lisinge
            • ... jean
              • ... jean
                • ... 'David Oppenheimer' via Kubernetes user discussion and Q&A
                • ... jean
                • ... 'Ajit Kumar' via Kubernetes user discussion and Q&A
                • ... donina . lorenzo
                • ... 'David Oppenheimer' via Kubernetes user discussion and Q&A
                • ... Lorenzo Donina
                • ... 'David Oppenheimer' via Kubernetes user discussion and Q&A
                • ... Lorenzo D

Reply via email to