Skip to content

Commit 84cc7b5

Browse files
authored
Merge pull request #198 from DecisionsDev/eks-review
DBACLD-155796 - Review Eks topics
2 parents 48b11f7 + 4cc97d1 commit 84cc7b5

File tree

7 files changed

+29
-20
lines changed

7 files changed

+29
-20
lines changed

.secrets.baseline

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2024-10-11T08:53:41Z",
6+
"generated_at": "2024-11-08T08:23:37Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -1296,15 +1296,15 @@
12961296
"hashed_secret": "8b712744eee080d5fe6048e4f589235d00435559",
12971297
"is_secret": false,
12981298
"is_verified": false,
1299-
"line_number": 132,
1299+
"line_number": 133,
13001300
"type": "Secret Keyword",
13011301
"verified_result": null
13021302
},
13031303
{
13041304
"hashed_secret": "b11974a9da0d56698df935ab86e19b127804d6d4",
13051305
"is_secret": false,
13061306
"is_verified": false,
1307-
"line_number": 156,
1307+
"line_number": 157,
13081308
"type": "Secret Keyword",
13091309
"verified_result": null
13101310
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,4 @@ request.
248248
[Fork a Repo]: https://help.github.com/articles/fork-a-repo
249249
[coding guidelines]: https://github.com/ibm-js/sdk/blob/master/GUIDELINES.md
250250
[interactive rebase]: http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages
251-
[rebasing]: http://git-scm.com/book/en/Git-Branching-Rebasing
251+
[rebasing]: https://git-scm.com/book/en/v2/Git-Branching-Rebasing

contrib/monitor/opentelemetry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For installations on other platforms, refer to the [Jaeger documentation](https:
2020

2121
## Deploy the OpenTelemetry Collector
2222

23-
We used the following [descriptor](https://github.com/open-telemetry/opentelemetry-go/blob/main/example/otel-collector/otel-collector.yaml) as the basis for the OTEL Collector deployment.
23+
We used the following [descriptor](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/examples/otel-collector/otel-collector.yaml) as the basis for the OTEL Collector deployment.
2424
However, it's likely that you will encounter an error similar to:
2525

2626
```console

contrib/sticky-session/ingress-dc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ metadata:
66
app: ibm-odm-prod
77
ingressroutes: ${RELEASE_NAME}
88
annotations:
9-
kubernetes.io/ingress.class: nginx
109
nginx.ingress.kubernetes.io/backend-protocol: https
1110
nginx.ingress.kubernetes.io/affinity: cookie
1211

1312
spec:
13+
ingressClassName: nginx
1414
rules:
1515
- http:
1616
paths:

contrib/sticky-session/ingress-ds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ metadata:
66
app: ibm-odm-prod
77
ingressroutes: ${RELEASE_NAME}
88
annotations:
9-
kubernetes.io/ingress.class: nginx
109
nginx.ingress.kubernetes.io/backend-protocol: https
1110

1211
spec:
12+
ingressClassName: nginx
1313
rules:
1414
- http:
1515
paths:

platform/eks/README-NGINX.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ The aim of this complementary documentation is to explain how to replace the **A
66

77
You must have created an EKS cluster and set up your environment by following step 1 of [Deploying IBM Operational Decision Manager on Amazon EKS](README.md#1-prepare-your-environment-20-min).
88

9+
> **Note**:
10+
> Make sure that AWS Load Balancer Controller is not provisioned in this cluster.
11+
12+
913
## Provision an NGINX Ingress Controller
1014

1115
You can replace the [Provision an AWS Load Balancer Controller](README.md#d-provision-an-aws-load-balancer-controller) step by provisioning an NGINX Ingress Controller with the following commands.
1216

1317
```bash
1418
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
1519
helm repo update
16-
helm install my-odm-nginx ingress-nginx/ingress-nginx
20+
helm install my-odm-nginx ingress-nginx/ingress-nginx --set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-type"=nlb
1721
```
1822

1923
For more information, refer to the [ingress-nginx readme](https://github.com/kubernetes/ingress-nginx/tree/main/charts/ingress-nginx#install-chart).
@@ -24,11 +28,11 @@ The `my-odm-nginx` service should have an available `External-IP` when you run t
2428
kubectl get service my-odm-nginx-ingress-nginx-controller
2529
```
2630

27-
You can then go back to the [main documentation](README.md#2-create-an-rds-database-10-min).
31+
You can then go back to the main documentation to continue [Step 2: Create an RDS database](README.md#2-create-an-rds-database-10-min) and [Step 3: Prepare your environment for the ODM installation](README.md#3-prepare-your-environment-for-the-odm-installation-5-min).
2832

2933
## Install an ODM release with NGINX Ingress Controller
3034

31-
During the helm install, you just have to replace [eks-values.yaml](./eks-values.yaml) with [eks-nginx-values.yaml](./eks-nginx-values.yaml) that contains the relevant Ingress class: `nginx` and annotation: `nginx.ingress.kubernetes.io/backend-protocol: https`
35+
In this tutorial, you will use [eks-nginx-values.yaml](./eks-nginx-values.yaml) or [eks-rds-nginx-values.yaml](./eks-rds-nginx-values.yaml) file that contains the relevant Ingress class: `nginx` and annotation: `nginx.ingress.kubernetes.io/backend-protocol: https` for the installation.
3236

3337
To install ODM with the AWS RDS PostgreSQL database created in [step 2](README.md#2-create-an-rds-database-10-min):
3438

@@ -37,7 +41,7 @@ To install ODM with the AWS RDS PostgreSQL database created in [step 2](README.m
3741
- `<RDS_DATABASE_NAME>`: the initial database name defined when creating the RDS database
3842

3943
```bash
40-
helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-rds-nginx-values.yaml
44+
helm install mycompany ibm-helm/ibm-odm-prod --version 24.1.0 -f eks-rds-nginx-values.yaml
4145
```
4246

4347
> **Note**
@@ -49,12 +53,13 @@ helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-rds-nginx-v
4953
> - Get the [eks-nginx-values.yaml](./eks-nginx-values.yaml) file:
5054
>
5155
> ```bash
52-
> helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-nginx-values.yaml
56+
> helm install mycompany ibm-helm/ibm-odm-prod --version 24.1.0 -f eks-nginx-values.yaml
5357
> ```
5458
59+
5560
## Track ODM usage with the IBM License Service with NGINX Ingress Controller
5661
57-
Install the IBM License Service following a. section of [Track ODM usage with the IBM License Service](README.md#7-track-odm-usage-with-the-ibm-license-service) step of the documentation.
62+
Install the IBM License Service following 7a. section of [Track ODM usage with the IBM License Service](README.md#7-track-odm-usage-with-the-ibm-license-service) step of the documentation.
5863
5964
To create the IBM Licensing instance using NGINX, get the [licensing-instance-nginx.yaml](./licensing-instance-nginx.yaml) file and run the command:
6065
@@ -69,7 +74,9 @@ export LICENSING_URL=$(kubectl get ingress ibm-licensing-service-instance -n ibm
6974
export TOKEN=$(kubectl get secret ibm-licensing-token -n ibm-common-services -o jsonpath='{.data.token}' |base64 -d)
7075
```
7176

72-
You can access the `http://${LICENSING_URL}/status?token=${TOKEN}` URL to view the licensing usage or retrieve the licensing report .zip file by running:
77+
You can access the `http://${LICENSING_URL}/status?token=${TOKEN}` URL to view the licensing usage.
78+
79+
Otherwise, you can also retrieve the licensing report .zip file by running:
7380

7481
```bash
7582
curl "http://${LICENSING_URL}/snapshot?token=${TOKEN}" --output report.zip

platform/eks/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This project demonstrates how to deploy an IBM® Operational Decision Manager (O
44

55
<img src="./images/eks-schema.jpg" alt="Flow" width="2050" height="600" />
66

7+
78
The ODM on Kubernetes Docker images are available in the [IBM Cloud Container Registry](https://www.ibm.com/cloud/container-registry). The ODM Helm chart is available in the [IBM Helm charts repository](https://github.com/IBM/charts).
89

910
## Included components
@@ -49,16 +50,16 @@ Set up your environment by [configuring the AWS CLI](https://docs.aws.amazon.com
4950
```bash
5051
aws configure 
5152
```
53+
Where you provide your `AWS Access Key ID`, `AWS Secret Access Key` and the `Default region name`.
5254

5355
#### b. Create an EKS cluster (20 min)
5456

5557
```bash
56-
eksctl create cluster <CLUSTER_NAME> --version 1.28 --alb-ingress-access
57-
58+
eksctl create cluster <CLUSTER_NAME> --version 1.30 --alb-ingress-access
5859
```
5960

6061
> **Note**
61-
> The tutorial has been tested with the Kubernetes version 1.28. Check the supported kubernetes version in the [system requirement](https://www.ibm.com/support/pages/ibm-operational-decision-manager-detailed-system-requirements) page.
62+
> The tutorial has been tested with the Kubernetes version 1.30. Check the supported kubernetes version in the [system requirement](https://www.ibm.com/support/pages/ibm-operational-decision-manager-detailed-system-requirements) page.
6263
6364
> **Warning**
6465
> If you prefer to use the NGINX Ingress Controller instead of the ALB Load Balancer to expose ODM services, don't use the --alb-ingress-access option during the creation of the cluster !
@@ -177,7 +178,7 @@ helm repo update
177178
```bash
178179
$ helm search repo ibm-odm-prod
179180
NAME CHART VERSION APP VERSION DESCRIPTION
180-
ibm-helm/ibm-odm-prod 24.0.0 9.0.0.0 IBM Operational Decision Manager
181+
ibm-helm/ibm-odm-prod 24.1.0 9.0.0.1 IBM Operational Decision Manager
181182
```
182183

183184
### 4. Manage a  digital certificate (10 min)
@@ -229,7 +230,7 @@ To install ODM with the AWS RDS PostgreSQL database created in [step 2](#2-creat
229230
- `<RDS_DATABASE_NAME>` is the initial database name defined when creating the RDS database
230231

231232
```bash
232-
helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-rds-values.yaml
233+
helm install mycompany ibm-helm/ibm-odm-prod --version 24.1.0 -f eks-rds-values.yaml
233234
```
234235

235236
> **Note**
@@ -239,7 +240,7 @@ helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-rds-values.
239240
> - `<AWS-AccountId>` is your AWS Account Id
240241
>
241242
>```bash
242-
>helm install mycompany ibm-helm/ibm-odm-prod --version 23.2.0 -f eks-values.yaml
243+
>helm install mycompany ibm-helm/ibm-odm-prod --version 24.1.0 -f eks-values.yaml
243244
>```
244245
245246
> **Note**
@@ -267,6 +268,7 @@ After a couple of minutes, the ALB reflects the Ingress configuration. You can
267268

268269
```bash
269270
export ROOTURL=$(kubectl get ingress mycompany-odm-ingress --no-headers |awk '{print $4}')
271+
echo $ROOTURL
270272
```
271273

272274
> **Note**

0 commit comments

Comments
 (0)