Commit graph

16 commits

Author SHA1 Message Date
genofire
2b49a9a1ad fix(helm): update appVersion
Change-Id: b37e710c9d964372bb3466626545e5437942a900
Signed-off-by: genofire <geno+dev@fireorbit.de>
2023-06-30 09:30:25 +05:30
Rash419
488194c974 fix: helm chart error validating data: unknown object type nil in ConfigMap.data.server_name
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia1723829088ae28b45551aca7d2c6f0c32ec0010
2023-01-13 14:15:39 +05:30
Rash419
3f8f3dcf55 updated helm chart
- now works with default configuration
- updated readme
- fixed unknown field "spec.terminationGracePeriodSeconds" in deployment.yaml
  error. This field should be defined in pod spec not in deployment spec
- improved how aliasgroups are defined in helm chart
- change default to kubernetes "Deployment" instead of "StatefulSet"
- added support for kubernetes hostAliases

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ief1e2b3f0ea130425853babbd28462d48e50280f
2022-12-29 21:52:30 +05:30
genofire
3e131a9e0f improve HelmChart
Change-Id: 2995f983d09241299ccb7947a2df281aec8977a1

Signed-off-by: Klaus Erber <k.erber@erber-freelance.de>
Signed-off-by: Martin Müller <martin.mueller@dataport.de>
Signed-off-by: genofire <geno+dev@fireorbit.de>
2022-10-24 17:29:21 +02:00
Pranam Lashkari
b9f096a060 updated kubernetes HorizontalPodAutoscaler to V2
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I677dff0deb34a3c505ed0422bb359de7691d4c90
2022-09-21 17:04:28 +05:30
Pranam Lashkari
5f5175ef28 improved load balancing with HAProxy
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I7297069166b33669a9c1f91f62ee35c77f2887cd
2022-09-16 06:48:10 +05:30
Pranam Lashkari
7920e2b07d Revert "HAProxy: better load balancing"
This reverts commit 22f38ef455.

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I26bafde2db40c327ba5bcb2ea2ccf49de1287b3e
2022-08-29 16:35:29 +05:30
Pranam Lashkari
3b064b0738 kubernetes: introduce config map
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ie7a3db6fafd164541075baf6577dd6dc7d72a5c1
2022-07-14 12:04:02 +05:30
Pranam Lashkari
22f38ef455 HAProxy: better load balancing
Instead of using URL parameter hash to direct all the users on same document to same server,
use stick-tables for it

original problem:
Problem was load balancer provided us with required persistence and balance both.
we directed traffic based on the url_param which means,
all the traffic with same url_param will go to same pod/server.
All the new values of url_param will be directed to different servers in round-robin way
this can be less efficient in a high traffic environment

solution:
this new method allows us to balance and manage persistence separately
so we can specify our desired algorithm for load balancing
and persistence is managed using stick-table

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I80d63a2fc33f796c4534d94fb8de1e44c62ee9e2
2022-07-13 14:45:26 +01:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Henry Castro
8d96481ac8 misc: config: rename 'lool' -> 'cool'
Change-Id: Ib3708c71a8d2d1e4f5343c202f9cef57c76c15e3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:19 +01:00
Pranam Lashkari
030731e7b2 kubernetes: added nginx ingress config
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I0ffcc8dca1cff7dc4c6eaec115d2030a250aca33
2021-09-29 22:32:00 +02:00
M.-Kupriyanov
a3f378e72a Update ingress.yaml
now host value is bound to path

Signed-off-by: M.-Kupriyanov <m.kupriyanov@gmail.com>
Change-Id: If1c9cf2399a2bf7e0ac3f333d6fc3aaa8c39100c
2021-09-20 17:52:53 +05:30
Pranam Lashkari
9326bf045e kubernetes: use consistent hash in haproxy
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ia8d13762ebc0b0203fd5fa6870f3e576f1648c8a
2021-05-25 15:27:00 +05:30
Pranam Lashkari
4ec648ae1c kubernetes: introduced kubernetes configuration
updated the instructions to setup online in kubernetes

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ic01d94d095eac9dba54a09351eabcbc6ba83c16b
2021-05-20 12:14:19 +02:00
Yunusemre Şentürk
f69448898a Bring kubernetes proof-of-concept setup with just collabora-online
Signed-off-by: Yunusemre Şentürk <yunusemre@collabora.com>
Change-Id: I5daeeea3746bb107b3c4e0b3b68efa0adacb773f
2021-01-29 11:17:28 +01:00