pgo_apply

pgo apply

Apply a policy

Synopsis

APPLY allows you to apply a Policy to a set of clusters. For example:

pgo apply mypolicy1 --selector=name=mycluster pgo apply mypolicy1 --selector=someotherpolicy pgo apply mypolicy1 --selector=someotherpolicy --dry-run 
pgo apply [flags] 

Options

 --dry-run Shows the clusters that the label would be applied to, without labelling them. -h, --help help for apply -s, --selector string The selector to use for cluster filtering. 

Options inherited from parent commands

 --apiserver-url string The URL for the PostgreSQL Operator apiserver. --debug Enable debugging when true. --namespace string The namespace to use for pgo requests. --pgo-ca-cert string The CA Certificate file path for authenticating to the PostgreSQL Operator apiserver. --pgo-client-cert string The Client Certificate file path for authenticating to the PostgreSQL Operator apiserver. --pgo-client-key string The Client Key file path for authenticating to the PostgreSQL Operator apiserver. 

SEE ALSO

  • pgo - The pgo command line interface.
Auto generated by spf13/cobra on 19-Mar-2019