Go to file
2019-04-03 11:56:43 +02:00
benchmark Update benchmark.sh 2019-04-03 00:53:48 +02:00
deploy Update kubernetes_install.sh 2019-04-03 01:37:22 +02:00
functions Add file get_functions.sh 2019-04-03 03:05:55 +02:00
update bunch of changes 2019-04-02 23:45:31 +02:00
withdraw Update node_reset.sh 2019-03-16 16:47:58 +01:00
.gitignore Update .gitignore 2019-04-02 23:35:25 +02:00
cluster-deploy Update cluster-deploy 2019-04-03 11:05:39 +02:00
cluster-update bunch of changes 2019-04-02 23:45:31 +02:00
cluster-withdraw Update cluster-withdraw 2019-03-16 16:47:28 +01: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
package-latest Create package-latest 2019-04-03 11:56:43 +02:00
README.md Update README.md 2019-04-02 23:52:58 +02:00
worker.list.example initial commit 2019-03-05 18:33:23 +01:00

Kubernetes Cluster Deployer and Withdrawer


Available CNI plugins (as for now)

  • 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.

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!