diff --git a/modules/ROOT/nav1.adoc b/modules/ROOT/nav1.adoc index c18a9532d..5b280941b 100644 --- a/modules/ROOT/nav1.adoc +++ b/modules/ROOT/nav1.adoc @@ -1,6 +1,7 @@ * xref:quickstart.adoc[] * xref:kubernetes/index.adoc[] ** xref:kubernetes/aks.adoc[] +** xref:kubernetes/eks.adoc[] ** xref:kubernetes/gke.adoc[] ** xref:kubernetes/huawei-cloud.adoc[] ** xref:kubernetes/ibm-cloud.adoc[] diff --git a/modules/ROOT/pages/kubernetes/eks.adoc b/modules/ROOT/pages/kubernetes/eks.adoc new file mode 100644 index 000000000..1160120a1 --- /dev/null +++ b/modules/ROOT/pages/kubernetes/eks.adoc @@ -0,0 +1,17 @@ += Amazon Elastic Kubernetes Service (EKS) + +Please make sure that you have a default StorageClass in your cluster, so that PVCs will be provisioned. + +You can list available StorageClasses using the command + +```bash +➜ ~ kubectl get storageclasses +NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE +gp2 (default) kubernetes.io/aws-ebs Delete WaitForFirstConsumer false 9h +``` + +In case you don't have a StorageClass marked as `default`, you can change a StorageClass to the default using the following command (make sure to update it to your StorageClass name): + +```bash +➜ ~ kubectl patch storageclass gp2 -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' +```