Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/PoorlyDefinedBehaviour/simple_kubernetes

Container orchestrator for learning purposes
https://github.com/PoorlyDefinedBehaviour/simple_kubernetes

Last synced: 3 months ago
JSON representation

Container orchestrator for learning purposes

Awesome Lists containing this project

README

        

## Download the protobuf compiler

```
sudo apt install -y protobuf-compiler
```

## Download etcd

```
curl -o etcd.tar.gz -L https://github.com/etcd-io/etcd/releases/download/v3.5.6/etcd-v3.5.6-linux-amd64.tar.gz; \
mkdir etcd; \
tar -xvzf etcd.tar.gz --strip-components=1 -C etcd
```

## Start etcd

```
./etcd/etcd
```

## Starting the manager

```
RUST_LOG=info cargo r --bin manager -- config -f scheduler.yml
```

## Starting a worker

```
RUST_LOG=info cargo r --bin worker -- config -f worker.yml
```

## Creating resources

```
cargo r --bin cli -- apply -f 1.yml -e http://[::1]:50051
```