Git Product home page Git Product logo

azure-service-operator's Introduction

Azure Service Operator (for Kubernetes)

Build Status

Note: The API is expected to change (while adhering to semantic versioning). Alpha and Beta resources are generally not recommended for production environments.

The Azure Service Operator helps you provision Azure resources and connect your applications to them from within Kubernetes.

Overview

The Azure Service Operator comprises of:

  • The Custom Resource Definitions (CRDs) for each of the Azure services a Kubernetes user can provision.
  • The Kubernetes controller that watches for requests to create Custom Resources for each of these CRDs and creates them.

The project was built using Kubebuilder.

Curious to see how it all works? Check out our control flow diagrams.

Supported Azure Services

Quickstart

Deploying ASO

Ready to quickly deploy the latest version of Azure Service Operator on your Kubernetes cluster and start exploring? Follow these steps.

  1. Make sure kubectl is configured to connect to the Kubernetes cluster you want to deploy Azure Service Operator to.

    To connect to an Azure Kubernetes Service cluster, you can use the below command:

    az aks get-credentials -g <AKSClusterResourceGroup> -n <AKSClusterName>
  2. Install cert-manager on the cluster using the following commands.

    kubectl create namespace cert-manager
    kubectl label namespace cert-manager cert-manager.io/disable-validation=true
    kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.12.0/cert-manager.yaml

    Wait for the cert-manager deployment to complete. You can use the below command to check for this.

    kubectl rollout status -n cert-manager deploy/cert-manager-webhook
  3. Download the latest Helm chart for Azure Service Operator locally to your machine. Run the following commands.

    mkdir install-aso
    cd install-aso
    export HELM_EXPERIMENTAL_OCI=1

    Pull and export the helm chart.

    helm chart pull mcr.microsoft.com/k8s/asohelmchart:latest
    helm chart export mcr.microsoft.com/k8s/asohelmchart:latest --destination .
  4. Install the Azure Service Operator on your cluster using the following helm install command.

    Note that the ServicePrincipal you pass to the command below needs to have access to create resources in your subscription.

    helm install aso ./azure-service-operator -n azureoperator-system --create-namespace \
        --set azureSubscriptionID=$AZURE_SUBSCRIPTION_ID \
        --set azureTenantID=$AZURE_TENANT_ID \
        --set azureClientID=$AZURE_CLIENT_ID \
        --set azureClientSecret=$AZURE_CLIENT_SECRET \
        --set createNamespace=true \
        --set image.repository="mcr.microsoft.com/k8s/azure-service-operator:latest"

You should now see the Azure service operator pods running in your cluster.

kubectl get pods -n azureoperator-system

Getting started

This project maintains releases of the Azure Service Operator that you can deploy via a configurable Helm chart.

For detailed instructions on getting started, check out our How-to Guide.

Please see the FAQ for answers to commonly asked questions about the Azure Service Operator.

Contributing

The contribution guide covers everything you need to know about how you can contribute to Azure Service Operators. The developer guide will help you onboard as a developer.

Support

Azure Service Operator is an open source project that is not covered by the Microsoft Azure support policy. Please search open issues here. If your issue isn't already represented, please open a new one. The Azure Service Operator project maintainers will respond to the best of their abilities.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

azure-service-operator's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.