Requirements:
– Azure Devops account and ownership of an agent pool (We use the default)
– kubeadm
– helm 3.x
1. Add the helm repo and grab the latest charts from the repos
helm repo add emberstack https://emberstack.github.io/helm-charts
helm repo update

2. Test with own parameters by using –dry-run and –debug
helm upgrade --dry-run --debug --install azure-pipelines-agent emberstack/azure-pipelines-agent --set pipelines.url=https://dev.azure.com/NAME --set pipelines.pat=000PAT000 --set pipelines.pool=Default
3. This will give you the output that will be executed. We are looking for the 3 parameters we added above
- –set pipelines.url=https://dev.azure.com/NAME
- –set pipelines.pat=000PAT000
- –set pipelines.pool=Default

3. Get your URL from your instance

4. Get a new token by going to your user settings and under Security go to Personal Access Tokens

4. Select the agent pool you want to add this new agent to

5. Remove the the –dry-run and –debug to execute

6. Use kubectl get pods –all-namespaces to make sure the pod is in the running state

7. Check the Azure DevOps Agent pool to make sure the agent checked in and it is online and ready to accept jobs

In other articles we will show how to deploy from a pipeline. Happy Helming!