k3s/hack/lib
Kubernetes Submit Queue 47519962bf Merge pull request #35484 from smarterclayton/delete_warning
Automatic merge from submit-queue

Add --force to kubectl delete and explain force deletion

--force is required for --grace-period=0. --now is == --grace-period=1.
Improve command help to explain what graceful deletion is and warn about
force deletion.

Part of #34160 & #29033

```release-note
In order to bypass graceful deletion of pods (to immediately remove the pod from the API) the user must now provide the `--force` flag in addition to `--grace-period=0`.  This prevents users from accidentally force deleting pods without being aware of the consequences of force deletion.  Force deleting pods for resources like StatefulSets can result in multiple pods with the same name having running processes in the cluster, which may lead to data corruption or data inconsistency when using shared storage or common API endpoints.
```
2016-11-05 11:19:04 -07:00
..
etcd.sh Update etcd in tests to 3.0.13 2016-10-27 15:06:08 +02:00
golang.sh [Federation] Implement the `kubefed` command. 2016-11-02 12:48:20 -07:00
init.sh Merge pull request #35648 from deads2k/api-32-reflective-checks 2016-11-04 01:16:52 -07:00
swagger.sh Adding a script to update federation API reference docs 2016-08-31 13:21:42 -07:00
test.sh Add --force to kubectl delete and explain force deletion 2016-11-02 17:44:05 -04:00
util.sh - Add GroupVersion as tags to OpenAPI spec 2016-10-25 14:27:48 -07:00
version.sh build: Fix version generation. 2016-10-17 09:13:22 +02:00