Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource limits/requests to the plugins #461

Merged
merged 3 commits into from
Apr 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/stacks-cpp-rhel8:2.9"
name: cpp-plugins
memoryLimit: '512Mi'
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ spec:
- exposedPort: 13131
- exposedPort: 13132
- exposedPort: 13133
memoryLimit: "512M"
memoryLimit: 512M
cpuLimit: 1500m
cpuRequest: 100m
- name: che-machine-exec
image: 'registry.redhat.io/codeready-workspaces/machineexec-rhel8:2.9'
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ spec:
- exposedPort: 13131
- exposedPort: 13132
- exposedPort: 13133
memoryLimit: "512M"
memoryLimit: 512M
cpuLimit: 1500m
cpuRequest: 100m
- name: che-machine-exec
image: 'registry.redhat.io/codeready-workspaces/machineexec-rhel8:2.9'
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/stacks-golang-rhel8:2.9"
name: vscode-go
memoryLimit: '512Mi'
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-kubernetes-rhel8:2.9"
name: "vscode-kubernetes-tools"
memoryLimit: "1G"
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
extensions:
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-kubernetes-tools/vscode-kubernetes-tools-1.2.0.vsix
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-yaml/vscode-yaml-0.8.0.vsix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-python
memoryLimit: '512Mi'
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-node-debug
memoryLimit: '1Gi'
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/stacks-dotnet-rhel8:2.9"
name: theia-omnisharp
memoryLimit: "1024Mi"
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/stacks-dotnet-rhel8:2.9"
name: theia-netcoredbg
memoryLimit: "512Mi"
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: dependency-analytics
memoryLimit: "1Gi"
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-java
memoryLimit: "1500Mi"
memoryLimit: 1500Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
name: vscode-java
memoryLimit: "1500Mi"
memoryLimit: 1500Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-java
memoryLimit: "1500Mi"
memoryLimit: 1500Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
- image: "registry.redhat.io/codeready-workspaces/stacks-php-rhel8:2.9"
name: php-debugger
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/stacks-php-rhel8:2.9"
name: php-intelephense
memoryLimit: "1000Mi"
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
name: vscode-quarkus
memoryLimit: "3500Mi"
memoryLimit: 3500Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
name: vscode-apache-camel
memoryLimit: "512Mi"
memoryLimit: 768Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-kubernetes-rhel8:2.9"
name: vscode-camelk
memoryLimit: "1G"
memoryLimit: 1Gi
cpuLimit: 500m
cpuRequest: 30m
extensions:
- https://download.jboss.org/jbosstools/vscode/stable/vscode-camelk/vscode-camelk-0.0.22-135.vsix
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-kubernetes-tools/vscode-kubernetes-tools-1.2.1.vsix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-openshift-rhel8:2.9"
name: "vscode-openshift-connector"
memoryLimit: "1500Mi"
memoryLimit: 1500Mi
cpuLimit: 500m
cpuRequest: 30m
extensions:
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-openshift-tools/vscode-openshift-connector-0.1.5.vsix
- https://download.jboss.org/jbosstools/vscode/3rdparty/vscode-kubernetes-tools/vscode-kubernetes-tools-1.2.0.vsix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ firstPublicationDate: "2020-05-27"
spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
memoryLimit: "256Mi"
memoryLimit: 256Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
name: vscode-xml
memoryLimit: "768Mi"
memoryLimit: 768Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-yaml
memoryLimit: "256Mi"
memoryLimit: 256Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.9"
name: vscode-sonarlint
memoryLimit: "512Mi"
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
volumes:
- mountPath: "/home/jboss/.m2"
name: m2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
containers:
- image: "registry.redhat.io/codeready-workspaces/plugin-java8-rhel8:2.9"
name: vscode-typescript
memoryLimit: '512Mi'
memoryLimit: 512Mi
cpuLimit: 500m
cpuRequest: 30m
args:
- sh
- -c
Expand Down