Ephemeral Clusters
Namespace makes it trivial to develop with containers: don't worry about capacity or different APIs. Just spin up new containers for development or testing, quickly and confidently.
Do you want to try something quickly on Kubernetes?
Get a disposable cluster within seconds and start deploying applications on it.
Perfect for experimentation or running software stacks during development.
Creating a Cluster
First, install nsc and log in.
$ nsc cluster create
Created cluster "abcyxz"
This simple command creates a new ephemeral cluster in a few seconds.
Automatic Lifecycle management Soon
Namespace automatically suspends clusters after use, but you can resume them anytime. While suspended, clusters consume a minimum set of resources, and you're only charged for the disk space they use.
Web UI
You can find all your current and historic clusters in the Dashboard. Jump right into cluster logs and a root SSH session from here.
Deploy to Kubernetes
Apply YAML files or deploy any Helm chart or a Docker Compose configuration.
Let's deploy a basic example application.
git clone https://github.com/kubernetes/examples.git
cd examples/guestbook
nsc kubectl abcxyz apply .
To inspect your deployment, you can continue with kubectl
or use inbuilt nsc
features like log streaming and SSH.
# Inspect your deployment with kubectl.
$ nsc kubectl abcxyz get pods
# Follow logs of the running application.
$ nsc cluster logs abcxyz --namespace=default -f
# Jump into SSH.
$ nsc cluster ssh abcxyz
Deploy to Docker
Coming soon
Logs
Namespace automatically collects and retains your application logs so that you can access them anytime.
You can use nsc
to follow the logs of a running cluster:
$ nsc cluster logs {clusterid} --namespace=default -f
The logs are also accessible right from the Dashboard. Select your cluster, and you'll receive a live log stream.
SSH Access
Jump into SSH without any effort from your console or even from the web.
nsc
provides a native command to open an SSH session:
$ nsc cluster ssh {clusterid}
Alternatively, you can open an SSH terminal right in your browser. From the Dashboard, select your cluster and switch to the terminal tab.
Now you have full root access to the cluster and can iterate without limits.