Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TM-802 prod ns setup, updating yaml with new changes #125

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions kustomize/prod/patch-ingress-repository.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: alfresco-content-services-alfresco-cs-repository
name: alfresco-content-services-alfresco-repository
annotations:
external-dns.alpha.kubernetes.io/set-identifier: alfresco-content-services-alfresco-cs-repository-hmpps-delius-alfresco-prod-green
external-dns.alpha.kubernetes.io/set-identifier: alfresco-content-services-alfresco-repository-hmpps-delius-alfresco-prod-green
nginx.ingress.kubernetes.io/whitelist-source-range: "placeholder"
spec:
rules:
Expand All @@ -12,14 +12,14 @@ spec:
paths:
- backend:
service:
name: alfresco-content-services-alfresco-cs-repository
name: alfresco-content-services-alfresco-repository
port:
number: 80
path: /
pathType: Prefix
- backend:
service:
name: alfresco-content-services-alfresco-cs-repository
name: alfresco-content-services-alfresco-repository
port:
number: 80
path: /api-explorer
Expand Down
8 changes: 4 additions & 4 deletions kustomize/prod/patch-ingress-share.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: alfresco-content-services-alfresco-cs-share
name: alfresco-content-services-share
annotations:
external-dns.alpha.kubernetes.io/set-identifier: alfresco-content-services-alfresco-cs-share-hmpps-delius-alfresco-prod-green
external-dns.alpha.kubernetes.io/set-identifier: alfresco-content-services-share-hmpps-delius-alfresco-prod-green
nginx.ingress.kubernetes.io/whitelist-source-range: "placeholder"
spec:
rules:
Expand All @@ -12,14 +12,14 @@ spec:
paths:
- backend:
service:
name: alfresco-content-services-alfresco-cs-share
name: alfresco-content-services-share
port:
number: 80
path: /
pathType: Prefix
- backend:
service:
name: alfresco-content-services-alfresco-cs-share
name: alfresco-content-services-share
port:
number: 80
path: /share/page/
Expand Down
54 changes: 32 additions & 22 deletions kustomize/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this file overrides values defined in ./values.yaml
repository:
# -- The startup probe to cover the worse case startup time for slow clusters
alfresco-repository:
# -- The startup probe to cover the worse case startup time for slow clusters
# startupProbe:
# periodSeconds: 30
# failureThreshold: 40
Expand All @@ -16,6 +16,7 @@ repository:
# failureThreshold: 40
replicaCount: 10
image:
repository: 754256621582.dkr.ecr.eu-west-2.amazonaws.com/hmpps-migration/alfresco-content-repository
tag: release_7.3.2_elasticsearch-r5.0.2-content-latest
resources: # requests and limits set closer together to ensure CP stability
requests:
Expand All @@ -24,35 +25,44 @@ repository:
limits:
cpu: 4
memory: 10Gi
persistence:
baseSize: 100Gi
share:
replicaCount: 1
image:
repository: 754256621582.dkr.ecr.eu-west-2.amazonaws.com/hmpps-migration/alfresco-share
tag: release_7.3.2_elasticsearch-r5.0.2-share-latest
externalHost: hmpps-delius-alfresco-prod.apps.live.cloud-platform.service.justice.gov.uk
externalProtocol: https
externalPort: 443
tika:
replicaCount: 8
resources:
limits:
cpu: 2
memory: 4Gi
transformrouter:
replicaCount: 12
resources:
requests:
cpu: "0.75"
memory: "300Mi"
limits:
cpu: "2"
memory: "756Mi"
alfresco-search-enterprise:
liveIndexing:
# set in value-versions yaml
content:
replicaCount: 8
mediation:
replicaCount: 4
metadata:
replicaCount: 4
replicaCount: 2
mediation:
replicaCount: 2
alfresco-transform-service:
tika:
replicaCount: 8
resources:
requests:
cpu: "0.5"
memory: "2048Mi"
limits:
cpu: "2"
memory: 6Gi
transformrouter:
replicaCount: 8
resources:
requests:
cpu: "0.75"
memory: "512Mi"
limits:
cpu: "2"
memory: 2Gi
global:
known_urls:
- https://hmpps-delius-alfresco-prod.apps.live.cloud-platform.service.justice.gov.uk
- https://share.hmpps-delius-alfresco-prod.apps.live.cloud-platform.service.justice.gov.uk
- https://alf-sfs.prod.delius-core.hmpps-production.modernisation-platform.service.justice.gov.uk
Loading