File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
docs/next/modules/en/pages/user Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -651,6 +651,67 @@ spec:
651651 name: md-0
652652 replicas: 1
653653----
654+ AWS EKS::
655+ +
656+ * An AWS EKS ClusterClass can be found among the https://github.com/rancher/turtles/tree/main/examples/clusterclasses[Turtles examples].
657+ +
658+ [tabs]
659+ =======
660+
661+ CLI::
662+ +
663+ An AWS EKS ClusterClass and associated applications can be applied using the examples tool:
664+ +
665+ [source,bash]
666+ ----
667+ go run github.com/rancher/turtles/examples@main -r aws-eks | kubectl apply -f -
668+ ----
669+
670+ kubectl::
671+ +
672+ * Alternatively, you can apply the AWS EKS ClusterClass directly using kubectl:
673+ +
674+ [source,bash]
675+ ----
676+ kubectl apply -f https://raw.githubusercontent.com/rancher/turtles/main/examples/clusterclasses/aws/eks/clusterclass-eks-example.yaml
677+ ----
678+ =======
679+ +
680+ * Create the AWS Cluster from the example ClusterClass +
681+ +
682+ Note that some variables are left to the user to substitute. +
683+ +
684+ [source,yaml]
685+ ----
686+ apiVersion: cluster.x-k8s.io/v1beta1
687+ kind: Cluster
688+ metadata:
689+ labels:
690+ cluster-api.cattle.io/rancher-auto-import: "true"
691+ name: aws-quickstart
692+ spec:
693+ clusterNetwork:
694+ pods:
695+ cidrBlocks:
696+ - 192.168.0.0/16
697+ topology:
698+ class: aws-eks-example
699+ variables:
700+ - name: region
701+ value: eu-west-2
702+ - name: sshKeyName
703+ value: <AWS_SSH_KEY_NAME>
704+ - name: instanceType
705+ value: <AWS_NODE_MACHINE_TYPE>
706+ - name: awsClusterIdentityName
707+ value: cluster-identity
708+ version: v1.31.0
709+ workers:
710+ machineDeployments:
711+ - class: default-worker
712+ name: md-0
713+ replicas: 1
714+ ----
654715
655716AWS Kubeadm::
656717+
You can’t perform that action at this time.
0 commit comments