Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit b3018b7

Browse files
authored
Update README.md
1 parent ed0d36f commit b3018b7

File tree

1 file changed

+98
-8
lines changed

1 file changed

+98
-8
lines changed

README.md

Lines changed: 98 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ Kubernetes deployment tooling.
1212

1313
Gimlet composes the best of open-source out of the box.
1414

15-
## Installation
16-
15+
## Install the CLI
1716
#### CLI
1817
Linux / Mac
1918

@@ -24,20 +23,111 @@ sudo mv ./gimlet /usr/local/bin/gimlet
2423
gimlet --version
2524
```
2625

27-
#### Dashboard
26+
## Dashboard Installation
27+
28+
On this page you can learn how to install the open-source Gimlet on any Kubernetes cluster.
29+
30+
If you prefer to use our hosted SaaS platform, [sign up here](https://gimlet.io/signup) then skip ahead to [connect a Kubernetes cluster](#connect-your-cluster).
31+
32+
### Prerequisites
33+
34+
- A [Github.com](https://github.com) personal or organization account.
35+
- A Kubernetes cluster running on your laptop or on a cloud provider. We recommend using k3d on your laptop if you are evaluating Gimlet. It takes only a single command to start one, and it runs in a container.
36+
37+
#### Launching k3d on your laptop - optional
38+
39+
K3d is a lightweight Kubernetes cluster that runs in a container on your laptop. At Gimlet, we use k3d solely for our local needs and we recommend you do the same.
40+
41+
Install k3d with:
42+
43+
```
44+
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
45+
```
46+
47+
Then launch a cluster:
48+
49+
```
50+
k3d cluster create gimlet-cluster --k3s-arg "--disable=traefik@server:0"
51+
```
52+
53+
Once your cluster is up, validate it with `kubectl get nodes`:
54+
55+
```
56+
INFO[0000] Prep: Network
57+
INFO[0000] Created network 'k3d-gimlet-cluster'
58+
INFO[0000] Created image volume k3d-gimlet-cluster-images
59+
INFO[0000] Starting new tools node...
60+
INFO[0000] Starting Node 'k3d-gimlet-cluster-tools'
61+
INFO[0001] Creating node 'k3d-gimlet-cluster-server-0'
62+
INFO[0001] Creating LoadBalancer 'k3d-gimlet-cluster-serverlb'
63+
INFO[0001] Using the k3d-tools node to gather environment information
64+
INFO[0001] Starting new tools node...
65+
INFO[0001] Starting Node 'k3d-gimlet-cluster-tools'
66+
INFO[0002] Starting cluster 'my-first-cluster'
67+
INFO[0002] Starting servers...
68+
INFO[0003] Starting Node 'k3d-gimlet-cluster-server-0'
69+
INFO[0009] All agents already running.
70+
INFO[0009] Starting helpers...
71+
INFO[0009] Starting Node 'k3d-gimlet-cluster-serverlb'
72+
INFO[0016] Injecting records for hostAliases (incl. host.k3d.internal) and for 3 network members into CoreDNS configmap...
73+
INFO[0018] Cluster 'my-first-cluster' created successfully!
74+
INFO[0018] You can now use it like this:
75+
kubectl cluster-info
76+
77+
$ kubectl get nodes
78+
NAME STATUS ROLES AGE VERSION
79+
k3d-gimlet-cluster-server-0 Ready control-plane,master 11s v1.26.4+k3s1
80+
```
2881

29-
Gimlet is installable by a kubectl apply:
82+
### Install Gimlet with a oneliner
3083

3184
```
3285
kubectl apply -f https://raw.githubusercontent.com/gimlet-io/gimlet/main/deploy/gimlet.yaml
3386
```
3487

35-
or with a Helm chart:
88+
Then access it with port-forward on [http://127.0.0.1:9000](http://127.0.0.1:9000)
3689

3790
```
38-
helm template gimlet onechart/onechart -f fixtures/gimlet-helm-values.yaml -n default
91+
kubectl port-forward svc/gimlet 9000:9000
3992
```
4093

41-
## Documentation
94+
![](/admin-login.png)
95+
96+
#### Admin password
97+
98+
You can find the admin password in the logs:
99+
100+
```
101+
$ kubectl logs deploy/gimlet | grep "Admin auth key"
102+
time="2023-07-14T14:28:59Z" level=info msg="Admin auth key: 1c04722af2e830c319e590xxxxxxxx" file="[dashboard.go:55]"
103+
```
104+
105+
#### Alternative installation method
106+
107+
We generate the Kubernetes manifests from a Helm chart. You can use this configuration directly with Helm if you prefer.
108+
109+
```
110+
helm template gimlet onechart/onechart \
111+
-f https://raw.githubusercontent.com/gimlet-io/gimlet/main/fixtures/gimlet-helm-values.yaml
112+
```
113+
114+
For all Gimlet environment variables, see the [Gimlet configuration reference](/docs/gimlet-configuration-reference).
115+
116+
### Basic configuration
117+
118+
#### Connect your repositories
119+
120+
To connect your git repositories to Gimlet, follow the on-screen guides.
121+
122+
Important to note:
123+
124+
- When you integrate with Github, you don't give access to any third party or the makers of Gimlet.
125+
- The integration allows for fine-grained permission grants. You can pick the repositories that you want to integrate with Gimlet.
126+
127+
#### Connect your cluster
128+
129+
Navigate to the "Environments" tab.
130+
131+
Notice that Gimlet created a dummy environment for you. Normally you would call your environments staging or production, but this is a dummy environment, mine is called _Bold Grass_ 🙃.
42132

43-
[https://gimlet.io/docs/installation](https://gimlet.io/docs/installation)
133+
Follow the steps on screen to connect your cluster.

0 commit comments

Comments
 (0)