lux.tel is the sites plane's; the lux fleet stops claiming it
hanzoai/universe charts/app/values/hanzo/hanzo-domains.yaml routes lux.tel, www.lux.tel and console.lux.tel to cloud, which serves project tel. Two more claims lived here: deploy/lux-tel (a static route off /var/www/tel, priority 100) and k8s/lux-k8s/tel (Deployment + Ingress on ghcr.io/luxfi/tel:0.1.1, referenced by no kustomization). Both go, so one declaration claims those hosts. lux-fleet deletes the Application with preserveResourcesOnDeletion and no delete verb on the cluster, so removing the file removes nothing live. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
# lux.tel is files: one Middleware that serves them, one route that names it,
|
||||
# and the endpoint-less Service the route schema requires. No image, so the
|
||||
# chart renders no Deployment -- a static site is not a pod.
|
||||
cd:
|
||||
automated: true
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
middlewares:
|
||||
- name: tel
|
||||
spec:
|
||||
staticFiles:
|
||||
root: /var/www/tel
|
||||
spaMode: true
|
||||
spaIndex: index.html
|
||||
indexFiles:
|
||||
- index.html
|
||||
routes:
|
||||
- name: tel
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`lux.tel`) || Host(`www.lux.tel`)
|
||||
kind: Rule
|
||||
priority: 100
|
||||
middlewares:
|
||||
- name: tel
|
||||
services:
|
||||
- name: lux-tel
|
||||
port: 80
|
||||
tls: {}
|
||||
@@ -1,64 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lux-tel
|
||||
namespace: hanzo
|
||||
labels:
|
||||
app: lux-tel
|
||||
app.kubernetes.io/managed-by: lux-universe
|
||||
app.kubernetes.io/part-of: lux-tel
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lux-tel
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lux-tel
|
||||
spec:
|
||||
containers:
|
||||
- name: spa
|
||||
image: ghcr.io/luxfi/tel:0.1.1@sha256:f3b7d0d0647aa8728225606316daca80a45225c45d54f3d3eff17efff822e2fe
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
env:
|
||||
- name: PORT
|
||||
value: "3000"
|
||||
- name: ROOT
|
||||
value: "/public"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 32Mi
|
||||
limits:
|
||||
memory: 128Mi
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 3000
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 3000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
imagePullSecrets:
|
||||
- name: ghcr-secret
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: lux-tel
|
||||
namespace: hanzo
|
||||
spec:
|
||||
selector:
|
||||
app: lux-tel
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 3000
|
||||
@@ -1,49 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: lux-tel
|
||||
namespace: hanzo
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: lux-universe
|
||||
app.kubernetes.io/part-of: lux-tel
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: ingress
|
||||
tls:
|
||||
- hosts:
|
||||
- lux.tel
|
||||
- www.lux.tel
|
||||
- console.lux.tel
|
||||
secretName: lux-tel-tls
|
||||
rules:
|
||||
- host: lux.tel
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: lux-tel
|
||||
port:
|
||||
number: 80
|
||||
- host: www.lux.tel
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: lux-tel
|
||||
port:
|
||||
number: 80
|
||||
- host: console.lux.tel
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: lux-tel
|
||||
port:
|
||||
number: 80
|
||||
@@ -1,6 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: hanzo
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
Reference in New Issue
Block a user