816d79760d
- Tunnel ingress rules for alpha/beta/gamma.neurontechnologies.ai - DNS CNAME records pointing to legion tunnel - k8s ingress rules routing to neuron-alpha/beta/gamma services (port 8001) - TLS certs via cert-manager for new hostnames
98 lines
2.4 KiB
YAML
98 lines
2.4 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: neuron
|
|
namespace: neuron
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
spec:
|
|
ingressClassName: traefik
|
|
tls:
|
|
- secretName: neuron-tls
|
|
hosts:
|
|
- neuron.neuralplatform.ai
|
|
- secretName: neuron-alpha-tls
|
|
hosts:
|
|
- neuron-alpha.neuralplatform.ai
|
|
- alpha.neurontechnologies.ai
|
|
- secretName: neuron-beta-tls
|
|
hosts:
|
|
- neuron-beta.neuralplatform.ai
|
|
- beta.neurontechnologies.ai
|
|
- secretName: neuron-gamma-tls
|
|
hosts:
|
|
- neuron-gamma.neuralplatform.ai
|
|
- gamma.neurontechnologies.ai
|
|
rules:
|
|
- host: neuron.neuralplatform.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron
|
|
port:
|
|
number: 8001
|
|
- host: neuron-alpha.neuralplatform.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-alpha
|
|
port:
|
|
number: 8001
|
|
- host: alpha.neurontechnologies.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-alpha
|
|
port:
|
|
number: 8001
|
|
- host: neuron-beta.neuralplatform.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-beta
|
|
port:
|
|
number: 8001
|
|
- host: beta.neurontechnologies.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-beta
|
|
port:
|
|
number: 8001
|
|
- host: neuron-gamma.neuralplatform.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-gamma
|
|
port:
|
|
number: 8001
|
|
- host: gamma.neurontechnologies.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: neuron-gamma
|
|
port:
|
|
number: 8001
|