Skip to content

Commit 3e9cfac

Browse files
committed
Fix syntax and grammar
Signed-off-by: Thomas Telleis <[email protected]>
1 parent c7ac1e0 commit 3e9cfac

File tree

1 file changed

+41
-58
lines changed
  • docs/deploy-and-configure/installation/scenario-k8s-deployment

1 file changed

+41
-58
lines changed

docs/deploy-and-configure/installation/scenario-k8s-deployment/index.md

Lines changed: 41 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ icon: simple/kubernetes
55

66
## Introduction
77

8-
This page describes basic principles to install corporate memory in a kubernetes cluster with ```helm``` and ```kubectl```.
9-
It will not explain you basic principles of kubernetes or help in installing the tools.
10-
In the next section you will find useful links for installing the required tools.
8+
This page describes the basic principles of installing Corporate Memory in a Kubernetes cluster with `helm` and `kubectl`.
9+
It will not explain the basic principles of Kubernetes or help in installing the tools.
10+
In the next section, you will find useful links for installing the required tools.
1111

12-
The code examples in this section assumes that you have POSIX-compliant shell (linux, macOS or WSL for Windows), a working ```KUBECONFIG``` and a full provisioned cluster.
12+
The code examples in this section assume that you have a POSIX-compliant shell (Linux, macOS, or WSL for Windows), a working `KUBECONFIG`, and a fully provisioned cluster.
1313

1414
## Requirements
1515

1616
- Access credentials to eccenca Artifactory and eccenca Docker Registry → [contact us to get yours](https://eccenca.com/en/contact)
17+
- A license for GraphDB https://www.ontotext.com/products/graphdb/
1718
- Kubectl from https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
1819
- Helm from https://helm.sh/docs/intro/install/
1920
- If deploying on K3D, download a static binary from https://github.com/k3d-io/k3d/releases (or use the script at https://k3d.io/ to do the same).
@@ -23,11 +24,11 @@ The code examples in this section assumes that you have POSIX-compliant shell (l
2324
![CMEM Helm Chart Architecture](images/cmem-helm-architecture.svg)
2425

2526

26-
## General notice
27+
## General Notice
2728

28-
Though in this document value files for the three charts are listed we suggest to always have a look at the default value.yaml file from archive or repository. The examples shown here are very basic and should not represent a production environment. Also the CHANGELOG.md and README.md files in the archives or repositories can give some insights.
29+
Although this document lists value files for the three charts, we suggest always looking at the default `values.yaml` file from the archive or repository. The examples shown here are very basic and should not represent a production environment. The `CHANGELOG.md` and `README.md` files in the archives or repositories can also give some insights.
2930

30-
We assume a namespaces are already created. You can either deploy all three components into one namespace or into separate ones.
31+
We assume that namespaces are already created. You can either deploy all three components into one namespace or into separate ones.
3132

3233
```console
3334
kubectl create namespace graphdb
@@ -54,7 +55,7 @@ helm repo add ontotext https://maven.ontotext.com/repository/helm-public/
5455
helm repo update
5556
```
5657

57-
### 2. Create a `graphdb-values.yaml` file
58+
### 2. Configuration
5859

5960
Create a file named `graphdb-values.yaml` to configure your GraphDB deployment.
6061
For a basic setup, you can start with an empty file and add configurations as needed.
@@ -101,17 +102,17 @@ persistence:
101102
102103
### 3. Install the GraphDB chart
103104
104-
First create the license mentioned above, then install the GraphDB chart using Helm:
105+
First, create the license secret as mentioned above. Then, install the GraphDB chart using Helm:
105106
106107
```console
107108
kubectl --namespace graphdb create secret generic graphdb-license --from-file graphdb.license
108109

109-
helm upgrade -i graphdb ontotext/graphdb \
110+
helm upgrade --install graphdb ontotext/graphdb \
110111
--namespace graphdb \
111112
-f graphdb-values.yaml
112113
```
113114

114-
This will deploy GraphDB into the `graphdb` namespace and it will create the namespace if it not exist.
115+
This will deploy GraphDB into the `graphdb` namespace.
115116

116117
### 4. Accessing GraphDB
117118

@@ -141,26 +142,21 @@ This guide provides instructions on how to install Keycloak using the provided H
141142
```console
142143
helm repo add --force-update eccenca https://helm.eccenca.com
143144
helm repo update eccenca
144-
helm search repo eccenca
145145
```
146146

147147
You can also download the latest version here:
148148

149149
```console
150150
wget https://helm.eccenca.com/keycloak/latest.tgz
151151
tar -xzf latest.tgz
152-
cd keycloak-helm
153152
```
154153

155154
```console
156155
# this requires gitlab.eccenca.com access
157156
git clone ssh://[email protected]:8101/devops/keycloak-helm.git
158-
cd keycloak-helm
159157
```
160158

161-
Assuming you have the chart in a local directory named `keycloak-chart`.
162-
163-
### 3. Create a `keycloak-values.yaml` file
159+
### 2. Configuration
164160

165161
Create a file named `keycloak-values.yaml` to configure your Keycloak deployment. At a minimum, you should configure the initial admin credentials and the ingress settings.
166162
You can also [download the minimum file here:](files/keycloak-values.yaml) (`keycloak-values.yaml`).
@@ -193,9 +189,9 @@ ingress:
193189
```
194190
195191
You will also need to configure TLS, for example by using `cert-manager`.
196-
Please se the `README.md` file in the chart repository for explanations.
192+
Please see the `README.md` file in the chart repository for explanations.
197193

198-
### 4. Install the chart
194+
### 3. Install the Keycloak chart
199195

200196
Use `helm` to deploy the chart into the `keycloak` namespace.
201197

@@ -209,18 +205,18 @@ helm upgrade -i keycloak ./keycloak-helm \
209205
Or from helm repository:
210206

211207
```console
212-
helm upgrade -i keycloak eccenca/keycloak-helm \
208+
helm upgrade --install keycloak eccenca/keycloak-helm \
213209
--namespace keycloak \
214210
-f keycloak-values.yaml
215211
216212
# if you use sqldump provisioning you have to restart keycloak:
217213
kubectl --namespace keycloak delete pods/keycloak-0
218214
```
219215

220-
This command will install the Keycloak chart in the `gemkeycloak` namespace using your custom configuration.
221-
Be aware, that the example tries to restore the database from a dump provided inside the chart. You can disable this, if you like.
216+
This command will install the Keycloak chart in the `keycloak` namespace using your custom configuration.
217+
Be aware that the example tries to restore the database from a dump provided inside the chart. You can disable this if you like.
222218

223-
### 5. Accessing Keycloak
219+
### 4. Accessing Keycloak
224220

225221
Once deployed, you can access the Keycloak UI via the hostname you configured in your `keycloak-values.yaml`.
226222

@@ -229,6 +225,7 @@ echo "https://<your-keycloak-hostname>/auth"
229225
```
230226

231227

228+
232229
## Installation Corporate Memory
233230

234231
This guide provides instructions on how to install the chart using `kubectl` and `helm`.
@@ -250,23 +247,9 @@ helm repo update cmem-helm
250247
```console
251248
# this requires gitlab.eccenca.com access
252249
git clone https://gitlab.eccenca.com/cmem/cmem-helm.git
253-
cd cmem-helm
254250
```
255251

256-
### 2. Create Docker registry credentials
257-
258-
To pull the CMEM images, you need to provide credentials to your Docker registry.
259-
260-
```console
261-
kubectl create secret docker-registry eccenca-docker-registry-credentials \
262-
--docker-server=https://docker-registry.eccenca.com \
263-
--docker-username=<your-docker-username> \
264-
--docker-password=<your-docker-password> \
265-
--namespace cmem
266-
```
267-
Replace the placeholders with the provided registry details and credentials.
268-
269-
### 2b. (optional) Create cmem license secret
252+
### 2. Configuration
270253

271254
By default, Corporate Memory is subject to the eccenca free Personal, Evaluation and Development License Agreement (PEDAL), a license intended for non-commercial usage.
272255

@@ -282,8 +265,6 @@ Then, add the secret name to your `values.yaml` file for the key `global.license
282265

283266
For more background on license, see also: https://documentation.eccenca.com/latest/deploy-and-configure/configuration/dataplatform/application-full/
284267

285-
### 3. Create a `cmem-values.yaml` file
286-
287268
To configure your Corporate Memory deployment create a file named `cmem-values.yaml`.
288269
At a minimum, you should configure the
289270
- `hostname`, under which the deployment is reachable later
@@ -326,11 +307,7 @@ global:
326307
keycloakBaseUrl: https://<your-keycloak-hostname>/auth/
327308
keycloakIssuerUrl: https://<your-keycloak-hostname>/auth/realms/cmem
328309
329-
# If you specified customCACerts, an initContainer is added to DI and EXPLORE to append your custom CA to the system-wide TrustStore.
330-
# Here you can optionally specify resource requests and limits for that initContainer.
331-
customCACerts: {}
332-
333-
# (optional if 2b was created)
310+
# (if license secret was created)
334311
# license: cmem-license
335312
336313
explore:
@@ -345,29 +322,35 @@ explore:
345322
346323
```
347324

348-
### 5. Install the chart
325+
### 3. Install the Corporate Memory chart
349326

350-
Use `helm` to deploy the chart.
327+
To pull the Corporate Memory images, you need to provide credentials to your Docker registry.
328+
329+
```console
330+
kubectl create secret docker-registry eccenca-docker-registry-credentials \
331+
--docker-server=https://docker-registry.eccenca.com \
332+
--docker-username=<your-docker-username> \
333+
--docker-password=<your-docker-password> \
334+
--namespace cmem
335+
```
336+
Replace the placeholders with the provided registry details and credentials.
337+
338+
Now use `helm` to deploy the chart.
339+
This command will install the chart in the specified namespace using your custom configuration.
351340

352341
```console
353342
# In case you have the chart or repostiory locally available
354-
helm upgrade --install cmem .
343+
helm upgrade --install cmem . \
355344
--namespace cmem \
356-
-f my-values.yaml
345+
-f cmem-values.yaml
357346
358347
# or use our helm repository
359-
helm upgrade --install cmem cmem-helm/cmem
348+
helm upgrade --install cmem cmem-helm/cmem \
360349
--namespace cmem \
361-
-f my-values.yaml
350+
-f cmem-values.yaml
362351
```
363352

364-
This command will install the chart in the specified namespace using your custom configuration.
365-
366-
_See [configuration](#configuration) below for more details on available options._
367-
368-
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._
369-
370-
### 6. Verify the installation
353+
### 4. Verify the installation
371354

372355
After the installation is complete, you can check the status of the pods:
373356

0 commit comments

Comments
 (0)