Name
kf bind-route-service
- Bind a route service instance to an HTTP route
Synopsis
kf bind-route-service DOMAIN [--hostname HOSTNAME] [--path PATH] SERVICE_INSTANCE [-c PARAMETERS_AS_JSON] [flags]
Description
Binding a service to an HTTP route causes traffic to be processed by that service before the requests are forwarded to the route.
Examples
kf bind-route-service company.com --hostname myapp --path mypath myauthservice
Flags
-
--async - Don't wait for the action to complete on the server before returning
-
-h, --help - help for bind-route-service
-
--hostname= string - Hostname for the route
-
--path= string - URL Path for the route
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

