mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 12:16:47 +00:00
Mention removal of services
This commit is contained in:
parent
a7be199814
commit
2e919da445
@ -78,6 +78,20 @@ $ docker swarm logs --tail 100 <function>
|
|||||||
$ docker swarm ps --no-trunc=true <function>
|
$ docker swarm ps --no-trunc=true <function>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Stop and remove OpenFaaS
|
||||||
|
|
||||||
|
```
|
||||||
|
$ docker stack rm func
|
||||||
|
```
|
||||||
|
|
||||||
|
If you have additional services / functions remove the remaining ones like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ docker service ls -q|xargs docker service rm
|
||||||
|
```
|
||||||
|
|
||||||
|
*Use with caution*
|
||||||
|
|
||||||
## Kubernetes
|
## Kubernetes
|
||||||
|
|
||||||
### List all functions
|
### List all functions
|
||||||
@ -98,3 +112,8 @@ $ kubectl logs deploy/<function>
|
|||||||
$ kubectl describe deploy/<function>
|
$ kubectl describe deploy/<function>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Remove the OpenFaaS deployment
|
||||||
|
|
||||||
|
```
|
||||||
|
$ kubectl delete -f faas.yml,monitoring.yml,rbac.yml
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user