Bump up targetAverageValue and requests for gitlab-shell
In Review App analysis, we identified that the HPA trigger for gitlab-shell was being hit pretty often. As of 2019-09-20 14:50 UTC we had 49 out of 82 releases which had more than 2 replicas for gitlab-shell
.
This could also be due to the resource requests we set in our implementation but wanted to share.
➜ kubectl get pods -lapp=gitlab-shell -o json | jq '.items | map({release: .metadata.labels.release}) | group_by(.release) | map({release: .[0].release, count: length}) | length'
82
➜ kubectl get pods -lapp=gitlab-shell -o json | jq '[.items | map({release: .metadata.labels.release}) | group_by(.release) | map({release: .[0].release, count: length}) | .[] | select(.count > 2)] | length'
49
Relates to gitlab-org/gitlab#32382 (closed)