Skip to content

Commit cb858ed

Browse files
author
Frederic Spiers
committed
docs(warn): include warning for production ready setup
1 parent 2275a1c commit cb858ed

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ Additionaly, a **shell** variant of the Docker image is available, this version
3535
The project can be deployed on Kubernetes-like infrastructure (k0s, k3s, Talos, EKS, GKE, AKS...). GGBridge leverages **Helm Chart Deployment** which is an industry standard method for production environements, offering enhanced configurability and scalability for Kubernetes setups.
3636

3737
- If you already have a Kubernetes cluster, please follow the [below documentation](#helm-deployment).
38-
- If you do not have a dedicated Kubernetes cluster, you can deploy GGBridge with a `k3d` cluster on a single VM. Please follow the [k3d installation documentation](./docs/k3d-install.md)
38+
- If you do not have access to a Kubernetes cluster, you can deploy GGBridge along with a `k3d` cluster on a single VM. Please follow the [k3d installation documentation](./docs/k3d-install.md).
39+
40+
> [!WARNING]
41+
> The [k3d installation method](./docs/k3d-install.md) is not recommended for production due to single point of failure and lack of high availability.
42+
>
43+
> **For production setup**, we recommend deploying on a multi-node Kubernetes cluster across multiple AZs with proper redundancy and monitoring.
3944
4045
### Helm deployment
4146

docs/k3d-install.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
This guide will help you deploy and manage local Kubernetes clusters using k3d for GGBridge deployment.
44

5+
> [!WARNING]
6+
> This setup is not recommended for production due to single point of failure and lack of high availability.
7+
>
8+
> **For production setup**, we recommend deploying on a multi-node Kubernetes cluster across multiple AZs with proper redundancy and monitoring.
9+
510
## 📋 Prerequisites
611
For this installation method, you will need a single server (VM, bare metal...) and install following components:
712

@@ -11,6 +16,11 @@ For this installation method, you will need a single server (VM, bare metal...)
1116
- [kubectl](https://kubernetes.io/docs/tasks/tools/) to interact with the cluster
1217

1318
## Quick Start
19+
20+
> [!IMPORTANT]
21+
> There are two methods for installing GGBridge on k3d, the [Basic CLI installation](#basic-cli-installation), and [using config files](#config-file-installation). While the basic CLI works, we recommend the second one for a long-term and maintainable lifecycle.
22+
23+
1424
### Basic CLI installation
1525

1626
> [!NOTE]
@@ -27,7 +37,7 @@ k3d cluster create ggbridge --agents 0 \
2737
--k3s-arg "--disable=servicelb@server:*" \
2838
--k3s-node-label "project=ggbridge@server:*" \
2939
--api-port 0.0.0.0:6445 \
30-
--image rancher/k3s:v1.34.1-k3s1 \
40+
--image rancher/k3s:v1.33.5-k3s1 \
3141
--timeout 3m0s
3242
```
3343
2. Create the GGBridge namespace
@@ -46,12 +56,11 @@ kubectl create secret generic ggbridge-client-crt -n ggbridge --from-file=tls.cr
4656

4757
4. Install GGBridge client
4858

49-
> [!IMPORTANT]
50-
> Replace `$uid` here with the Bridge UID
59+
Replace `$uid` here with the Bridge UID
5160

5261
```bash
5362
helm -n ggbridge upgrade -i ggbridge oci://ghcr.io/gitguardian/ggbridge/helm/ggbridge \
54-
--set hostname="$uid.ggbridge.gitguardian.com" \
63+
--set hostname="$uid.ggbridge.gitguardian.tech" \
5564
--set tls.enable=true \
5665
--set tls.existingSecret="ggbridge-client-crt" \
5766
--set tls.existingSecretKeys.caCrt="ca.crt" \

k3d/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ agents: 0
1010
kubeAPI:
1111
hostIP: "0.0.0.0"
1212
hostPort: "6445"
13-
image: rancher/k3s:v1.34.1-k3s1
13+
image: rancher/k3s:v1.33.5-k3s1
1414
files:
1515
- description: 'GGbridge namespace'
1616
source: |

0 commit comments

Comments
 (0)