Skip to content

Commit

Permalink
doc: Add intructions on how to create EKS and AKS clusters
Browse files Browse the repository at this point in the history
Signed-off-by: Anastasios Papagiannis <[email protected]>
  • Loading branch information
tpapagian authored and mtardy committed Oct 31, 2023
1 parent c242ff1 commit ac066b3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/content/en/docs/getting-started/install-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,32 @@ gcloud container clusters create "${NAME}" --zone ${ZONE} --num-nodes=1
gcloud container clusters get-credentials "${NAME}" --zone ${ZONE}
```
{{% /tab %}}
{{% tab AKS %}}

The following commands create a single node Kubernetes cluster using [Azure
Kubernetes Service](https://docs.microsoft.com/en-us/azure/aks/). See
[Azure Cloud CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
for instructions on how to install `az` and prepare your account.

```shell-session
export NAME="$(whoami)-$RANDOM"
export AZURE_RESOURCE_GROUP="${NAME}-group"
az group create --name "${AZURE_RESOURCE_GROUP}" -l westus2
az aks create --resource-group "${AZURE_RESOURCE_GROUP}" --name "${NAME}"
az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP}" --name "${NAME}"
```
{{% /tab %}}
{{% tab EKS %}}

The following commands create a Kubernetes cluster with `eksctl` using [Amazon Elastic
Kubernetes Service](https://aws.amazon.com/eks/). See [eksctl installation](https://github.com/eksctl-io/eksctl#installation)
for instructions on how to install `eksctl` and prepare your account.

```shell-session
export NAME="$(whoami)-$RANDOM"
eksctl create cluster --name "${NAME}"
```
{{% /tab %}}
{{% tab Kind %}}
Run the following command to create the Kubernetes cluster:

Expand Down

0 comments on commit ac066b3

Please sign in to comment.