glooctl create virtualservice

glooctl create virtualservice

Create a Virtual Service

Synopsis

A virtual service describes the set of routes to match for a set of domains. Virtual services are containers for routes assigned to a domain or set of domains. Virtual services must not have overlapping domains, as the virtual service to match a request is selected by the Host header (in HTTP1) or :authority header (in HTTP2). The routes within a virtual service

glooctl create virtualservice [flags]

Options

      --display-name string                        descriptive name of virtual service (defaults to resource name)
      --domains strings                            comma separated list of domains
      --enable-oidc-auth                           enable rate limiting features for this virtual service
      --enable-rate-limiting                       enable rate limiting features for this virtual service
  -h, --help                                       help for virtualservice
      --name string                                name of the resource to read or write
  -n, --namespace string                           namespace for reading or writing resources (default "gloo-system")
      --oidc-auth-app-url string                   the public url of your app
      --oidc-auth-callback-path string             the callback path. relative to the app url. (default "/oidc-gloo-callback")
      --oidc-auth-client-id string                 client id as registered with id provider
      --oidc-auth-client-secret-name string        name of the 'client secret' secret
      --oidc-auth-client-secret-namespace string   namespace of the 'client secret' secret
      --oidc-auth-issuer-url string                the url of the issuer
      --rate-limit-requests uint32                 requests per unit of time (default 100)
      --rate-limit-time-unit string                unit of time over which to apply the rate limit (default "MINUTE")

Options inherited from parent commands

  -i, --interactive     use interactive mode
  -o, --output string   output format: (yaml, json, table)

SEE ALSO