Files
universe/k8s/bootnode/deployment-web.yaml
2026-05-25 15:12:58 -07:00

160 lines
4.1 KiB
YAML

# Lux Cloud — brand=lux, cloud.lux.network
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-cloud-web
namespace: bootnode
labels:
app: lux-cloud-web
component: frontend
brand: lux
spec:
replicas: 2
selector:
matchLabels:
app: lux-cloud-web
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: lux-cloud-web
component: frontend
brand: lux
spec:
containers:
- name: web
image: ghcr.io/hanzoai/bootnode:0.0.1-web
imagePullPolicy: Always
ports:
- name: http
containerPort: 3001
protocol: TCP
env:
- name: NODE_ENV
value: production
- name: NEXT_PUBLIC_BRAND
value: lux
- name: NEXT_PUBLIC_API_URL
value: https://api.cloud.lux.network
- name: NEXT_PUBLIC_WS_URL
value: wss://ws.cloud.lux.network
- name: NEXT_PUBLIC_IAM_URL
value: https://lux.id
- name: NEXT_PUBLIC_IAM_CLIENT_ID
value: lux-cloud
- name: NEXT_PUBLIC_IAM_DOMAIN
value: lux.id
- name: NEXT_PUBLIC_AUTH_MODE
value: iam
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
securityContext:
runAsNonRoot: true
runAsUser: 1001
allowPrivilegeEscalation: false
---
# Pars Cloud — brand=pars, cloud.pars.network
apiVersion: apps/v1
kind: Deployment
metadata:
name: pars-cloud-web
namespace: bootnode
labels:
app: pars-cloud-web
component: frontend
brand: pars
spec:
replicas: 2
selector:
matchLabels:
app: pars-cloud-web
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: pars-cloud-web
component: frontend
brand: pars
spec:
containers:
- name: web
image: ghcr.io/hanzoai/bootnode:0.0.1-web
imagePullPolicy: Always
ports:
- name: http
containerPort: 3001
protocol: TCP
env:
- name: NODE_ENV
value: production
- name: NEXT_PUBLIC_BRAND
value: pars
- name: NEXT_PUBLIC_API_URL
value: https://api.cloud.pars.network
- name: NEXT_PUBLIC_WS_URL
value: wss://ws.cloud.pars.network
- name: NEXT_PUBLIC_IAM_URL
value: https://lux.id
- name: NEXT_PUBLIC_IAM_CLIENT_ID
value: pars-cloud
- name: NEXT_PUBLIC_IAM_DOMAIN
value: lux.id
- name: NEXT_PUBLIC_AUTH_MODE
value: iam
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
securityContext:
runAsNonRoot: true
runAsUser: 1001
allowPrivilegeEscalation: false