Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions docs/next/modules/en/pages/user/clusterclass.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,67 @@ spec:
name: md-0
replicas: 1
----
AWS EKS::
+
* An AWS EKS ClusterClass can be found among the https://github.com/rancher/turtles/tree/main/examples/clusterclasses[Turtles examples].
+
[tabs]
=======

CLI::
+
An AWS EKS ClusterClass and associated applications can be applied using the examples tool:
+
[source,bash]
----
go run github.com/rancher/turtles/examples@main -r aws-eks | kubectl apply -f -
----

kubectl::
+
* Alternatively, you can apply the AWS EKS ClusterClass directly using kubectl:
+
[source,bash]
----
kubectl apply -f https://raw.githubusercontent.com/rancher/turtles/main/examples/clusterclasses/aws/eks/clusterclass-eks-example.yaml
----
=======
+
* Create the AWS Cluster from the example ClusterClass +
+
Note that some variables are left to the user to substitute. +
+
[source,yaml]
----
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
labels:
cluster-api.cattle.io/rancher-auto-import: "true"
name: aws-quickstart
spec:
clusterNetwork:
pods:
cidrBlocks:
- 192.168.0.0/16
topology:
class: aws-eks-example
variables:
- name: region
value: eu-west-2
- name: sshKeyName
value: <AWS_SSH_KEY_NAME>
- name: instanceType
value: <AWS_NODE_MACHINE_TYPE>
- name: awsClusterIdentityName
value: cluster-identity
version: v1.31.0
workers:
machineDeployments:
- class: default-worker
name: md-0
replicas: 1
----

AWS Kubeadm::
+
Expand Down