github.com/fafucoder/cilium@v1.6.11/Documentation/cmdref/cilium_preflight_validate-cnp.md (about) 1 <!-- This file was autogenerated via cilium cmdref, do not edit manually--> 2 3 ## cilium preflight validate-cnp 4 5 Validate Cilium Network Policies deployed in the cluster 6 7 ### Synopsis 8 9 Before upgrading Cilium it is recommended to run this validation checker 10 to make sure the policies deployed are valid. The validator will verify if all policies 11 deployed in the cluster are valid, in case they are not, an error is printed and the 12 has an exit code -1 is returned. 13 14 ``` 15 cilium preflight validate-cnp [flags] 16 ``` 17 18 ### Options 19 20 ``` 21 -h, --help help for validate-cnp 22 --k8s-api-server string Kubernetes api address server (for https use --k8s-kubeconfig-path instead) 23 --k8s-kubeconfig-path string Absolute path of the kubernetes kubeconfig file 24 ``` 25 26 ### Options inherited from parent commands 27 28 ``` 29 --config string config file (default is $HOME/.cilium.yaml) 30 -D, --debug Enable debug messages 31 -H, --host string URI to server-side API 32 ``` 33 34 ### SEE ALSO 35 36 * [cilium preflight](../cilium_preflight) - cilium upgrade helper 37