Overview of My Submission
My project is for the Developers who need to deploy the SonarQube which is the code quality tool on the Kubernetes cluster. This tool is useful for the software company to analyze the code before deploying the code on a production/staging environment. It would be helpful for Devs who need to set up like me :)
Submission Category: Computing Captains
My Github Repository:
ninefyi
/
azuretrialhack-2022
https://dev.to/ninefyi/azure-trial-hackathon-sonarqube-community-branch-plugin-on-aks-4pjb-temp-slug-8928180/edit
My project is for The Microsoft Azure Trial Hackathon on Dev.to
Instruction
- az login
- az account set -s "[Subscription name]"
- az group create --name rg-aks-trial --location eastasia
- az network public-ip create -g rg-aks-trial -n pip-aks-trial --dns-name aks-trial --allocation-method Static --sku Standard
- az aks create --resource-group rg-aks-trial --name aks-trial --node-count 3 --node-vm-size Standard_B2s
- az aks install-cli
- az aks get-credentials --name aks-trial -g rg-aks-trial --admin
- az aks show -g rg-aks-trial -n aks-trial --query "identity.principalId" -o tsv
- az account show --query "id" -o tsv
- az role assignment create --assignee "answer_no_8" --role "Network Contributor" --scope subscriptions/answer_no_9/resourceGroups/rg-aks-trial
- az network public-ip list -g rg-aks-trial -o tsv --query "[].ipAddress"
- kubectl config use-context aks-trial-admin
- kubectl create namespace sonarqube
- kubectl apply -f ./aks/postgres
- kubectl apply -f ./aks/sonarqube
- kubectl label namespace sonarqube cert-manager.io/disable-validation=true
- helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- helm repo add jetstack https://charts.jetstack.io
- helm repo update
- helm install nginx-ingress ingress-nginx/ingress-nginx \
--version 4.0.13 \
--namespace sonarqube \…
ninefyi / azuretrialhack-2022
https://dev.to/ninefyi/azure-trial-hackathon-sonarqube-community-branch-plugin-on-aks-4pjb-temp-slug-8928180/edit
My project is for The Microsoft Azure Trial Hackathon on Dev.to
Instruction
- az login
- az account set -s "[Subscription name]"
- az group create --name rg-aks-trial --location eastasia
- az network public-ip create -g rg-aks-trial -n pip-aks-trial --dns-name aks-trial --allocation-method Static --sku Standard
- az aks create --resource-group rg-aks-trial --name aks-trial --node-count 3 --node-vm-size Standard_B2s
- az aks install-cli
- az aks get-credentials --name aks-trial -g rg-aks-trial --admin
- az aks show -g rg-aks-trial -n aks-trial --query "identity.principalId" -o tsv
- az account show --query "id" -o tsv
- az role assignment create --assignee "answer_no_8" --role "Network Contributor" --scope subscriptions/answer_no_9/resourceGroups/rg-aks-trial
- az network public-ip list -g rg-aks-trial -o tsv --query "[].ipAddress"
- kubectl config use-context aks-trial-admin
- kubectl create namespace sonarqube
- kubectl apply -f ./aks/postgres
- kubectl apply -f ./aks/sonarqube
- kubectl label namespace sonarqube cert-manager.io/disable-validation=true
- helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- helm repo add jetstack https://charts.jetstack.io
- helm repo update
- helm install nginx-ingress ingress-nginx/ingress-nginx \ --version 4.0.13 \ --namespace sonarqube \…
Software deployment on AKS
- Website: SonarQube Community Editon
- Database: Postgres
- SSL: Letsencrypt
Azure resources
- Azure Kubernetes Services
- Azure Public IP Address
DEV usernames: ninefyi
Top comments (0)