-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevfile.yaml
160 lines (160 loc) · 4.62 KB
/
devfile.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
inline:
schemaVersion: 2.0.0
metadata:
name: che-theia
commands:
- id: init-remote-runtime-injector
apply:
component: remote-runtime-injector
events:
preStart:
- init-remote-runtime-injector
components:
- name: theia-ide
container:
image: 'docker.io/browork/ide3100:latest'
env:
- name: THEIA_PLUGINS
value: 'local-dir:///plugins'
- name: HOSTED_PLUGIN_HOSTNAME
value: 0.0.0.0
- name: HOSTED_PLUGIN_PORT
value: '3130'
- name: THEIA_HOST
value: 127.0.0.1
volumeMounts:
- name: plugins
path: /plugins
- name: theia-local
path: /home/theia/.theia
mountSources: true
memoryLimit: 512M
cpuLimit: 1500m
cpuRequest: 100m
endpoints:
- name: theia
exposure: public
secure: true
targetPort: 3100
attributes:
type: main
cookiesAuthEnabled: true
discoverable: false
urlRewriteSupported: true
protocol: http
- name: webviews
targetPort: 3100
exposure: public
secure: true
protocol: http
attributes:
type: webview
cookiesAuthEnabled: true
discoverable: false
unique: true
urlRewriteSupported: true
- name: mini-browser
targetPort: 3100
exposure: public
secure: true
protocol: http
attributes:
type: mini-browser
cookiesAuthEnabled: true
discoverable: false
unique: true
urlRewriteSupported: true
- name: theia-dev
targetPort: 3130
exposure: public
protocol: http
attributes:
type: ide-dev
discoverable: false
urlRewriteSupported: true
- name: theia-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: theia-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: theia-redirect-3
targetPort: 13133
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
attributes:
app.kubernetes.io/component: che-theia
app.kubernetes.io/part-of: che-theia.eclipse.org
ports:
- exposedPort: 3100
- exposedPort: 3130
- exposedPort: 13131
- exposedPort: 13132
- exposedPort: 13133
- name: plugins
volume: {}
- name: theia-local
volume: {}
- name: che-machine-exec
container:
image: 'quay.io/eclipse/che-machine-exec:next'
memoryLimit: 128Mi
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
command:
- /go/bin/che-machine-exec
- '--url'
- '127.0.0.1:3333'
- '--idle-timeout'
- '30m'
endpoints:
- name: terminal
targetPort: 3333
exposure: public
secure: true
protocol: ws
attributes:
type: collocated-terminal
discoverable: false
cookiesAuthEnabled: true
urlRewriteSupported: true
attributes:
app.kubernetes.io/component: machine-exec
app.kubernetes.io/part-of: che-theia.eclipse.org
ports:
- exposedPort: 3333
- name: remote-runtime-injector
attributes:
app.kubernetes.io/component: remote-runtime-injector
app.kubernetes.io/part-of: che-theia.eclipse.org
container:
image: 'quay.io/azatsary/che-theia-endpoint-runtime-binary:filter'
memoryLimit: 128Mi
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
env:
- name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE
value: /remote-endpoint/plugin-remote-endpoint
- name: REMOTE_ENDPOINT_VOLUME_NAME
value: remote-endpoint
volumeMounts:
- name: plugins
path: /plugins
- name: remote-endpoint
path: /remote-endpoint
- name: remote-endpoint
volume:
ephemeral: true