Update README.md

This commit is contained in:
Torma Kristóf 2019-04-02 23:40:17 +02:00 committed by GitHub
parent 5c56d5375a
commit dc7a31aaa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 15 deletions

View File

@ -23,19 +23,8 @@ To install the cluster run the `./cluster-deploy <CNI>` command. A Kubernetes CN
### 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` command with the appropriate parameters. You need to have the function available in a file next to the script.
## Használati útmutató
### Előkészületek
A parancsokat root-tal kell futtatni a (leendő) mester gépen. A worker gépek root felhasználójához töltsétek fel a mester SSH-kulcsát, így jelszókérés nem állítja meg a telepítési folyamatokat.
Hozz létre egy `worker.list` fájlt, mely soronként tartalmazza a worker gépek hosztnevét vagy IP címét, ahogy a példa fájlban is látható.
### Kubernetes Klaszter létrehozása
A klaszter létrehozásához futtasd le a `./cluster-deploy <cni>` parancsot. Paraméterként meg kell adni a Kubernetes klaszter hálózati bővítményét. Ha a `help` paraméterrel futtatod, akkor megkapod az elérhető Kubernetes CNI bővítmények listáját.
### Kubernetes Klaszter eltávolítása
A klaszter visszavonásához a `./cluster-withdraw` parancsot kell lefuttatni, és ezután eltávolítja az összes klaszter beállítást a gépeken, beleértve a mester gépet is. A parancs letörli az összes Kubernetes beállítást a hosztokról, melyek a `worker.list` fájlban szerepelnek!
### Benchmark the cluster
Benchmarking is pretty turnkey. Edit the appropriate variables in `./benchmark/benchmark.sh` file, then run it!