This repository demonstrates a basic Kubernetes cluster setup using Rancher Desktop to explore cluster architecture concepts:
worker nodes, master nodes, pods, deployments, and autoscaling.
where Kubernetes will orchestrate a traffic prediction model.
The goal is to gain hands-on experience with Kubernetes by:
Setting up a local cluster with a master node and worker nodes.
Deploying a simple pod and a multi-replica deployment.
Experimenting with autoscaling based on resource usage.
This experiment provides foundational knowledge for deploying containerized AI models in a distributed edge-core-cloud environment.
pod.yaml: Defines a single Nginx pod.
deployment.yaml: Configures a 3-replica Nginx deployment with resource limits.
Rancher Desktop: Installed and running (download from rancherdesktop.io).
kubectl: Configured to interact with the Rancher Desktop cluster (included with Rancher Desktop).
Steps
Open Rancher Desktop and enable Kubernetes in the settings. This creates a local cluster with a master node and worker nodes.