Use this stack to spin up a NodeJS-Express backend sample voting application on Azure Kubernetes Service (AKS) cluster.
The stack will create and configure:
1) A containter image of this application
2) Two replica-set of the application
2) Loadbalancer service to access the replica-set
3) Configure the paths in ingress controller to access the application using DNS name
4) Config map service.
The stack will help you to setup the AKS custer for this application.
Create a public MongoDB which is required for this application for persistence.
The stack will configures the demo voting backend application and it code along with CI/CD pipeline to deploy it on AKS cluster. It also configures the Loadbalancer service and Ingress application to make this application publically accessible.
OIDC Auth inputs
- AZURE_CLIENT_ID
- AZURE_SUBSCRIPTION_ID
- AZURE_TENANT_ID
ACR setup inputs
- ACR_NAME
- ACR_RESOURCE_GROUP
AKS configuration inputs
AKS_KUBECONFIG
AZURE_AKS_NAME
AZURE_AKS_RESOURCE_GROUP
Other inputs
- MONGODB_CONNECTION_STRING
- DNS_NAME
- AZURE_LOCATION
None
GET /voting - List all the voting candidates. GET /vote/:candidateID - Request to increment the candidate's vote by 1. GET / for AKS health monitoring
Learn more about AKS from the official tutorial. Visit https://azure.microsoft.com/en-in/services/kubernetes-service/#overview to view the full documentation.
Learn more about Express JS from the official tutorial. Visit https://expressjs.com/en/starter/hello-world.html to view the full documentation.
Please see our guide lines for contributing.md.
- Rahul Sharma (@srahul3)
Unless otherwise noted, this GitHub Stack is distributed under the Apache Version 2.0 license found in the LICENSE file.