Skip to content

Learning kubernetes using minikube cluster and docker a nodejs image

Notifications You must be signed in to change notification settings

tdadadavid/Kuber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node App

Alt text


Kubernetes manifest file

* mongo-config.yaml
* mongo-secret.yaml
* mongo.yaml
* webapp.yaml

Kubernetes & Minkube

  • Download Kubernetes (here)
  • Download Minikube (here)

Start Minikube

* minikube start 
* minikube start  --driver=docker 

Check minikube status

* minikube status

Inspect or Get Minikube ip address

* minikube ip 
* kubectl get node -o wide

Stop Minikube cluster

* minikube stop 

Steps to start application

* kubectl apply -f mongo-config.yaml
* kubectl apply -f mongo-secret.yaml
* kubectl apply -f mongo.yaml
* kubectl apply -f webapp.yaml

Docker Image


Useful kubernetes cli commands

* kubectl get node
* kubectl get pod
* kubectl get svc
* kubectl get all

About

Learning kubernetes using minikube cluster and docker a nodejs image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published