Skip to content

Tsuru pool constraint set

tsuru pool constraint set

Set a constraint on a pool expression.

Synopsis

Set a constraint on a pool expression.

Examples:

tsuru pool-constraint-set dev_pool team "*" # Allows every team to use the pool "dev_pool".

tsuru pool-constraint-set "dev_*" router prod_router --denylist # Disallows "prod_router" to be used on pools with "dev_" prefix.

tsuru pool-constraint-set dev_pool cert-issuer letsencrypt digicert # Constraint every app in the the pool "dev_pool" to use certificate issuer from letsencrypt or digicert.

tsuru pool-constraint-set "dev_*" router prod_router --denylist # Disallows "prod_router" to be used on pools with "dev_" prefix.

tsuru pool-constraint-set prod_pool service service1 service2 --append # Adds "service1" and "service2" to the list of services allowed to use pool "prod_pool".

tsuru pool-constraint-set prod_pool service service1 service2 --denylist --append # Adds "service1" and "service2" to the list of services disallowed to use pool "prod_pool".

tsuru pool constraint set <poolExpression> <field> [<values>]... [-b/--denylist] [-a/--append] [flags]

Options

  -a, --append     Append to existing constraint.
      --denylist   Denylist constraint.
  -h, --help       help for set

Options inherited from parent commands

      --target string   Tsuru server endpoint
      --verbosity int   Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses

SEE ALSO

  • tsuru pool constraint - Pool constraints are rules that define which kind of resources can be associated with a pool.
Auto generated by spf13/cobra on 16-Jan-2026