Create troubleshooting.md

This commit is contained in:
Alex Ellis 2017-08-23 08:43:20 +01:00 committed by GitHub
parent 360de12c36
commit 41da1afea4

42
guide/troubleshooting.md Normal file
View File

@ -0,0 +1,42 @@
# Troubleshooting guide
## Docker Swarm
### List all functions
```
$ docker service ls
```
### Find a function's logs
```
$ docker swarm logs --tail 100 <function>
```
### Find out if a function failed to start
```
$ docker swarm ps --no-trunc=true <function>
```
## Kubernetes
### List all functions
```
$ kubectl get deploy
```
### Find a function's logs
```
$ kubectl logs deploy/<function>
```
### Find out if a function failed to start
```
$ kubectl describe deploy/<function>
```