A fellow Sitecorian reached out to me for help on an issue related to Sitecore pod deployments in Kubernetes. They built a web application based on Sitecore 10.4 Headless SXA on Azure Kubernetes Services Cluster and used Azure DevOps for CICD> The Problem We found that the latest code is not getting released to our Sitecore pods. We checked the release pipelines and Deploy Application Specifications steps has logs that mentioned that cm and cd pods are unchanged which means it did not find any differences in the build deployed to Sitecore pods and the build downloaded in pipeline. The Solution We discussed this with our Sitecore rep and he mentioned this is a known issue with Kuberenetes and it occurs as latest tag is used for fetching images from Container Repository. These images get cached and there are chances that the latest image is not picked correctly from Container Registry. I tried googling for it and I found the following stackoverflow link talks about similar issue ...
Welcome to Sitecore Docs Blog! This blog shares expert tips, best practices, and innovative solutions for your Sitecore application. This blog aims to offer in-depth tutorials, insightful articles, and practical advice to help you master Sitecore’s powerful features. From optimizing performance to crafting custom solutions, this blog can help you to empower your Sitecore journey with the knowledge and tools. Happy reading!