Uncloud is a lightweight alternative to Kubernetes for deploying and managing containerised applications across a network of Docker hosts.
Useful links:
In this playground you are given access to an already initialized Uncloud cluster of 2 nodes: server-1 and server-2.
The control node (dev-machine) has the uc command line client installed so you can interact with the cluster right away.
For example, run the following commands from dev-machine:
# List all machines in the cluster
uc machine ls
# Run an Nginx instance in the cluster
uc run nginx:latest
# Run an Nginx instance and make it reachable via the provided hostname
uc run nginx:latest -n web -p app.example.com:80/http
# Verify that Nginx is working by sending an HTTP request with the correct "Host" header
curl -H 'Host: app.example.com' server-1
# The webpage will also be available in the "WebServer" tab above.
# Open a shell inside the Nginx container
uc exec web
# Scale the Nginx service from 1 to 2 containers (each running on a different server node)
uc scale web 2
If you face any problems with the playground, open an issue on https://github.com/tonyo/uncloud-labs/
Uncloud is a lightweight alternative to Kubernetes for deploying and managing containerised applications across a network of Docker hosts.
Useful links:
In this playground you are given access to an already initialized Uncloud cluster of 2 nodes: server-1 and server-2.
The control node (dev-machine) has the uc command line client installed so you can interact with the cluster right away.
For example, run the following commands from dev-machine:
# List all machines in the cluster
uc machine ls
# Run an Nginx instance in the cluster
uc run nginx:latest
# Run an Nginx instance and make it reachable via the provided hostname
uc run nginx:latest -n web -p app.example.com:80/http
# Verify that Nginx is working by sending an HTTP request with the correct "Host" header
curl -H 'Host: app.example.com' server-1
# The webpage will also be available in the "WebServer" tab above.
# Open a shell inside the Nginx container
uc exec web
# Scale the Nginx service from 1 to 2 containers (each running on a different server node)
uc scale web 2
If you face any problems with the playground, open an issue on https://github.com/tonyo/uncloud-labs/