- localization-svc: defaultLocale ru, resolveLocale only by geo - web-svc: DEFAULT_LOCALE ru, layout lang=ru, embeddedTranslations fallback ru - countryToLocale: default ru when no country or unknown country Co-authored-by: Cursor <cursoragent@cursor.com>
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
# travel-svc — Trending, Inspiration
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: travel-svc
|
|
namespace: gooseek
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: travel-svc
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: travel-svc
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "3004"
|
|
prometheus.io/path: "/metrics"
|
|
spec:
|
|
containers:
|
|
- name: travel-svc
|
|
image: gooseek/travel-svc:latest
|
|
ports:
|
|
- containerPort: 3004
|
|
env:
|
|
- name: REDIS_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: redis-credentials
|
|
key: url
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3004
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /ready
|
|
port: 3004
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 5
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: travel-svc
|
|
namespace: gooseek
|
|
spec:
|
|
selector:
|
|
app: travel-svc
|
|
ports:
|
|
- port: 3004
|
|
targetPort: 3004
|