Creating an Elastic Kubernetes Service (EKS) cluster
Instructions on setting up a managed k8s cluster on Amazon Web Services (AWS)
You will need the following:
Enable the Kubernetes Engine API. If the kubernetes engine API is not enabled for your GCP project, you need to enable it.
Click Create to launch the k8s cluster wizard.
Follow the cluster creation steps by setting the values based on your cluster needs.
Make sure to chose kubernetes version >= 1.27 which is requried by XP operator.
Once the k8s cluster is created, click the cluster name
Then click Connect on the top middle section of the page. This shows you the gcloud command you can use to connect to the k8s cluster from your computer.
Copy and run the gcloud command. If the command outputs
kubeconfig entry generated for <newly-created-k8s-cluster-name>, it means proper kubectl config is generated on your computer and you are successfully authenticated to the k8s cluster.
To verify your access to the k8s cluster run the command
eksctl get namespaces
This should display the list of namespaces in the newly created k8s cluster. The "Age" column in the output shows how long has it been since the namespaces are created.
When connected to your cluster, list the available storage classes with this command:
eksctl get storageclasses
This should display the list of storage classes provisioned by GKE cluster.
To run XP in clustered mode, a
ReadWriteMany storage class (NFS type filesystem) is required.
To provision an EFS storage for your cluster, follow Amazons own documentation:
Once this is configured properly, you may specify
efs as your shared storage class when [installing the XP operator].