Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/PoorlyDefinedBehaviour/simple_kubernetes
- Owner: PoorlyDefinedBehaviour
- Created: 2022-12-05T04:03:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T01:52:34.000Z (almost 2 years ago)
- Last Synced: 2024-06-30T14:46:07.601Z (5 months ago)
- Language: Rust
- Size: 102 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```