Giter VIP home page Giter VIP logo

agic-installer-assistant's Introduction

AGIC Installation assistant

This is a PowerShell script that will guide you through the installation of the AGIC controller for AKS (Brownfield deployment only)

Installing the AGIC Controller, specially using Helm, can be hard work! The AKS AGIC Installation assistant focuses on expediting customers onboarding of Azure Kubernetes Service Ingres Controller based on the Application Gateway.

This project unifies guidance provided by the AGIC controller deployment guide here: https://azure.github.io/application-gateway-kubernetes-ingress/setup/install-existing/

About the Project

Keep in mind that this is a work-in-progress, I will continue to contribute to it when I can.

All constructive feedback is welcomed ๐Ÿ™

Getting Started

Prerequisites

The AGIC installation assistant assumes you already have the following tools and infrastructure installed:

  • AKS with Advanced Networking enabled (CNI). The script has been tested only with CNI networking configuration and it and will not let you continue if you have Kubenet.
  • App Gateway v2 in the same virtual network as AKS (App Gateway in different VNET has not been tested using this script yet).
  • AAD Pod Identity installed on your AKS cluster. The assitant will check this and enable it.
  • The script will create a User Mangaged Identity and it requires the ability to do so in your selected AD Tenant.
  • Make sure your Azure Cloud Shell has the below elements installed:
    • Az CLI,
    • kubectl,
    • Helm 3.0

Before running the powershell script, we recommend that you peform the following actions:

  • This is a PowerShell script. It will only run on the Azure Cloud Powershell shell: image

  • Az Login with a user that has Owner/Contributor rights on the subscription/RG of the AKS cluster and App Gateway

  • Although the powershell script will get credentials to your cluster, it is recommended that you do it before (just to make sure you are on the right context!)

  • Run Kubectl get pods -A this will make sure you have access to your cluster.

IMPORTANT! Please backup your App Gateway's configuration before installing AGIC:

This script will ask you if you want to export (ARM) your application gateway configuration. Still we recommend you to export the configuration manually:

  1. Using Azure Portal navigate to your App Gateway instance
  2. From Export template click Download

VERY IMPORTANT!

If you are facing the Identity not found issue, that is documented here: https://azure.github.io/application-gateway-kubernetes-ingress/troubleshootings/troubleshooting-agic-addon-identity-not-found/, this program offers you an option to fix this problem (OPTION 3 IN THE MENU). However, It is recommended that you open a support case with Microsoft as changing the VM scalesets directly can leave your cluster as non-supported. Performing this action, without the approval of the Microsoft Support team, is not supported.

Basic

If this is the first time you're using the project, follow these steps:

  1. Download the agicInstaller.ps1 file from this repo (or clone the repo)
  2. Upload the agicInstaller.ps1 file to the Azure Powershell Cloud Shell:

image

  1. Execute the ./agicInstaller.ps1
  2. The assistant will guide your through the rest of the process

This is how the main menu looks like:

image

Troubleshooting

Please, refer to : https://azure.github.io/application-gateway-kubernetes-ingress/troubleshootings/ if you find issues once the AGIC Controller is installed.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

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.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

agic-installer-assistant's People

Contributors

amantaras avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

seanpm2001

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.