ganrad / Az-DevOps-Agent-On-AKS

Build and deploy Azure DevOps Pipeline agent in a container on Azure Kubernetes Service. Elastically scale the DevOps build infrastructure.
42 stars 49 forks source link

convert deployment to statefulset and add persistent volume #11

Open ferhatguneri opened 10 months ago

ferhatguneri commented 10 months ago

Every time when pod gets deleted kubernetes creates new agent with new name which keeps a lot of inavtive agents in aazure devops agent pool. Also using node disk creates evicted pods and consume node disk a lot, to prevent this added persistent volume to agents.