v2.0
- About MogDB Stack
- Quick Start
- Installation
- Tutorial
- Architecture
- References
- Client
- mgo
- mgo create
- mgo create mgorole
- mgo create mgouser
- mgo create cluster
- mgo show
- mgo show k8s
- mgo show mgorole
- mgo show mgouser
- mgo show cluster
- mgo show restore
- mgo delete
- mgo delete mgorole
- mgo delete mgouser
- mgo delete cluster
- mgo delete backup
- mgo delete k8s
- mgo scale
- mgo scaledown
- mgo switch
- mgo update
- mgo update mgorole
- mgo update mgouser
- mgo update cluster
- mgo version
- mgo addk8s
- mgo localk8s
- mgo backup
- mgo backup detail
- mgo restore
- mgo minio
- mgo minio object
- mgo minio object ls
- mgo minio object stat
- mgo minio object getf
- Server
- Client
- FAQ
- Release Note
Add k8s Node
Overview
Add a k8s node to the cluster, for example:
mgo addk8s myNode --node-id=xxx --apiserver=xxx --ca-cert=xxx --client-cert=xxx --client-key=xxx --disable-tls=false
mgo addk8s [flags]
Options
--apiserver string Host of k8s node mogdb-apiserver.
--ca-cert string The base64 encoded contents of the CA certificate used to authenticate the new k8s api server node.
--client-cert string The base64 encoded content of the client certificate used to authenticate the new k8s api server node.
--client-key string The base64 encoded content of the client key used to authenticate the new k8s api server node.
-h, --help addk8s help information
--node-id string The uuid of the k8s node mogdb-apiserver.
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
--k8s-node string Specify k8s node, default local k8s node
--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