Files
billing/k8s/deployment.yaml
zeekay ad80413911 ingress: drop dead traefik.* annotations
hanzoai/ingress parses ingress.kubernetes.io/* only (annotations.go:13);
traefik.ingress.kubernetes.io/* (and dead traefik-v1 redirect/custom
syntax) were silently ignored. All inert here (router.tls/entrypoints
redundant with spec.tls + cert-manager) — deleted, not relocated.
2026-06-15 11:32:17 -07:00

95 lines
1.9 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: billing
namespace: hanzo
labels:
app: billing
spec:
replicas: 1
selector:
matchLabels:
app: billing
template:
metadata:
labels:
app: billing
spec:
containers:
- name: billing
image: ghcr.io/hanzoai/billing:0.0.1
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 5
periodSeconds: 30
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 3
periodSeconds: 10
imagePullSecrets:
- name: ghcr-secret
---
apiVersion: v1
kind: Service
metadata:
name: billing
namespace: hanzo
labels:
app: billing
spec:
selector:
app: billing
ports:
- port: 80
targetPort: 80
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: billing
namespace: hanzo
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: hanzo
tls:
- hosts:
- billing.hanzo.ai
- commerce.hanzo.ai
secretName: billing-tls
rules:
- host: billing.hanzo.ai
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: billing
port:
number: 80
- host: commerce.hanzo.ai
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: billing
port:
number: 80