This project provides a lightweight "kubernetes-in-docker" cluster federated with SLATE.
- Linux (2 cores, 4GB memory, 15GB storage) or MacOS
- A publicly accessible IP address (port 6443 open)
- Python (3 or 2.7, 'python' must be in your PATH)
- Docker-Compose (installed with Docker for Mac)
On Linux, the user running SLATElite must be a member of the Docker group (or root).
Users can be added to the Docker group with:
sudo usermod -a -G docker <username>
After installing the dependency requirements and pulling the SLATElite repository:
Make sure your Docker is running.
Build the container images with
This will take a few minutes. Running this again is only required to pull updates to software.
Initialize the environment with
TIP: Access local directories by mapping them into the SLATE container:
./slatelite init -v ~/WorkDir:/mnt
Utilize SLATE with
./slatelite slate ...(cluster list, group list, etc)...
Or shell into the container and run it "natively":
$ ./slatelite shell slate # slate ...(cluster list, group list, etc)...
To completely destroy the environment such that it can be created again run:
For a more detailed description of each SLATElite command view COMMANDS.md
SLATElite is a docker-compose orchestrated standard SLATE deployment (with a couple performance tweaks for personal machines).
SLATElite spins up 3 containers with docker-compose. These include: