feat: add LMS web client
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lms-web-fe
|
||||
namespace: stdo-lms
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lms-web-fe
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lms-web-fe
|
||||
spec:
|
||||
containers:
|
||||
- name: lms-web-fe
|
||||
image: localhost:5000/lms-web-fe:0.1.0
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 128Mi
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 80
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: lms-web-fe
|
||||
namespace: stdo-lms
|
||||
spec:
|
||||
selector:
|
||||
app: lms-web-fe
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: lms-web-fe
|
||||
namespace: stdo-lms
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`workspace.autonomystudio.net`) && PathPrefix(`/lms-web`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: lms-web-fe
|
||||
port: 80
|
||||
Reference in New Issue
Block a user