Skip to main content

Posts

Showing posts with the label Kubernetes

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 :)

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