gcloud config set project keep-dev-429814 gcloud container clusters get-credentials keep-stress --zone us-central1-c --project keep-dev-429814 helm repo add keephq https://keephq.github.io/helm-charts helm pull keephq/keep
kubectl create namespace keep
helm install keep keephq/keep --namespace keep
helm install keep ./charts/keep --namespace keep
kubectl -n keep describe pod keep-backend-697f6b946f-v2jxp kubectl -n keep logs keep-frontend-577fdf5497-r8ht9
helm uninstall keep --namespace keep
kubectl -n keep exec -it keep-backend-64c4d7ddb7-7p5q5 /bin/bash
kubectl -n keep exec -it keep-database-86dd6b6775-92sz4 /bin/bash kubectl -n keep cp ./keep.sql keep-database-659c69689-vxhkz:/tmp/keep.sql kubectl -n keep exec -it keep-database-659c69689-vxhkz -- bash -c "mysql -u root keep < /tmp/keep.sql"
kubectl -n keep exec -it keep-database-86dd6b6775-92sz4 -- /bin/bash
kubectl -n keep exec -it keep-database-659c69689-vxhkz -- bash -c "mysql -u root keep < /tmp/keep.sql"
Keep Backend Workers get a timeout after one minute (status code 500 for preset and alert endpoints)
- default mysql: get_last_alerts 1 minutes and 30 seconds
- innodb_buffer_pool_size = 4294967296: 25 seconds, 3 seconds after cache