v1.0
- About MogDB Stack
- Quick Start
- Installation
- Tutorial
- Architecture
- References
- Client
- Server
- FAQ
- Release Note
Delete MogDB Operator Resource
Overview
The delete command allows you to delete a MogDB Operator resource. For example:
mgo delete cluster mycluster
mgo delete mgouser someuser
mgo delete mgorole somerole
mgo delete user --username=testuser --selector=name=mycluster
mgo delete [flags]
Options
-h, --help help information for delete
Options Inherited From The Parent Command
--apiserver-url string The URL of the mogDB Operator apiserver that will handle requests from the mgo client. please note that the URL should not end in "/"
--debug Enable debug output for debugging
--disable-tls Disable TLS authentication for MogDB Operator
--exclude-os-trust Exclude CA certificates from the OS default trust store
--mgo-ca-cert string Connection to MogDB Operator apiserver CA certificate file path.
--mgo-client-cert string Path to the client certificate file used to authenticate to the MogDB Operator apiserver
--mgo-client-key string Path to the client key file used to authenticate to the MogDB Operator apiserver
-n, --namespace string Namespace for mgo requests
Helpful Links
- mgo - mgo command line tool
- mgo delete cluster - Delete MogDB clusters
- mgo delete mgorole - Delete mgo permission roles
- mgo delete mgouser - Delete mgo users