Skip to main content

Posts

Advice that transform your career

In my career, I have received some great advice from mentors and leaders which still guide me, especially when things get tough or decisions feel complex. Here are a few worth sharing: - Know your worth—because others won’t always remind you of it. - Be the person someone can say: “I trust you. Just get it done.” - Ask for what you need. Silence never brings clarity. - Do great work—but make sure leadership sees the impact. - Respond quickly. Waiting dilutes momentum. - Don’t let opinions define you. Stay grounded in your truth. - Always negotiate. It’s not about money—it’s about value. - Leave every door open. Never burn bridges. - Solve problems in a way that they don’t return. - If something can’t be stopped, build systems to see it coming. - Keep emotions out of email. Have real conversations when it matters. - When you learn from a community, give back to it. - Disagree with someone? Step into their shoes before you decide. Hope it helps you!
Recent posts

Sitecore Pod deployment not updating to the latest image in Kubernetes

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 ...

Sitecore AKS - Collection shard cluster health check completed with status Unhealthy and Health check for shard cluster is failed.

The Problem While running the installation steps for setting up Sitecore XP in AKS, we found that the CM/CD pods are not running. This was primarily due to the fact that CM/CD pods were waiting on other pods like xDBsearch to come to running state due to wait-initialization. After waiting for significant time, we found that xDBsearch pod is not coming up and it probably has an issue. Ran kubectl logs command to check xdbsearch logs and found below entries -  The Solution This error definitely implied that the shard databases have some issue. We deleted the shard databases and ran the init job again. When the init job completes, it is advisable to check logs by running kubectl logs command. This will inform if the job was successful or did it errored out at some point. Once the shard databases were recreated, we recreated the pods and this time the xdbsearch pods came up fine. Thanks for reading :)

My Contributions to Sitecore Community in 2024

Hello!! This year, I have mostly worked on Sitecore 10.1.1 as part of IT team of an accounting services organization. Due to my nature of work, I dont have exposure to different projects exploring variety of new Sitecore tools and technologies (like my other fellow MVPs have), but I have used this year to upgrade my learning and dig deeper into Sitecore XP on which I primarily work. Below are my contributions this year -  Sitecore Blogs Below are the links to all my blogs which I have published in year 2022 on Sitecore.  https://ghanendras.blogspot.com/2024/11/sitecore-installation-on-kubernetes.html https://ghanendras.blogspot.com/2024/11/sitecore-bug-502996-checkbox-rendering.html https://ghanendra-singh.vercel.app/posts/customize-sitecore-desktop https://ghanendras.blogspot.com/2024/11/sitecore-solr-error-keepererrorcode.html https://ghanendras.blogspot.com/2024/11/cannot-find-options-for.html https://ghanendras.blogspot.com/2024/11/links-db-in-sitecore-not-consistent.html ...

Installing Sitecore 10.4 on Kubernetes: A Step-by-Step Guide

Introduction Recently, a community member attempted to install Sitecore 10.4 on a Kubernetes (K8s) cluster and reached out to me regarding the challenges they faced. Despite following Sitecore's standard installation document, they encountered issues due to their limited knowledge of Kubernetes. This blog post summarizes their experience and serves as a reference for other developers in a similar situation. Steps for Installation To successfully set up a Sitecore instance in a K8s cluster, follow these detailed steps: Prerequisites Access to Azure Kubernetes Service (AKS) : Ensure you have the ability to create namespaces and clusters in AKS. Having a team member knowledgeable in Kubernetes is highly beneficial. Local Tools : Install Azure CLI, Chocolatey, and Helm on your local machine. You'll be needing these while executing commands in PowerShell. Cluster Specifications Ensure your cluster meets these specifications: Kubernetes 1.27.x or later Windows Server 2019 version 18...