Difference between revisions of "Aws eks create-cluster"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
== Amazon example ==
 
== Amazon example ==
:<code>[[aws eks]] create-cluster --name prod [[--role-arn]] arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI [[--resources-vpc-config subnetIds]]=subnet-6782e71e,subnet-e7e761ac,securityGroupIds=sg-6979fe18</code>
+
:<code>[[aws eks]] create-cluster --name prod [[--role-arn]] arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI [[--resources-vpc-config]] [[subnetIds]]=subnet-6782e71e,subnet-e7e761ac,[[securityGroupIds]]=sg-6979fe18</code>
  
 
== Synopsys ==
 
== Synopsys ==
Line 11: Line 11:
 
  [[--resources-vpc-config]] <value>
 
  [[--resources-vpc-config]] <value>
 
  [--kubernetes-network-config <value>]
 
  [--kubernetes-network-config <value>]
  [--logging <value>]
+
  [ [[--logging]] <value> ]
 
  [--client-request-token <value>]
 
  [--client-request-token <value>]
 
  [--tags <value>]
 
  [--tags <value>]
Line 23: Line 23:
 
* [[Terraform resource]]: <code>[[aws_eks_cluster]]</code>
 
* [[Terraform resource]]: <code>[[aws_eks_cluster]]</code>
 
* <code>[[eksctl create cluster]]</code>
 
* <code>[[eksctl create cluster]]</code>
 +
[[eksctl create cluster --asg-access]]
 
* [[Kubernetes changelog|Versions]]: https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
 
* [[Kubernetes changelog|Versions]]: https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
 
* [[Deploy EKS cluster using Terraform]]
 
* [[Deploy EKS cluster using Terraform]]

Latest revision as of 12:19, 20 October 2023

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/create-cluster.html

Amazon example[edit]

aws eks create-cluster --name prod --role-arn arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI --resources-vpc-config subnetIds=subnet-6782e71e,subnet-e7e761ac,securityGroupIds=sg-6979fe18

Synopsys[edit]

aws eks create-cluster
--name <value>
--role-arn <value>
--resources-vpc-config <value>
[--kubernetes-network-config <value>]
[ --logging <value> ]
[--client-request-token <value>]
[--tags <value>]
[--encryption-config <value>]
[--kubernetes-version <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Related[edit]

eksctl create cluster --asg-access

See also[edit]

Advertising: