forked from TarsCloud/TarsWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s-debug.yaml
42 lines (42 loc) · 859 Bytes
/
k8s-debug.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
apiVersion: k8s.tars.io/v1beta1
kind: TServer
metadata:
labels:
tars.io/ServerApp: debug
tars.io/ServerName: compiler
tars.io/SubType: normal
name: debug-compiler
namespace: tars-dev
spec:
app: debug
server: compiler
important: 3
subType: normal
normal:
ports:
- isTcp: true
name: http
port: 4001
k8s:
abilityAffinity: ServerRequired
mounts:
- mountPath: /data
name: data
readOnly: false
source:
tLocalVolume:
gid: '0'
mode: '755'
uid: '0'
- name: docker-sock
source:
hostPath:
path: /var/run/docker.sock
type: Socket
mountPath: /var/run/docker.sock
replicas: 1
release:
source: base-compiler
id: v-0000001
image:
tarscloud/base-compiler