Skip to content

Commit 7618b2a

Browse files
committed
simplify minifie service
1 parent 6333f40 commit 7618b2a

File tree

2 files changed

+6
-35
lines changed

2 files changed

+6
-35
lines changed

services/memos/app-simplified.yaml

+5-34
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,18 @@ metadata:
66
name: memos
77
spec:
88
name: memos
9-
phase: production
10-
pipeline: asdf
11-
autoscale: false
12-
buildpack: custom
139
deploymentstrategy: docker
1410
domain: memos.lacolhost.com
15-
replicaCount: 1
1611
image:
17-
pullPolicy: Always
1812
repository: neosmemo/memos
1913
tag: latest
14+
containerPort: "5230"
2015
ingress:
21-
annotations: {}
22-
className: ""
23-
enabled: true
2416
hosts:
2517
- host: memos.lacolhost.com
2618
paths:
2719
- path: /
2820
pathType: ImplementationSpecific
29-
tls: []
30-
resources:
31-
limits:
32-
cpu: 500m
33-
memory: 1Gi
34-
requests:
35-
cpu: 250m
36-
memory: 0.5Gi
37-
service:
38-
port: 80
39-
type: ClusterIP
40-
web:
41-
autoscaling:
42-
maxReplicas: 3
43-
minReplicas: 1
44-
targetCPUUtilizationPercentage: 80
45-
targetMemoryUtilizationPercentage: 80
46-
replicaCount: 1
47-
worker:
48-
autoscaling:
49-
maxReplicas: 0
50-
minReplicas: 0
51-
targetCPUUtilizationPercentage: 80
52-
targetMemoryUtilizationPercentage: 80
53-
replicaCount: 0
5421
addons: []
5522
envVars: []
5623
cronjobs: []
@@ -62,3 +29,7 @@ spec:
6229
name: memos-data
6330
size: 1Gi
6431
storageClass: standard
32+
web:
33+
replicaCount: 1
34+
worker:
35+
replicaCount: 0

services/trilium/app.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- ReadWriteOnce
2323
emptyDir: false
2424
mountPath: /home/node/trilium-data
25-
name: example-volume
25+
name: trilium-data
2626
size: 1Gi
2727
storageClass: standard
2828
fullnameOverride: ""

0 commit comments

Comments
 (0)