Align deploy paths and namespace with current k8s target
This commit is contained in:
+5
-17
@@ -2,7 +2,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: la-huasca-ts
|
||||
namespace: la-huasca-ts
|
||||
namespace: lahuasca
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -29,18 +29,6 @@ spec:
|
||||
secretKeyRef:
|
||||
name: calendar-db-secrets
|
||||
key: url
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: http
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 15
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
resources:
|
||||
requests:
|
||||
cpu: 200m
|
||||
@@ -53,7 +41,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: la-huasca-ts
|
||||
namespace: la-huasca-ts
|
||||
namespace: lahuasca
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
@@ -67,17 +55,17 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: la-huasca-ts
|
||||
namespace: la-huasca-ts
|
||||
namespace: lahuasca
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- la-huasca.ajavasoft.com
|
||||
- lahuasca.com
|
||||
secretName: la-huasca-ts-tls
|
||||
rules:
|
||||
- host: la-huasca.ajavasoft.com
|
||||
- host: lahuasca.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
Reference in New Issue
Block a user