# Create K8s

# usage

Usage: oredge k8s create [name] [OPTIONS]

OPTIONS:
    --name string                      name.
    --host string                      host.
    --port integer                     port.
    --ssl-verify bool                  ssl verify, true or false.
    --token string                     token.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. create k8s.
# oredge k8s create --name k8s --host 192.168.84.132 --port 6443 --token "eyJhbGciOiJSUzI1NiIsImtpZCI6ImNlWnlKb29XM2dlQ05iSGNFcU1aTGVFYV91SEg5ZXhRaWFjeWFodU5HcHcifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6Im9wZW5yZXN0eS1lZGdlLXNlcnZpY2VhY2NvdW50LXRva2VuLWhyc3o2Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6Im9wZW5yZXN0eS1lZGdlLXNlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiNjRjOWQwMDUtNTBmNS00MmFhLWFjZjAtYWI2MTEzYTg1NDgxIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OmRlZmF1bHQ6b3BlbnJlc3R5LWVkZ2Utc2VydmljZWFjY291bnQifQ.b5I319J1WJZEbwsr-AWmCnPUPy6sgRpo9Vr1-wI3B5XpjQ_6B50Xb8tpATxK2M_ODN8WwVDX4-KmmLdsbOddKCCtGjGD8fDBXey_ktDLrjUlqFXDBweY0haHpHNBJV_SwP-JMl1253WxAuPD_ti-jp_WjO2dzxvgZExqgpdTF-Rfj71eS3V3-QsKIsRlPcVQxMFZaHHWRyEKqIJAw0MzEIM6dtxf9-jPGQcR6VJve_-Om0BUxuku5cx63F39xM8e_LGnmjUoCIkXfbdi_V4KvU0OD19M4FgyHgIO2XqfvmaMjXHlpOC93hv0zxSnuG4GnK_n47fLG25wl5PzW5skxQ"
ID: 1