Version 2.1

kf delete-service

Name

kf delete-service - Delete a service instance in the targeted Space

Synopsis

kf delete-service SERVICE_INSTANCE [flags]

Description

Deleting a service instance will remove the instance and any associated data on the instance.

You should delete all bindings before deleting a service. If you don't, the service will wait for that to occur before deleting.

Examples

  kf delete-service my-service

Flags

--async
Don't wait for the action to complete on the server before returning
-h, --help
help for delete-service
--retries=int
Number of times to retry execution if the command isn't successful (default 5)
--retry-delay=duration
Set the delay between retries (default 1s)

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