Difference between revisions of "Node taints on managed node groups"

From wikieduonline
Jump to navigation Jump to search
 
Line 13: Line 13:
 
     ],
 
     ],
 
   "nodeRole": "arn:aws:iam::111122223333:role/AmazonEKSNodeRole",
 
   "nodeRole": "arn:aws:iam::111122223333:role/AmazonEKSNodeRole",
   "taints": [
+
   "[[taints]]": [
 
       {
 
       {
 
           "key": "dedicated",
 
           "key": "dedicated",

Latest revision as of 09:02, 25 January 2024


aws eks create-nodegroup \
 --cli-input-json '
{
  "clusterName": "my-cluster",
  "nodegroupName": "node-taints-example",
  "subnets": [
     "subnet-1234567890abcdef0",
     "subnet-abcdef01234567890",
     "subnet-021345abcdef67890"
   ],
  "nodeRole": "arn:aws:iam::111122223333:role/AmazonEKSNodeRole",
  "taints": [
     {
         "key": "dedicated",
         "value": "gpuGroup",
         "effect": "NO_SCHEDULE"
     }
   ]
}'


Advertising: