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 nodeSelector and toleration definitions #1599

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

D13410N3
Copy link
Contributor

@D13410N3 D13410N3 commented Nov 9, 2024

Some time ago I deployed sentry in kubernetes using chart.

I have two headaches and one of them is "jail all sentry components to the specific node group".

It is pretty easy for sentry components but there are no information in values.yaml about using nodeSelector and toleration for external components - redis, postgres, memcached etc.
This PR add some information about it.

@patsevanton
Copy link
Contributor

i checked PR

helm install -n test --wait sentry . --values values.yaml --timeout=1000s

sentry installed

k get pod -n test
NAME                                                              READY   STATUS    RESTARTS      AGE
sentry-billing-metrics-consumer-7fdf59945f-qnllj                  1/1     Running   0             3m24s
sentry-clickhouse-0                                               1/1     Running   0             18m
sentry-cron-7c76c944bd-t87nn                                      1/1     Running   2 (15m ago)   18m
sentry-generic-metrics-consumer-7d54df5775-xcj5f                  1/1     Running   0             3m22s
sentry-ingest-consumer-attachments-8d948fc4c-rd6gb                1/1     Running   0             3m20s
sentry-ingest-consumer-events-68d56779f6-qx6vm                    1/1     Running   0             3m19s
sentry-ingest-consumer-transactions-6649b4ccdd-88q79              1/1     Running   0             3m18s
sentry-ingest-monitors-78c4f7965f-9w9s2                           1/1     Running   0             3m17s
sentry-ingest-occurrences-5969495499-dx8kt                        1/1     Running   0             3m17s
sentry-ingest-replay-recordings-6c84bcf-5t6wc                     1/1     Running   0             3m16s
sentry-issue-occurrence-consumer-5db94d5658-sx8pr                 1/1     Running   0             2m57s
sentry-kafka-controller-0                                         1/1     Running   0             18m
sentry-kafka-controller-1                                         1/1     Running   0             18m
sentry-kafka-controller-2                                         1/1     Running   1 (15m ago)   18m
sentry-metrics-consumer-5dccb9ff99-q8fqm                          1/1     Running   0             3m15s
sentry-nginx-54ddfcccc8-p7m2x                                     1/1     Running   0             18m
sentry-post-process-forward-errors-549f7f79b-788wt                1/1     Running   0             3m14s
sentry-post-process-forward-issue-platform-cb64b9d79-rbr6g        1/1     Running   0             3m13s
sentry-post-process-forward-transactions-84598f8955-pr5q7         1/1     Running   0             3m12s
sentry-rabbitmq-0                                                 1/1     Running   0             18m
sentry-relay-67b8c8fdd7-rzp24                                     1/1     Running   0             2m52s
sentry-sentry-postgresql-0                                        1/1     Running   0             18m
sentry-sentry-redis-master-0                                      1/1     Running   0             18m
sentry-sentry-redis-replicas-0                                    1/1     Running   2 (15m ago)   18m
sentry-snuba-api-7c4477f94f-cc5dv                                 1/1     Running   0             18m
sentry-snuba-consumer-5f58b45676-6wkdx                            1/1     Running   0             3m11s
sentry-snuba-generic-metrics-counters-consumer-5958fdbdfb-b2mvt   1/1     Running   0             3m6s
sentry-snuba-generic-metrics-distributions-consumer-6b9f5bg2j6j   1/1     Running   0             3m5s
sentry-snuba-generic-metrics-sets-consumer-64dcbcf556-xqkhx       1/1     Running   0             3m4s
sentry-snuba-group-attributes-consumer-5499c88f78-cpdnr           1/1     Running   0             3m3s
sentry-snuba-metrics-consumer-85b94f67b5-cwzx6                    1/1     Running   0             3m3s
sentry-snuba-outcomes-billing-consumer-648bb8db8c-ktgcc           1/1     Running   0             3m2s
sentry-snuba-outcomes-consumer-6f87949797-kmsj7                   1/1     Running   0             2m56s
sentry-snuba-replacer-6d4c8d987-pzz7s                             1/1     Running   0             2m55s
sentry-snuba-replays-consumer-766d8f46f9-cgl46                    1/1     Running   0             3m1s
sentry-snuba-spans-consumer-7d8c4c88bb-bl86b                      1/1     Running   0             3m
sentry-snuba-subscription-consumer-events-8657877bf4-rgxzl        1/1     Running   0             2m54s
sentry-snuba-subscription-consumer-metrics-5bb7875c8f-hqfjr       1/1     Running   0             2m54s
sentry-snuba-subscription-consumer-transactions-5c96cbf458cc68n   1/1     Running   0             2m53s
sentry-snuba-transactions-consumer-5bc869f55b-9cbcn               1/1     Running   0             2m58s
sentry-subscription-consumer-events-758dd79459-24l58              1/1     Running   0             3m10s
sentry-subscription-consumer-generic-metrics-b78474bb4-fxw29      1/1     Running   0             3m9s
sentry-subscription-consumer-metrics-7b7f7b7dcb-fl5bw             1/1     Running   0             3m8s
sentry-subscription-consumer-transactions-7c99cf6c67-fx2wj        1/1     Running   0             3m7s
sentry-web-5d8cb8c964-v2h46                                       1/1     Running   3 (15m ago)   18m
sentry-worker-84fbbb4bf-6wjk4                                     1/1     Running   2 (15m ago)   18m
sentry-zookeeper-clickhouse-0                                     1/1     Running   0             18m

@patsevanton
Copy link
Contributor

@Mokto is it possible to merge this pull request ?

@Mokto Mokto merged commit 423b97f into sentry-kubernetes:develop Nov 23, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants