From 57019b4638d7db5ee3ad21509833c781acdb3581 Mon Sep 17 00:00:00 2001 From: Simon Ehrenstein <simon.ehrenstein@gmail.com> Date: Sun, 13 Dec 2020 22:05:37 +0100 Subject: [PATCH] Add documentation and change image url --- execution/infrastructure/random-scheduler/README.md | 12 ++++++++++++ .../infrastructure/random-scheduler/deployment.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 execution/infrastructure/random-scheduler/README.md diff --git a/execution/infrastructure/random-scheduler/README.md b/execution/infrastructure/random-scheduler/README.md new file mode 100644 index 000000000..cc30cf095 --- /dev/null +++ b/execution/infrastructure/random-scheduler/README.md @@ -0,0 +1,12 @@ +# Theodolite Random Scheduler +This directory contains the theodolite random scheduler that schedules pods on random nodes. + +## Build and Push +Run the following commands + +- `docker build -t theodolite-random-scheduler .` +- `docker tag theodolite-random-scheduler <user>/theodolite-random-scheduler` +- `docker push <user>/theodolite-random-scheduler` + +## Deployment +Deploy the `deployment.yaml` file into Kubernetes. Note, that the `TARGET_NAMESPACE` environment variable specifies the operating namespace of the random scheduler. \ No newline at end of file diff --git a/execution/infrastructure/random-scheduler/deployment.yaml b/execution/infrastructure/random-scheduler/deployment.yaml index 8e79fcdab..84e2c2593 100644 --- a/execution/infrastructure/random-scheduler/deployment.yaml +++ b/execution/infrastructure/random-scheduler/deployment.yaml @@ -18,7 +18,7 @@ spec: serviceAccount: random-scheduler containers: - name: random-scheduler - image: sehrenstein/random-scheduler:latest + image: theodolite/random-scheduler:latest imagePullPolicy: Always env: - name: TARGET_NAMESPACE -- GitLab