Get app server running, technically

This commit is contained in:
Radon Rosborough 2022-12-20 22:54:10 -07:00
parent 48d674a45c
commit c7e6a33aef
1 changed files with 37 additions and 0 deletions

View File

@ -27,6 +27,26 @@ spec:
- name: server
image: "localhost:30999/riju:app"
resources: {}
readinessProbe:
httpGet:
path: /
port: 6119
scheme: HTTP
failureThreshold: 1
initialDelaySeconds: 2
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
livenessProbe:
httpGet:
path: /
port: 6119
scheme: HTTP
failureThreshold: 3
initialDelaySeconds: 2
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
ports:
- name: http
containerPort: 6119
@ -50,3 +70,20 @@ spec:
- name: http
port: 80
targetPort: 6119
---
kind: IngressRoute
apiVersion: traefik.containo.us/v1alpha1
metadata:
namespace: riju
name: riju-server
spec:
entryPoints:
- https
routes:
- kind: Rule
match: "PathPrefix(`/`)"
services:
- namespace: riju
name: riju-server
port: 80