Skip to content

Commit 26baa65

Browse files
committed
cd: updated ingress/cert
1 parent a87eb66 commit 26baa65

File tree

4 files changed

+40
-6
lines changed

4 files changed

+40
-6
lines changed

.helm/adhoc/certificate.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,27 @@ spec:
6363
---
6464
apiVersion: cert-manager.io/v1
6565
kind: Certificate
66+
metadata:
67+
name: siibra-api-rc-ebrains
68+
spec:
69+
commonName: siibra-api-rc.apps.ebrains.eu
70+
isCA: false
71+
dnsNames:
72+
- siibra-api-rc.apps.ebrains.eu
73+
issuerRef:
74+
kind: ClusterIssuer
75+
name: letsencrypt-production-issuer-1
76+
privateKey:
77+
algorithm: RSA
78+
encoding: PKCS1
79+
size: 2048
80+
renewBefore: 120h
81+
secretName: siibra-api-rc-ebrains-secret
82+
usages:
83+
- server auth
84+
---
85+
apiVersion: cert-manager.io/v1
86+
kind: Certificate
6687
metadata:
6788
name: siibra-api-prod-ebrains-alt
6889
spec:

.helm/adhoc/ingress.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ spec:
5454
- secretName: siibra-api-rc-secret
5555
hosts:
5656
- siibra-api-rc.apps.tc.humanbrainproject.eu
57+
- secretName: siibra-api-rc-ebrains-secret
58+
hosts:
59+
- siibra-api-rc.apps.ebrains.eu
5760
rules:
5861
- host: siibra-api-rc.apps.tc.humanbrainproject.eu
5962
http:
@@ -65,6 +68,16 @@ spec:
6568
name: rc-server-siibra-api-v4-server
6669
port:
6770
number: 5000
71+
- host: siibra-api-rc.apps.ebrains.eu
72+
http:
73+
paths:
74+
- pathType: Prefix
75+
path: "/"
76+
backend:
77+
service:
78+
name: rc-server-siibra-api-v4-server
79+
port:
80+
number: 5000
6881
---
6982
apiVersion: networking.k8s.io/v1
7083
kind: Ingress

.helm/siibra-api-v4-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

.helm/siibra-api-v4-server/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5-
replicaCount: 1
5+
replicaCount: 2
66

77
sapi:
88
flavor: "prod"
@@ -71,8 +71,8 @@ resources:
7171
# resources, such as Minikube. If you do want to specify resources, uncomment the following
7272
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
7373
limits:
74-
cpu: 200m
75-
memory: 512Mi
74+
cpu: 500m
75+
memory: 1024Mi
7676
ephemeral-storage: 32Mi
7777
requests:
7878
cpu: 100m
@@ -82,14 +82,14 @@ resources:
8282
livenessProbe:
8383
initialDelaySeconds: 20
8484
periodSeconds: 30
85-
timeoutSeconds: 10
85+
timeoutSeconds: 30
8686
failureThreshold: 3
8787
exec:
8888
command: ["/bin/ash", "-c", "cd /api && python server_health.py"]
8989
readinessProbe:
9090
initialDelaySeconds: 10
9191
periodSeconds: 30
92-
timeoutSeconds: 10
92+
timeoutSeconds: 30
9393
failureThreshold: 3
9494
exec:
9595
command: ["/bin/ash", "-c", "cd /api && python server_health.py"]

0 commit comments

Comments
 (0)