cv
This commit is contained in:
parent
560a2fc6a1
commit
6e3c77d902
@ -4,27 +4,17 @@ apiVersion: networking.k8s.io/v1
|
|||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ntr-cv
|
name: ntr-cv
|
||||||
|
namespace: ntr-cv
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: haproxy
|
ingressClassName: haproxy
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- strix.systems
|
- ntwl.xyz
|
||||||
- ntr.ntwl.xyz
|
|
||||||
secretName: strix-systems-tls
|
secretName: strix-systems-tls
|
||||||
rules:
|
rules:
|
||||||
- host: strix.systems
|
- host: ntwl.xyz
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: ntr-cv
|
|
||||||
port:
|
|
||||||
number: 8080
|
|
||||||
- host: ntr.ntwl.xyz
|
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
|||||||
@ -1,5 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: ntr-cv
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# DEPLOYMENTS
|
# DEPLOYMENTS
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
@ -8,6 +15,7 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: ntr-cv
|
name: ntr-cv
|
||||||
|
namespace: ntr-cv
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@ -20,7 +28,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: ntr-cv
|
- name: ntr-cv
|
||||||
image: registry.strix.systems/ntr-cv
|
image: registry.ntwl.xyz/ntr-cv
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
@ -37,6 +45,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: ntr-cv
|
name: ntr-cv
|
||||||
|
namespace: ntr-cv
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: ntr-cv
|
app: ntr-cv
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user