Comments (2)
You can refer to st2web for other component configurations in values.yaml
st2web:
# Minimum 2 replicas are recommended to run st2web in HA mode
replicas: 2
# Tested resource consumption based on multiple requests to st2web within nginx
# Please adjust based on your conscious choice
resources:
requests:
memory: "25Mi"
cpu: "50m"
limits:
memory: "100Mi"
from stackstorm-k8s.
PR welcome. You'll need to add the resources section to each of the init containers. I count 13 init containers defined in:
templates/deployments.yaml
- st2auth >
generate-htpasswd
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/deployments.yaml#L49 - st2sensorcontainer >
init-config
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/deployments.yaml#L1177 - st2client >
generate-st2client-config
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/deployments.yaml#L1619
- st2auth >
templates/jobs.yaml
- job-st2-apikey-load >
wait-for-api
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/jobs.yaml#L136 - job-st2-apikey-load >
generate-st2client-config
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/jobs.yaml#L150 - job-st2-key-load >
generate-st2client-config
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/jobs.yaml#L276 - job-st2-register-content >
st2-register-content-custom-init
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/jobs.yaml#L412 - extra_hooks job >
generate-st2client-config
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/jobs.yaml#L645
- job-st2-apikey-load >
templates/_helpers.tpl
, specifically the templates:stackstorm-ha.init-containers-wait-for-db
stackstorm-ha.init-containers-wait-for-mq
stackstorm-ha.packs-initContainers
(there are 3 init containers in this template)st2-custom-pack
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/_helpers.tpl#L335st2-system-packs
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/_helpers.tpl#L357st2-pack-configs-from-helm
: https://github.com/StackStorm/stackstorm-k8s/blob/master/templates/_helpers.tpl#L378
These are all pretty basic utility containers that do not need many resources. Is there a default we could put here? Or perhaps add a value like utilityResources
(we have image.utilityImage
to set the image, though we should not put resources under image
)?
from stackstorm-k8s.
Related Issues (20)
- sendmail configuration is impossible inside a container HOT 6
- There is an issue with the StackStorm Kafka pack in stackstorm 3.8.0 HOT 1
- rabbitmq 'failed to merge schema: bad cookie' HOT 1
- Not able to create new action in stackstorm (which is deployed on K8s in docker desktop) HOT 2
- proper graceful shutdown settings HOT 7
- Release a new version HOT 11
- Secret DataStore Crypto Key should not be created when existing provided
- Error while installing multiple packs via configs HOT 1
- job-ensure-packs-volumes-are-writable missing policy and syntax error HOT 5
- Deployments have labels that are redundant when existing secrets are provided. HOT 1
- ST2 migration from standalone install to K8s?
- More detailed "Releasing information" HOT 1
- /bin/bash: /etc/nginx/conf.d/st2.conf: Permission denied HOT 2
- Unable to run st2client , st2web, st2actionrunner as stanley user after adding securityContext HOT 5
- Use Secret for `st2.docker.conf` instead of ConfigMap HOT 3
- st2api pod need pack images? HOT 1
- Upgrade `helm-unittest` HOT 6
- I can't install any pack in stackstorm on microk8s
- MongoDB StatefulSet randomly fails to become ready
- st2actionrunner talk to redis question HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackstorm-k8s.