Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ribbinpo/minikube-learning

for poc simple kubernetes
https://github.com/ribbinpo/minikube-learning

kubernetes minikube poc

Last synced: about 14 hours ago
JSON representation

for poc simple kubernetes

Awesome Lists containing this project

README

        

# Minikube Learning

This is learn component of Kubernetes with Minikube.

In this learning is consist of 2 parts:
1. mongodb
2. webapp

Minikube Command
```bash
# check ip
minikube ip
```

Kubectl Command
```bash
# check ip
kubectl get node -o wide

# run kubernets components
kubectl apply -f mongo-config.yaml
kubectl apply -f mongo-secret.yaml
kubectl apply -f mongo.yaml
kubectl apply -f webapp.yaml

# get all components in cluster
kubectl get all

# configmap, secret, pod, svc
kubectl get configmap
kubectl get secret
kubectl get pod

# describe format: kubectl describe [component] [name]
kubectl describe service webapp-service

# view logs of containers
kubectl logs name... -f
```