Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.78 KB

prereqs.md

File metadata and controls

41 lines (30 loc) · 1.78 KB

Development and Deployment Dependencies

  1. GoLang is installed.

  2. Docker is installed and running.

  3. kubectl Command-line tool is installed.

  4. A Kubernetes cluster. Can be any of the following but an AKS cluster is recommended for testing RBAC and multiple CRD versions (as webhooks are required)

  5. Kubebuilder (notes for installing on OSX: here)

  6. Kustomize (This may be installed via make install-kustomize)

  7. Create an identity for running the Operator as - Managed Identity or Service Principal.

az ad sp create-for-rbac --name ServicePrincipalName
az identity create -g ResourceGroup -n ManagedIdentityName --subscription SubscriptionId

Then make sure this identity has rights assigned to provision resources in your Azure Subscription and Resource Group.

  1. Basic commands to check if you have an active Kubernetes cluster:

        kubectl config get-contexts
        kubectl cluster-info
        kubectl version
        kubectl get pods -n kube-system

    If you use an Azure Kubernetes Service (AKS) cluster, you can connect to it by using the following command:

        az aks get-credentials -g <ResourceGroup> -n <AKSClusterName>