Go to file
Torma Kristóf 030b03d66e
continuous-integration/drone/push Build is passing Details
trigger a build
2020-01-22 13:30:44 +01:00
benchmark Update isprime.wrk 2019-05-07 18:21:48 +02:00
deploy Create gloo_setup.sh 2019-05-07 13:47:13 +02:00
functions Update deploy_function.sh 2019-05-08 15:14:24 +02:00
kafka-testing Update log 2019-04-10 00:52:14 +02:00
update Update update.sh 2019-04-24 13:32:32 +02:00
withdraw Update node_reset.sh 2019-04-24 13:29:03 +02:00
.drone.yml format yaml file 2020-01-22 13:27:31 +01:00
.flake8 Create .flake8 2019-05-19 14:36:41 +02:00
.gitignore Update .gitignore 2019-04-03 12:15:17 +02:00
.travis.yml Update .travis.yml 2019-05-19 14:42:44 +02:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2019-04-03 00:59:53 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2019-04-03 00:59:08 +02:00
LICENSE Create LICENSE 2019-03-05 18:37:29 +01:00
README.md Update README.md 2019-04-17 16:11:27 +02:00
cluster-deploy Update cluster-deploy 2019-04-24 13:26:06 +02:00
cluster-update Update cluster-update 2019-04-17 16:00:47 +02:00
cluster-withdraw Update cluster-withdraw 2019-03-16 16:47:28 +01:00
delete_evicted.sh Update delete_evicted.sh 2019-04-30 12:30:22 +02:00
package-latest Update package-latest 2019-04-03 11:59:34 +02:00
worker.list.example trigger a build 2020-01-22 13:30:44 +01:00

README.md

Kubernetes Cluster Deployer and Withdrawer


Available CNI plugins

  • Calico
  • Cilium
  • Flannel
  • WeawNet

User's Manual

Preparations

The commands must be run as root on the (future) master node. The SSH-key of the master node must be uploaded on the worker node for root, so it can run seamlessly.

Create a worker.list file and add the hostname or the IP address of the worker nodes in it line-by-line as you can see in the example file.

Create a docker.version file containing the desired version of the docker package you would like to deploy, or alternatively run the package-latest command, which will create this file for you.

Create a kubernetes.version file containing the desired version of the kubernetes package you would like to deploy, or alternatively run the ./package-latest command, which will create this file for you.

Deploying Kubernetes Cluster

To install the cluster run the ./cluster-deploy <CNI> command. A Kubernetes CNI plugin name must be given as an argument. If you give the word help as an argument, you will get the available CNI plugins.

Withdraw Kubernetes Cluster

To undo the cluster installation run the ./cluster-withdraw command and it will clean up the configurations on all nodes including the master as well. Command will purge all Kubernetes setups from nodes enlisted in the worker.list file!

Deploy function to kubeless

To deploy a function to kubeless run the ./function/deploy_function.sh <RUNTIME> <FILENAME> <FUNCTION NAME> <HANDLER NAME> command with the appropriate parameters. You need to have the function available in a file next to the script.

Benchmark the cluster

Benchmarking is pretty turnkey. Edit the appropriate variables in ./benchmark/benchmark.sh file, then run it!