Merge pull request #23744 from tengqm/improve-obj-mgmt

Improve object management page by adding a hint
This commit is contained in:
Kubernetes Prow Robot
2020-09-13 13:02:57 -07:00
committed by GitHub
@@ -64,6 +64,18 @@ configuration file.
* `kubectl delete -f <filename|url>`
{{< note >}}
If configuration file has specified the `generateName` field in the `metadata`
section instead of the `name` field, you cannot delete the object using
`kubectl delete -f <filename|url>`.
You will have to use other flags for deleting the object. For example:
```shell
kubectl delete <type> <name>
kubectl delete <type> -l <label>
```
{{< /note >}}
## How to view an object
You can use `kubectl get -f` to view information about an object that is