Go to file
Torma Kristóf b826a82b6d
continuous-integration/drone/push Build is passing Details
Update 'deploy/install_knative.sh'
2020-02-18 22:12:55 +01:00
benchmark test 2020-01-09 14:13:21 +01:00
deploy Update 'deploy/install_knative.sh' 2020-02-18 22:12:55 +01:00
functions add sleep-py-concurrency yaml 2020-02-18 21:46:31 +01:00
update init 2019-10-02 18:27:25 +02:00
withdraw init 2019-10-02 18:27:25 +02:00
.drone.yml wrong pippantas 2019-12-18 17:56:42 +01:00
.travis.yml minor clean 2019-12-07 18:05:58 +01:00
CODE_OF_CONDUCT.md init 2019-10-02 18:27:25 +02:00
CONTRIBUTING.md init 2019-10-02 18:27:25 +02:00
LICENSE Initial commit 2019-10-02 16:38:54 +02:00
README.md readme 2020-01-09 14:19:05 +01:00
cluster-deploy minor clean 2019-12-07 18:05:58 +01:00
cluster-update init 2019-10-02 18:27:25 +02:00
cluster-withdraw minor clean 2019-12-07 18:05:58 +01:00
delete_evicted.sh init 2019-10-02 18:27:25 +02:00
package-latest init 2019-10-02 18:27:25 +02:00
worker.list.example init 2019-10-02 18:27:25 +02:00

README.md

Kubernetes Cluster Deployer and Withdrawer

Build Status


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!