Add pod anti-affinity and a disruption budget to cockroachdb example

This commit is contained in:
Alex Robinson
2016-12-21 16:02:30 -05:00
parent 953488e909
commit ff2ddbf208
3 changed files with 31 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ Because all of the resources in this example have been tagged with the label `ap
we can clean up everything that we created in one quick command using a selector on that label:
```shell
kubectl delete statefulsets,pods,persistentvolumes,persistentvolumeclaims,services -l app=cockroachdb
kubectl delete statefulsets,persistentvolumes,persistentvolumeclaims,services,poddisruptionbudget -l app=cockroachdb
```