Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.5 KB

installation.md

File metadata and controls

60 lines (47 loc) · 1.5 KB

Kubernetes Cluster Local Testing Guide with Minikube

This guide will help set up a local Kubernetes cluster using Minikube, install Helm, and test the deployments with strict frontend access or through an Ingress.

Step 1: Install kubectl

Follow the official kubectl installation guide for your operating system.

Verify the installation:

kubectl version --client

Step 2: Install Minikube

Follow the official Minikube installation guide for your operating system.

Start a Minikube cluster:

minikube start

Verify that Minikube is running:

minikube status

Step 3: Install Helm

Follow the official Helm installation guide for your operating system.

Verify the installation:

helm version

Step 4: Install the helm chart

  1. Navigate to the Deployment Directory:
cd helm-chart
  1. Enable the Ingress Controller (if you plan on using the ingress feature):
minikube addons enable ingress
  1. Install the Helm Chart: (you can change the ingressEnabled value to true to test the ingress)
helm install test AWS-Deployment --set deployment.localTesting=true --set deployment.ingressEnabled=false
  1. Follow the helm chart instructions output for more steps

Step 5. Cleaning up:

  1. Uninstall the helm release:
helm uninstall my-release
  1. Stop Minikube:
minikube stop