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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html
 
* https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html
  
 
+
<pre>
 +
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"
 +
    }
 +
  ]
 +
}'
 +
</pre>
  
  

Revision as of 08:58, 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: