Skip to content

Commit

Permalink
Add kubernetes notes
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Oct 28, 2018
1 parent 322f533 commit a179a29
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions kubernetes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# minikube and kubectl installation

- kubectl : https://github.com/kubernetes/kubernetes/tags
- minikube : https://github.com/kubernetes/minikube/tags

# minikube commands

Start Minikube:

```
minikube start
```

Display dashboard:

```
minikube dashboard
```

Access to the service:

```
minikube service <service>
```

Docker api:

```
eval $(minikube docker-env)
```

# kubectl commands

Start the service:

```
kubectl apply -f <service>
```

List the pod:

```
kubectl get pod
```

Forward port:

```
kubectl port-forward <pod> <port>
```

0 comments on commit a179a29

Please sign in to comment.