feat(gitops): switch core apps to dedicated service charts
This commit is contained in:
parent
0541f7ad0b
commit
c65fe12c56
@ -4,7 +4,7 @@ metadata:
|
||||
name: accounts-chart
|
||||
spec:
|
||||
interval: 10m0s
|
||||
url: oci://ghcr.io/x-evor/app-service
|
||||
url: oci://ghcr.io/x-evor/accounts-chart
|
||||
ref:
|
||||
semver: "0.1.0"
|
||||
layerSelector:
|
||||
|
||||
@ -1,22 +1,26 @@
|
||||
nameOverride: accounts
|
||||
containerPort: 8080
|
||||
service:
|
||||
port: 80
|
||||
existingSecretName: accounts-env
|
||||
env:
|
||||
PORT: "8080"
|
||||
SERVICE_NAME: accounts
|
||||
HEALTHCHECK_PATH: /healthz
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 20
|
||||
|
||||
nameOverride: accounts
|
||||
containerPort: 8080
|
||||
service:
|
||||
port: 80
|
||||
global:
|
||||
existingSecretName: accounts-env
|
||||
repository: ghcr.io/x-evor/accounts
|
||||
# Preview tracks consume the rolling `latest` image from the repo-local GHCR build workflow.
|
||||
tag: latest
|
||||
env:
|
||||
PORT: "8080"
|
||||
SERVICE_NAME: accounts
|
||||
HEALTHCHECK_PATH: /healthz
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 20
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: ghcr.io/x-evor/accounts
|
||||
tag: latest
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 384Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
env:
|
||||
APP_ENV: pre
|
||||
DB_SCHEMA: core_pre
|
||||
service:
|
||||
replicaCount: 1
|
||||
global:
|
||||
tag: latest
|
||||
env:
|
||||
APP_ENV: pre
|
||||
DB_SCHEMA: core_pre
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 384Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
|
||||
@ -1,16 +1,17 @@
|
||||
replicaCount: 2
|
||||
image:
|
||||
repository: ghcr.io/x-evor/accounts
|
||||
tag: release
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 768Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
env:
|
||||
APP_ENV: production
|
||||
DB_SCHEMA: core_prod
|
||||
service:
|
||||
replicaCount: 2
|
||||
global:
|
||||
# Production consumes an explicitly published stable tag such as `release`.
|
||||
tag: release
|
||||
env:
|
||||
APP_ENV: production
|
||||
DB_SCHEMA: core_prod
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 768Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
|
||||
@ -4,7 +4,7 @@ metadata:
|
||||
name: console-chart
|
||||
spec:
|
||||
interval: 10m0s
|
||||
url: oci://ghcr.io/x-evor/app-service
|
||||
url: oci://ghcr.io/x-evor/console-chart
|
||||
ref:
|
||||
semver: "0.1.0"
|
||||
layerSelector:
|
||||
|
||||
@ -1,22 +1,32 @@
|
||||
nameOverride: console
|
||||
containerPort: 3000
|
||||
service:
|
||||
port: 80
|
||||
existingSecretName: console-env
|
||||
env:
|
||||
PORT: "3000"
|
||||
SERVICE_NAME: console
|
||||
HEALTHCHECK_PATH: /healthz
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 20
|
||||
|
||||
nameOverride: console
|
||||
containerPort: 3000
|
||||
service:
|
||||
port: 80
|
||||
global:
|
||||
existingSecretName: console-env
|
||||
repository: ghcr.io/x-evor/console
|
||||
# Preview tracks consume the rolling `latest` image from the repo-local GHCR build workflow.
|
||||
tag: latest
|
||||
env:
|
||||
PORT: "3000"
|
||||
SERVICE_NAME: console
|
||||
HEALTHCHECK_PATH: /
|
||||
DOCS_SERVICE_URL: https://docs.svc.plus
|
||||
NEXT_PUBLIC_DOCS_BASE_URL: https://docs.svc.plus
|
||||
external-service:
|
||||
- docs.svc.plus
|
||||
- xworkmate.svc.plus
|
||||
- openclaw-gateway.svc.plus
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 20
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: ghcr.io/x-evor/console
|
||||
tag: latest
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 384Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
env:
|
||||
APP_ENV: pre
|
||||
ACCOUNTS_BASE_URL: https://accounts-pre.svc.plus
|
||||
service:
|
||||
replicaCount: 1
|
||||
global:
|
||||
tag: latest
|
||||
env:
|
||||
APP_ENV: pre
|
||||
ACCOUNTS_BASE_URL: https://accounts-pre.svc.plus
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 384Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
|
||||
@ -1,16 +1,17 @@
|
||||
replicaCount: 2
|
||||
image:
|
||||
repository: ghcr.io/x-evor/console
|
||||
tag: release
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 768Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
env:
|
||||
APP_ENV: production
|
||||
ACCOUNTS_BASE_URL: https://accounts.svc.plus
|
||||
service:
|
||||
replicaCount: 2
|
||||
global:
|
||||
# Production consumes an explicitly published stable tag such as `release`.
|
||||
tag: release
|
||||
env:
|
||||
APP_ENV: production
|
||||
ACCOUNTS_BASE_URL: https://accounts.svc.plus
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 768Mi
|
||||
pdb:
|
||||
minAvailable: 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user