Difference between revisions of "Install Sentry in Kubernetes"

From wikieduonline
Jump to navigation Jump to search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
[[helm repo add]] [[sentry]] https://sentry-kubernetes.github.io/charts
 +
[[helm install sentry sentry/sentry]]
 +
* Removing services:
 +
[[helm install]] sentry sentry/sentry [[--timeout]]=1h --wait --set [[clickhouse]].enabled=false --set [[zookeeper]].enabled=false --set [[rabbitmq]].enabled=false
 +
 +
 
* https://github.com/sentry-kubernetes/charts
 
* https://github.com/sentry-kubernetes/charts
 
** https://github.com/sentry-kubernetes/charts/blob/develop/sentry/values.yaml
 
** https://github.com/sentry-kubernetes/charts/blob/develop/sentry/values.yaml
:<code>clickhouse.enabled: true</code>
+
:<code>[[clickhouse]].enabled: true</code>
 +
:<code>[[zookeeper]]_servers.enabled: true</code>
 +
:<code>[[zookeeper]].enabled: true</code>
 +
:<code>[[kafka.enabled]]: true</code>
 +
:<code>[[redis.enabled]]: true</code>
 +
:<code>[[postgresql]].enabled: true</code>
 +
:<code>[[rabbitmq]].enabled: true</code>
  
 
+
  [[coalesce.go:175: warning: skipped value for kafka.config: Not a table.]]
 
 
[[helm repo add]] [[sentry]] https://sentry-kubernetes.github.io/charts
 
[[helm install sentry sentry/sentry]]
 
  [[coalesce.go]]:175: warning: skipped value for [[kafka.config]]: Not a table.
 
 
   
 
   
  Error: [[INSTALLATION FAILED]]: failed post-install: job failed: [[DeadlineExceeded]]
+
  Error: [[INSTALLATION FAILED]]: failed [[post-install]]: job failed: [[DeadlineExceeded]]
  
 
  Job was active longer than specified deadline
 
  Job was active longer than specified deadline
Line 16: Line 25:
  
  
 +
 +
 +
== Pods ==
 
  [[k get pods]]  -A | grep -i sentry | grep Running
 
  [[k get pods]]  -A | grep -i sentry | grep Running
  
Line 48: Line 60:
 
* [[Sentry-kubernetes helm repository]]
 
* [[Sentry-kubernetes helm repository]]
 
* [[Clickhouse]], [[RabbitMQ]], [[Kafka]], [[Zookeeper]]
 
* [[Clickhouse]], [[RabbitMQ]], [[Kafka]], [[Zookeeper]]
 +
* <code>[[values.yml]], [[--set]]</code>
 +
* <code>[[kafka.enabled]]</code>
 +
* <code>[[redis.enabled]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 12:04, 1 December 2023

helm repo add sentry https://sentry-kubernetes.github.io/charts
helm install sentry sentry/sentry
  • Removing services:
helm install sentry sentry/sentry --timeout=1h --wait --set clickhouse.enabled=false --set zookeeper.enabled=false --set rabbitmq.enabled=false


clickhouse.enabled: true
zookeeper_servers.enabled: true
zookeeper.enabled: true
kafka.enabled: true
redis.enabled: true
postgresql.enabled: true
rabbitmq.enabled: true
coalesce.go:175: warning: skipped value for kafka.config: Not a table.

Error: INSTALLATION FAILED: failed post-install: job failed: DeadlineExceeded
Job was active longer than specified deadline
sentry-snuba-db-init
sentry-db-check 



Pods[edit]

k get pods  -A | grep -i sentry | grep Running
default       sentry-clickhouse-0                                              1/1     Running     0               6h43m
default       sentry-clickhouse-1                                              1/1     Running     0               6h43m
default       sentry-clickhouse-2                                              1/1     Running     0               6h43m
default       sentry-cron-5cc6b687bb-xj7l6                                     1/1     Running     3 (6h41m ago)   6h43m
default       sentry-kafka-0                                                   1/1     Running     2 (6h42m ago)   6h43m
default       sentry-kafka-1                                                   1/1     Running     1 (6h42m ago)   6h43m
default       sentry-kafka-2                                                   1/1     Running     0               6h43m
default       sentry-nginx-849d8f45c-5s9dj                                     1/1     Running     0               6h43m
default       sentry-rabbitmq-0                                                1/1     Running     0               6h43m
default       sentry-rabbitmq-1                                                1/1     Running     0               6h41m
default       sentry-rabbitmq-2                                                1/1     Running     0               6h40m
default       sentry-sentry-postgresql-0                                       1/1     Running     0               6h43m
default       sentry-sentry-redis-master-0                                     1/1     Running     0               6h43m
default       sentry-sentry-redis-replicas-0                                   1/1     Running     1 (6h42m ago)   6h43m
default       sentry-sentry-redis-replicas-1                                   1/1     Running     0               6h41m
default       sentry-sentry-redis-replicas-2                                   1/1     Running     0               6h41m
default       sentry-snuba-api-7596dbf7c4-j5729                                1/1     Running     0               6h43m
default       sentry-web-79b8bbccdf-xp6ml                                      1/1     Running     2 (6h42m ago)   6h43m
default       sentry-worker-c4c7c9bb8-8vnk9                                    1/1     Running     3 (6h42m ago)   6h43m
default       sentry-worker-c4c7c9bb8-nr8l2                                    1/1     Running     3 (6h41m ago)   6h43m
default       sentry-worker-c4c7c9bb8-zkrf7                                    1/1     Running     2 (6h42m ago)   6h43m
default       sentry-zookeeper-0                                               1/1     Running     0               6h43m
default       sentry-zookeeper-clickhouse-0                                    1/1     Running     0               6h43m
default       sentry-zookeeper-clickhouse-1                                    1/1     Running     0               6h43m
default       sentry-zookeeper-clickhouse-2                                    1/1     Running     0               6h43m


Related[edit]

See also[edit]

Advertising: