-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
158 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,159 +1,159 @@ | ||
schemaVersion: 2.1.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/ide: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 | ||
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/ide: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 |