Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions .pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ stages:
# Run the E2E test suite
- bash: |
. ./hack/e2e/run-rp-and-e2e.sh
echo "##vso[task.setvariable variable=CLUSTER]${CLUSTER}"
echo "##vso[task.setvariable variable=CLUSTER_NAME]${CLUSTER_NAME}"
echo "##vso[task.setvariable variable=DATABASE_NAME]${DATABASE_NAME}"
displayName: Set CLUSTER and DATABASE_NAME
displayName: Set CLUSTER_NAME and DATABASE_NAME
- bash: |
. ./hack/e2e/run-rp-and-e2e.sh
az acr login --name arosvcdev
Expand Down Expand Up @@ -312,7 +312,7 @@ stages:
# Since must-gather runs independently, we rebuild the binary on-demand.
. secrets/env
go build ./hack/db
./hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER > admin.kubeconfig
./hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER_NAME/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME > admin.kubeconfig
export KUBECONFIG=$(pwd)/admin.kubeconfig
wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftCLIVersion)/openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
tar xf openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
Expand Down Expand Up @@ -406,9 +406,9 @@ stages:
- bash: |
. secrets/env
. ./hack/e2e/run-rp-and-e2e.sh
echo "##vso[task.setvariable variable=CLUSTER]${CLUSTER}"
echo "##vso[task.setvariable variable=CLUSTER_NAME]${CLUSTER_NAME}"
echo "##vso[task.setvariable variable=DATABASE_NAME]${DATABASE_NAME}"
displayName: Set CLUSTER and DATABASE_NAME
displayName: Set CLUSTER_NAME and DATABASE_NAME
- bash: |
sudo tdnf install -y azurelinux-repos-extended
sudo tdnf install -y yq
Expand Down Expand Up @@ -460,7 +460,7 @@ stages:
# Since must-gather runs independently, we rebuild the binary on-demand.
. secrets/env
go build ./hack/db
./hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER > admin.kubeconfig
./hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER_NAME/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME > admin.kubeconfig
export KUBECONFIG=$(pwd)/admin.kubeconfig
wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftCLIVersion)/openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
tar xf openshift-client-linux-$(OpenShiftCLIVersion).tar.gz
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ unit-test-python:

.PHONY: admin.kubeconfig
admin.kubeconfig: ## Get cluster admin kubeconfig
hack/get-admin-kubeconfig.sh /subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${RESOURCEGROUP}/providers/Microsoft.RedHatOpenShift/openShiftClusters/${CLUSTER} >admin.kubeconfig
hack/get-admin-kubeconfig.sh /subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${RESOURCEGROUP}/providers/Microsoft.RedHatOpenShift/openShiftClusters/${CLUSTER_NAME} >admin.kubeconfig

.PHONY: aks.kubeconfig
aks.kubeconfig: ## Get AKS admin kubeconfig
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ services:
environment:
<<: *common-env
ARO_SELENIUM_HOSTNAME:
CLUSTER:
CLUSTER_NAME:
E2E_DELETE_CLUSTER:
E2E_LABEL:
OS_CLUSTER_VERSION:
Expand Down
2 changes: 1 addition & 1 deletion docs/adding-new-instance-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The desired instance types should be free of any restrictions. The subscription
3) Follow steps in https://docs.microsoft.com/en-us/azure/openshift/tutorial-create-cluster to create a cluster, specifying `-worker-vm-size` and/or `--master-vm-size` in the `az aro create` step to specify an alternate sku:

~~~
az aro create --resource-group $RESOURCEGROUP --name $CLUSTER --vnet aro-lseries --master-subnet master-subnet --worker-subnet worker-subnet --worker-vm-size "Standard_L8s_v2"
az aro create --resource-group $RESOURCEGROUP --name $CLUSTER_NAME --vnet aro-lseries --master-subnet master-subnet --worker-subnet worker-subnet --worker-vm-size "Standard_L8s_v2"
~~~

4) Once an install with an alternate size is successful, a basic check of cluster health can be conducted, as well as local e2e tests to confirm supportability.
Expand Down
52 changes: 26 additions & 26 deletions docs/deploy-development-rp.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ mock a cluster MSI. This script will also create the platform identities, platfo

```bash
# Create the cluster
CLUSTER=<cluster-name> go run ./hack/cluster create
CLUSTER_NAME=<cluster-name> go run ./hack/cluster create
```

Later the cluster can be deleted as follows:

```bash
CLUSTER=<cluster-name> go run ./hack/cluster delete
CLUSTER_NAME=<cluster-name> go run ./hack/cluster delete
```

By default, a public cluster will be created. In order to create a private cluster, set the `PRIVATE_CLUSTER` environment variable to `true` prior to creation. Internet access from the cluster can also be restricted by setting the `NO_INTERNET` environment variable to `true`.
Expand Down Expand Up @@ -365,7 +365,7 @@ After that, when you [create](https://github.com/Azure/ARO-RP/blob/master/docs/d
## Make Admin-Action API call(s) to a running local-rp

```bash
export CLUSTER=<cluster-name>
export CLUSTER_NAME=<cluster-name>
export AZURE_SUBSCRIPTION_ID=<subscription-id>
export RESOURCEGROUP=<resource-group-name>
[OR]
Expand All @@ -375,62 +375,62 @@ export RESOURCEGROUP=<resource-group-name>
- Perform AdminUpdate on a dev cluster

```bash
curl -X PATCH -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER?api-version=admin" --header "Content-Type: application/json" -d "{}"
curl -X PATCH -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME?api-version=admin" --header "Content-Type: application/json" -d "{}"
```

- Get Cluster details of a dev cluster

```bash
curl -X GET -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER?api-version=admin" --header "Content-Type: application/json" -d "{}"
curl -X GET -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME?api-version=admin" --header "Content-Type: application/json" -d "{}"
```

- Get SerialConsole logs of a VM of dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/serialconsole?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/serialconsole?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
```

- Redeploy a VM in a dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/redeployvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/redeployvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
```

- Stop a VM in a dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/stopvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/stopvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
```

- Stop and [deallocate a VM](https://learn.microsoft.com/en-us/azure/virtual-machines/states-billing) in a dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/stopvm?vmName=$VMNAME&deallocateVM=True" --header "Content-Type: application/json" -d "{}"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/stopvm?vmName=$VMNAME&deallocateVM=True" --header "Content-Type: application/json" -d "{}"
```

- Start a VM in a dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/startvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/startvm?vmName=$VMNAME" --header "Content-Type: application/json" -d "{}"
```

- List VM Resize Options for a master node of dev cluster

```bash
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/skus" --header "Content-Type: application/json" -d "{}"
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/skus" --header "Content-Type: application/json" -d "{}"
```

- Resize master node of a dev cluster

```bash
VMNAME="aro-cluster-qplnw-master-0"
VMSIZE="Standard_D16s_v3"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/resize?vmName=$VMNAME&vmSize=$VMSIZE" --header "Content-Type: application/json" -d "{}"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/resize?vmName=$VMNAME&vmSize=$VMSIZE" --header "Content-Type: application/json" -d "{}"
```

- List Clusters of a local-rp
Expand All @@ -442,13 +442,13 @@ export RESOURCEGROUP=<resource-group-name>
- List cluster Azure Resources of a dev cluster

```bash
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/resources"
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/resources"
```

- Perform Cluster Upgrade on a dev cluster

```bash
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/upgrade"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/upgrade"
```

- Get container logs from an OpenShift pod in a cluster
Expand All @@ -457,7 +457,7 @@ export RESOURCEGROUP=<resource-group-name>
NAMESPACE=<namespace-name>
POD=<pod-name>
CONTAINER=<container-name>
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/kubernetespodlogs?podname=$POD&namespace=$NAMESPACE&container=$CONTAINER"
curl -X GET -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/kubernetespodlogs?podname=$POD&namespace=$NAMESPACE&container=$CONTAINER"
```

- List Supported VM Sizes
Expand All @@ -470,27 +470,27 @@ export RESOURCEGROUP=<resource-group-name>
- Perform Etcd Recovery Operation on a cluster

```bash
curl -X PATCH -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/etcdrecovery"
curl -X PATCH -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/etcdrecovery"
```

- Delete a managed resource
```bash
MANAGED_RESOURCEID=<id of managed resource to delete>
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/deletemanagedresource?managedResourceID=$MANAGED_RESOURCEID"
curl -X POST -k "https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/deletemanagedresource?managedResourceID=$MANAGED_RESOURCEID"
```

- Get top pod metrics for a dev cluster:

```bash
curl -X GET -k \
"https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/top/pods"
"https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/top/pods"
```

- Get top node metrics for a dev cluster

```bash
curl -X GET -k \
"https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER/top/nodes"
"https://localhost:8443/admin/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME/top/nodes"
```

## OpenShift Version
Expand Down Expand Up @@ -557,13 +557,13 @@ If you want to run the installer version via hive and not in container, you will

```bash
sudo openvpn secrets/vpn-$LOCATION.ovpn &
CLUSTER=cluster hack/ssh-agent.sh bootstrap
CLUSTER_NAME=cluster hack/ssh-agent.sh bootstrap
```

- Get an admin kubeconfig:

```bash
CLUSTER=cluster make admin.kubeconfig
CLUSTER_NAME=cluster make admin.kubeconfig
export KUBECONFIG=admin.kubeconfig
```

Expand All @@ -584,11 +584,11 @@ If you want to run the installer version via hive and not in container, you will
aro-dev-abc123-worker-eastus3-cbqs2 Ready worker 47h v1.19.0+2f3101c


CLUSTER=cluster hack/ssh-agent.sh master0 # master node aro-dev-abc123-master-0
CLUSTER=cluster hack/ssh-agent.sh aro-dev-abc123-worker-eastus1-2s5rb # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER=cluster hack/ssh-agent.sh eastus1 # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER=cluster hack/ssh-agent.sh 2s5rb # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER=cluster hack/ssh-agent.sh bootstrap # the bootstrap node used to provision cluster
CLUSTER_NAME=cluster hack/ssh-agent.sh master0 # master node aro-dev-abc123-master-0
CLUSTER_NAME=cluster hack/ssh-agent.sh aro-dev-abc123-worker-eastus1-2s5rb # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER_NAME=cluster hack/ssh-agent.sh eastus1 # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER_NAME=cluster hack/ssh-agent.sh 2s5rb # worker aro-dev-abc123-worker-eastus1-2s5rb
CLUSTER_NAME=cluster hack/ssh-agent.sh bootstrap # the bootstrap node used to provision cluster
```

# Debugging AKS Cluster
Expand Down
4 changes: 2 additions & 2 deletions docs/deploy-full-rp-service-in-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,11 @@

1. Create the cluster
```bash
export CLUSTER=$USER
export CLUSTER_NAME=$USER

az aro create \
--resource-group $RESOURCEGROUP \
--name $CLUSTER \
--name $CLUSTER_NAME \
--vnet aro-vnet \
--master-subnet master-subnet \
--worker-subnet worker-subnet
Expand Down
2 changes: 1 addition & 1 deletion docs/disk-encryption-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ az keyvault set-policy -n $KEYVAULT_NAME \
- run the az aro create command
```bash
az aro create --resource-group $RESOURCEGROUP \
--name $CLUSTER \
--name $CLUSTER_NAME \
--vnet aro-vnet \
--master-subnet master-subnet \
--worker-subnet worker-subnet \
Expand Down
2 changes: 1 addition & 1 deletion docs/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export ARO_IMAGE=quay.io/<user>/aro:latest
- We can mimick the AdminUpdate when updating the ARO Operator
This is the way we would test the same PUCM workflow we would use in Prod to update the operator.
```
curl -X PATCH -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER?api-version=admin" --header "Content-Type: application/json" -d "{}"
curl -X PATCH -k "https://localhost:8443/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER_NAME?api-version=admin" --header "Content-Type: application/json" -d "{}"
```

### How to create & publish ARO Operator image to ACR/Quay
Expand Down
12 changes: 6 additions & 6 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ End to end tests are run using ginkgo. You can run subsets of tests or ignore so
# source your environment file
. ./secrets/env

# set the CLUSTER env if you are testing locally
export CLUSTER=<cluster-name>
# set the CLUSTER_NAME env if you are testing locally
export CLUSTER_NAME=<cluster-name>

# source the e2e helper file
. ./hack/e2e/run-rp-and-e2e.sh
Expand Down Expand Up @@ -119,13 +119,13 @@ clean_e2e_db
If you already created a dev cluster, you can run the e2e tests just by running the following command:

```bash
CLUSTER=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
CLUSTER_NAME=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
```

For smoke tests:

```bash
CLUSTER=<cluster-name> RESOURCEGROUP=<resource-group> E2E_LABEL=smoke make test-e2e
CLUSTER_NAME=<cluster-name> RESOURCEGROUP=<resource-group> E2E_LABEL=smoke make test-e2e
```

### Run tests to private clusters
Expand All @@ -141,7 +141,7 @@ sudo openvpn secrets/vpn-eastus.ovpn # for eastus
# sudo openvpn secrets/vpn-aks-westeurope.ovpn # for westeurope
# sudo openvpn secrets/vpn-aks-australiaeast.ovpn # for australiaeast

CLUSTER=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
CLUSTER_NAME=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
```

#### az cli
Expand Down Expand Up @@ -210,7 +210,7 @@ After creating the VPN gateway, you can connect to it using the following comman

```bash
sudo openvpn --config $VPN_CLIENT.ovpn
CLUSTER=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
CLUSTER_NAME=<cluster-name> RESOURCEGROUP=<resource-group> make test-e2e
```

### Run tests to upgraded clusters
Expand Down
Loading
Loading