Get app server running, technically
This commit is contained in:
parent
48d674a45c
commit
c7e6a33aef
|
@ -27,6 +27,26 @@ spec:
|
||||||
- name: server
|
- name: server
|
||||||
image: "localhost:30999/riju:app"
|
image: "localhost:30999/riju:app"
|
||||||
resources: {}
|
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:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 6119
|
containerPort: 6119
|
||||||
|
@ -50,3 +70,20 @@ spec:
|
||||||
- name: http
|
- name: http
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 6119
|
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
|
||||||
|
|
Loading…
Reference in New Issue