Skip to content

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Requirements:

Docker - Docker installation
Minikube - Minikube installation
Kubectl - Kubectl installation
Helm - Telm installation

Start a minikube

  1. Start a minikube:
minikube start --driver=docker
  1. Verify minikube nod is running:
kubectl get nodes

Install jenkins

  1. Create a namespace:
kubectl create namespace jenkins
  1. Add repo:
helm repo add bitnami https://charts.bitnami.com/bitnami
  1. Install repo:
helm install jenkins bitnami/jenkins -n default
  1. Get the Jenkins URL:
minikube service jenkins -n jenkins
  1. Login with:
    Username: user
    Password:
kubectl get secret --namespace jenkins my-release-jenkins -o jsonpath="{.data.jenkins-password}"
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("<insert ouput from previous command>"))

Set up jenkins

  1. Install plugins: Kubernetes, Credentials
  2. Dashboard -> Create Item -> Pipeline
  3. Connect to git repo

image

  1. Vefify deployment is READY
kubectl get deployments --all-namespaces

image 5. Forward traffic from a local port to a specific port (32080):

kubectl port-forward svc/nginx-chart 32080:80

image

About

My Helm Chart Repo

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors