calicoctl delete
Read the calicoctl command line interface user reference for a full list of calicoctl commands.
note
Run calicoctl delete --help
to display the following help menu for the command.
Delete a policy resource by name. The policy is called “policy1”.
Results indicate success.
-s --skip-not-exists Skip over and treat as successful, resources that
don't exist.
"-" loads from stdin.
-n --namespace=<NS> Namespace of the resource.
Uses the default namespace if not specified.
See also
- Installing calicoctl.
- for details on the Calico selector-based policy model