Every provenance line and manifest still named a DigitalOcean context, and the ARC values described a pool that died with it. A cluster gets a name here; the address it answers on belongs to the private record. Co-authored-by: Hanzo Dev <[email protected]>
109 lines
2.5 KiB
YAML
109 lines
2.5 KiB
YAML
---
|
|
###############################################################################
|
|
# Lux Wallet (wallet.lux.network)
|
|
# Web wallet for Lux Network.
|
|
# Image: ghcr.io/luxfi/wallet:0.1.0
|
|
# Cluster: lux-k8s (lux-k8s)
|
|
# Namespace: lux-explorer
|
|
###############################################################################
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: lux-wallet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-wallet
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: lux-wallet
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lux-wallet
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-luxfi
|
|
containers:
|
|
- name: wallet
|
|
image: ghcr.io/luxfi/wallet:0.1.0
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: NODE_ENV
|
|
value: "production"
|
|
- name: NEXT_TELEMETRY_DISABLED
|
|
value: "1"
|
|
ports:
|
|
- name: http
|
|
containerPort: 3000
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
allowPrivilegeEscalation: false
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: lux-wallet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-wallet
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: lux-wallet
|
|
ports:
|
|
- name: http
|
|
port: 3000
|
|
targetPort: 3000
|
|
protocol: TCP
|
|
---
|
|
###############################################################################
|
|
# IngressRoute: wallet.lux.network
|
|
###############################################################################
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-wallet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-wallet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`wallet.lux.network`)
|
|
services:
|
|
- name: lux-wallet
|
|
port: 3000
|
|
tls:
|
|
certResolver: letsencrypt
|
|
domains:
|
|
- main: wallet.lux.network
|