Empowering Agritech Through AKS Based Blockchain Platform

Introduction

Our client is in the agriculture sector. They run over 100 servers. Their blockchain applications ran on Azure Kubernetes Service. Traffic was uneven. They wanted better CI/CD pipeline and alerting. They aimed for a stable, secure, scalable system. 

Problem Statement

  • They had many servers but manual deployment. 
  • CI/CD setup was weak. 
  • No strong alerting across all AKS resources. 
  • Traffic spikes caused slowdowns. 
  • Nodes shortage caused containers to remain pending. 

They needed a solution that delivered Agritech blockchain solution on AKS with full automation, security, and fault tolerance. 

Solution

We built a full AKS based blockchain platform. We used tools and practices to meet all demands. 

CI/CD Pipeline & Deployment 

  • Used Git, Docker, Jenkins and Argo CD. 
  • Code pushed to private repo triggers Jenkins job. 
  • Jenkins builds Docker image, scans for vulnerabilities. 
  • Pushes image to Azure Container Registry. 
  • Argo CD manages continuous deployment to AKS cluster. 

Handling Traffic & Scaling 

  • Set up horizontal pod autoscaler for pods. 
  • Set up cluster autoscaler to add nodes when needed. 
  • These ensure scaling with minimal manual work. 

Infrastructure Setup 

  • Used Terraform for Infrastructure as Code. 
  • Configured roles, networking, encryption keys, cluster settings. 
  • Databases used: MariaDB and CosmosDB. 

Monitoring & Alerting 

  • Deployed Grafana dashboards. 
  • Set alerts for CPU, memory, node status. 
  • Monitored resources across AKS cluster. 

Challenge after Deployment 

After three months, we saw an issue: 

  • One application container remained pending for 10 minutes. 
  • Reason: no spare node available. 
  • Slow response until node spun up. 

This hurt performance during traffic peaks. 

How We Handled It: Node Overprovisioning 

We added node overprovisioning

  • Created standby nodes with fake (dummy) pods. 
  • When real workload came, fake pods got evicted. 
  • Spare nodes ready so real pods start without delay. 
  • This reduced pending container time nearly to zero. 

Other Challenges & Solutions 

  • Triggering Jenkins job whenever code is pushed to private repo. 
  • Ensuring auto-sync between repo and cluster via Argo CD with tight security. 
  • Linking Jenkins jobs via Groovy scripts to manage job flows. 

Results

The migration brought clear improvements: 

  • CI/CD latency dropped from hours to minutes. 
  • Pending containers during traffic spikes reduced from 10 minutes to almost zero. 
  • Node provisioning delays of 7–8 minutes were resolved with overprovisioning. 
  • App performance improved from slow to responsive under load. 
  • Monitoring and alerts improved from poor to highly reliable. 

The client now handles traffic surges smoothly. Their blockchain nodes stay active. Failures are rare and downtime is almost eliminated. 

Conclusion

We delivered a robust Agritech blockchain solution using AKS based blockchain platform. With CI/CD pipeline AKS, autoscaling, overprovisioning, and solid monitoring, the app is fast and stable. 

Teleglobal helped them move from manual work to automatic, secure deployment. They now scale with traffic, avoid downtime, and have better alerting. 

Connect with our IT experts! Your solution is just a message away.

Have questions or need assistance?

teleBot

close
send

Tell us about you