Version 2.1

kf delete-network-policy

Name

kf delete-network-policy - Delete a network policy in the targeted Space

Synopsis

kf delete-network-policy NAME [flags]

Description

Delete a network policy.

NOTE: Deleting the last network policy targeting a Service will cause it to default to whatever policy is set for the cluster.

Examples

  kf delete-network-policy my-network-policy

Flags

--async
Don't wait for the action to complete on the server before returning
-h, --help
help for delete-network-policy

Inherited flags

These flags are inherited from parent commands.

--config=string
Config file (default is $HOME/.kf)
--kubeconfig=string
Kubectl config file (default is $HOME/.kube/config)
--log-http
Log HTTP requests to stderr
--space=string
Space to run the command against. This overrides the currently targeted space