Deploying a Sitecore Instance on a “Local” Kubernetes (k8s) Setup

Have you ever wondered about having a local Sitecore instance on a local deployment of k8s?
I was curious and decided to dive headfirst into the unknown world of k8s virtualization on a local setup. In this blog series I will be sharing the details my journey, my findings the mistakes/successes, and the final state of my discovery.
The Idea
Having experience with developing/deploying Sitecore with Docker Containers, I was curious as to the possibility of doing the same using Kubernetes. So the idea was have a POC of a local environment on my Windows 10/11 PC, with full blown Kubernetes, running Sitecore.
The Research
So my research took me to various tools, from Minikube, Kind to the recently released AKS Edge Essentials Preview from Microsoft TechCommunity. I will go through each and briefly discuss them
Minikube
Minikube seemed a likely solution, as it offered running k8s on a windows pc. The setup was a bit involved and I had to research a fair bit on running kubectl commands to get my cluster up and individual Pods running.
Kind
Similar to Minikube, Kind offers to spin up local kubernetes cluster on a windows pc. However, the setup and pre-requisites were just too overwhelming for a simple POC. Also getting a windows node in operation was not a straight forward thing. If anyone else is up for the challenge, I’d be interested in your approach
AKS Edge Essentials
-
Run both Linux and Windows container applications
-
Light-weight Kubernetes distribution-both K3s and K8s
-
Deployable on any Windows PC class device with windows 10/11 Enterprise and Pro.
It was then I realized I had found my answer.
I reached out to the project team to give me early access to the preview to start building out my solution. It took a few weeks, but I got back a reply and was given access to the public preview and started building out my POC.
In my next blog (The Solution) I will go through the build process and challenges I faced such as:
-
What version of Sitecore I decided to use
-
Hardware requirements
-
What K8s configurations I used and modified
-
How easy it was to spin-up the deployment
This post was originally published on this site - UniAspect assumes no responsibility or liability for any errors or omissions in the content of this article. The information contained in this article is provided on an "as is" basis with no guarantees of completeness, accuracy, usefulness or timeliness and without any warranties of any kind, express or implied.