forked from DevExpress/XAF-Blazor-Kubernetes-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-depl.yaml
41 lines (41 loc) · 809 Bytes
/
app-depl.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-depl
spec:
replicas: 1
selector:
matchLabels:
app: xafcontainerexample
template:
metadata:
labels:
app: xafcontainerexample
spec:
containers:
- name: xafcontainerexample
image: devexpress/xaf-container-example:latest
env:
- name: CONNECTION_STRING
value: K8sMSSQLConnectionString
resources:
requests:
cpu: 400m
memory: 500Mi
limits:
cpu: 800m
memory: 1Gi
---
apiVersion: v1
kind: Service
metadata:
name: app-clusterip-srv
spec:
type: ClusterIP
selector:
app: xafcontainerexample
ports:
- name: xafcontainerexample
protocol: TCP
port: 80
targetPort: 80