kubetest2-aks

command module
v0.0.0-...-2a1d02a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

kubetest2-aks repo to provision and delete aks clusters

Commands

Make kubetest2-aks binary under kubetest2-aks folder.

make install-deployer

Build CCM images with target path or tags. Note: users should login the registry.

export IMAGE_REGISTRY=<user-image-registry>

kubetest2 aks --build --target ccm --targetPath ../cloud-provider-azure
kubetest2 aks --build --target ccm --targetPath --targetTag v1.24.4

Provision an aks cluster in a resource group.

export AZURE_SUBSCRIPTION_ID=<subscription-id>
export AZURE_TENANT_ID=<tenant-id>
export IMAGE_REGISTRY=<user-image-registry>
# Leaving `AZURE_CLIENT_SECRET` and `AZURE_CLIENT_ID` unset will use MSI by default.
export AZURE_CLIENT_ID=<client-id>
export AZURE_CLIENT_SECRET=<client-secret>
kubetest2 aks --up --rgName aks-resource-group --location eastus --config cluster-templates/basic-lb.json --customConfig cluster-templates/customconfiguration.json  --clusterName aks-cluster --ccmImageTag abcdefg --k8sVersion 1.24.0

Delete the resource group.

kubetest2 aks --down --rgName aks-resource-group --clusterName aks-cluster

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL