-
Notifications
You must be signed in to change notification settings - Fork 0
/
aksk-demo.yaml
52 lines (50 loc) · 960 Bytes
/
aksk-demo.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
42
43
44
45
46
47
48
49
50
51
52
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: aksk-demo
name: aksk-demo
namespace: envoy-yang
spec:
selector:
matchLabels:
app: aksk-demo
template:
metadata:
labels:
app: aksk-demo
spec:
containers:
- image: release-ci.daocloud.io/skoala/demo/aksk-demo:0.1.1
imagePullPolicy: Always
name: aksk-demo
env:
- name: SSL_ENABLED
value: 'true'
ports:
- containerPort: 8080
name: http
protocol: TCP
restartPolicy: Always
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
---
apiVersion: v1
kind: Service
metadata:
name: aksk-demo
namespace: envoy-yang
labels:
app: aksk-demo
spec:
type: NodePort
ports:
- port: 8080
targetPort: http
protocol: TCP
name: http
selector:
app: aksk-demo
---