Coder Social home page Coder Social logo

minikube's Introduction

A documentation on my way to an Application-Deployment on Kubernetes by using Minikube

brew cask install virtualbox
brew install minikube

Start Minikube with VMware Fusion driver

minikube --vm-driver=vmwarefusion start

Start Minikube

minikube start
minikube status
minikube ip
minikube get-k8s-versions

You can start a new k8s-cluster with a specific version by using

minikube start --kubernetes-version v1.10.0
kubectl cluster-info
kubectl get pod
kubectl get deployment

Deployment of the application Yelb by https://github.com/mreferre

git clone https://github.com/mreferre/yelb.git
cd /path...
kubectl create namespace yelb
kubectl -n yelb create -f /path.../yelb/deployments/platformdeployment/Kubernetes/cnawebapp-minikube-nodeport.yaml

Check the running services using

minikube service list

|-------------|----------------------|-----------------------------|
|  NAMESPACE  |         NAME         |             URL             |
|-------------|----------------------|-----------------------------|
| default     | kubernetes           | No node port                |
| kube-system | kube-dns             | No node port                |
| kube-system | kubernetes-dashboard | http://192.168.99.100:30000 |
| yelb        | redis-server         | No node port                |
| yelb        | yelb-appserver       | No node port                |
| yelb        | yelb-db              | No node port                |
| yelb        | yelb-ui              | http://192.168.99.100:30504 |
|-------------|----------------------|-----------------------------|

Open the Yelb UI over http://192.168.99.100:30504

Start the Kubernetes Dashboard

minikube dashboard

Delete a specific POD/ Container for demoing Kubernetes Health-Monitoring

kubectl -n yelb get pod
kubectl -n yelb delete pod *pod-id*
Kubectl delete deployment *name*

minikube's People

Contributors

rguske avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.