https://github.com/rguske/minikube
Minikube as well as k8s commands that I should document
https://github.com/rguske/minikube
Last synced: about 1 month ago
JSON representation
Minikube as well as k8s commands that I should document
- Host: GitHub
- URL: https://github.com/rguske/minikube
- Owner: rguske
- Created: 2018-09-03T09:09:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-23T10:49:33.000Z (over 6 years ago)
- Last Synced: 2025-02-13T17:51:46.488Z (3 months ago)
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A documentation on my way to an Application-Deployment on Kubernetes by using Minikube
### Install Minkube https://github.com/kubernetes/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*
```