A containerized cross-platform CLI for MKE administration
1.7K
docker container run --rm rleapm/mke-mgmt:lnx-1.0 --help
Description:
A command-line tool for Mirantis Kubernetes Engine (MKE) administration
Usage:
mkemgmt [command] [options]
Options:
--verbose Show verbose output
--version Show version information
-?, -h, --help Show help and usage information
Commands:
access Obtain an API session key (a key is required by all other commands)
config Download and upload an MKE configuration file
etcd Obtain etcd member info and defrag etcd cluster
node Obtain info about nodes in the cluster
export MKE_USERNAME=admin
export MKE_PASSWORD=supersecretP@ssword!
export MKE_URL=https://172.31.204.177
# Access Key
MKE_ACCESS=$(docker container run --rm rleapm/mke-mgmt:lnx-1.0 access \
--mke-username $MKE_USERNAME \
--mke-password $MKE_PASSWORD \
--mke-url $MKE_URL -k)
docker container run --rm rleapm/mke-mgmt:lnx-1.0 node list --access-key $MKE_ACCESS
Hostname OrchType Role Address EngineVer OS Arch Status
-------- -------- ---- ------- --------- -- ---- ------
ip-172-31-228-139.us-east-2.compute.internal Mixed manager 172.31.228.139 23.0.6 linux x86_64 Healthy MKE
manager
ip-172-31-166-98.us-east-2.compute.internal Kubernetes worker 172.31.166.98 23.0.6 linux x86_64 Healthy MKE
worker
ip-172-31-77-139.us-east-2.compute.internal Kubernetes worker 172.31.77.139 23.0.6 windows x86_64 Healthy MKE
worker
# Download MKE Config TOML
docker container run --rm rleapm/mke-mgmt:latest config download \
--access-key $MKE_ACCESS > mke-config.toml
# Upload MKE Config TOML (note the use of the -i for interactive)
cat mke-config.toml | docker container run --rm -i rleapm/mke-mgmt:latest config upload \
--access-key $MKE_ACCESS
Content type
Image
Digest
sha256:9d80083d5…
Size
175.1 MB
Last updated
over 3 years ago
docker pull rleapm/mke-mgmt