chkit

command module
v2.4.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2017 License: MIT Imports: 4 Imported by: 0

README

chkit

Desktop client for Containerum.com platform.

To use it sign up on Containerum.com.

Documentation

See full ENG documentation

Installation

1. Download binaries for MacOs, Ubuntu x32, Ubuntu x64, Windows x32 and Windows x64 here.

2. Extract the file to any directory.

for Ubuntu and MacOs:

$ tar -xvf your_archive.tar -C /path/to/destination/dir/

Run the client from /path/to/destination/dir/:

$ ./chkit

Note:  See how to run the client on Ubuntu/MacOs from any directory and use chkit, not ./chkit command here.

Usage

1. Sign Up at containerum.com.

2. Open Terminal and run chkit login

$ chkit login
Enter your email: test@gmail.com
Password:
********
Chosen namespace: mynamespace
Successful login
Token changed to:  QA0u64rOkTtCxxxxxxxxxxliUAnBnPlCbGQfpCQpzqM=

Your Terminal should look like this finally:

Follow the next steps bellow.

3. Let's deploy any app from the DockerHub, let it be Hello, World! It's Containerum.

4. Use chkit run command:

$ chkit run hello --configure

Enter image: containerum/helloworld
Enter ports:
Enter labels (key=value ... key3=value3):
Enter commands (command1 ... command3):
Enter environ variables (key=value ... key3=value3):
Enter  CPU cores count(*m):100m
Enter memory size(*Mi | *Gi): 128Mi
Enter  replicas count: 1
run... OK

5. Use chkit expose command:

$ chkit expose deploy hello -p hellosvc:5000:TCP

expose... OK

5. Use chkit get command:

$ chkit get svc

+------------+--------------+---------+-------------------+----------------+-----+
| NAME       | CLUSTER-IP   | EXTERNAL| HOST              | PORT(S)        | AGE |
+------------+--------------+---------+-------------------+----------------+-----+
| hello-926c | 10.103.95.119| true    | containerum.io    | 20865:5000/TCP | 15s |
+------------+--------------+---------+-------------------+----------------+-----+

6. Go to http://x1.containerum.io:20865:

Done!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL