-
Notifications
You must be signed in to change notification settings - Fork 1.3k
k8s.sgdev.org: symbols pod evicted #5305
Comments
cc @sourcegraph/distribution |
The symbols pod should have the same setup as our searcher pod. So it should have the hostpath to the SSD. If it doesn't, that is a bug. It's likely that during our testing of global symbol search we hit symbol service a lot more in the case a repo wasn't indexed. This likely lead to much more stress than usual for the service. |
@kzh think you will get this in this week? Taking into account time for review/etc so we can land it by Monday. |
Proposal: How does disabling global unindexed symbol search or limiting max unindexed repos sound? This would significantly reduce the risk of overburdening the symbols pod. This would mean in order for a repository to be included in a global symbol search, it would have to be indexed first. IMO, this is an okay tradeoff considering the unindexed alternative could potentially harm the pod anyways. |
This gives a poor experience for a new instance / new repo. Can we instead just limit the number of repos we send to a replica in a single search request? |
Dear all, This is your release captain speaking. 🚂🚂🚂 Branch cut for the 3.9 release is scheduled for tomorrow at 10:00 CEST. Is this issue / PR going to make it in time? Please change the milestone accordingly. Thank you |
To address this issue, maybe adding a persistent volume claim to the deployment would be more appropriate. There appears to be a somewhat similar config flag that constraints the number of repositories concurrently searched for symbols (~20). |
You can't do PVC's on deployments. This just requires updating the configuration so we use the local SSD. https://github.com/sourcegraph/sourcegraph/issues/5305#issuecomment-522889078 Compare the searcher deployment vs the symbols deployment. If they are the same on deploy-sourcegraph, this may be an issue specific to k8s.sgdev.org repo, so requires updating so it matches how searcher works there. |
Dear all, This is your release captain speaking. 🚂🚂🚂 Branch cut for the 3.10 release is scheduled for tomorrow. Is this issue / PR going to make it in time? Please change the milestone accordingly. Thank you |
@kzh: Are you planning to work on this in 3.11? If you don't know, this should be backlogged. |
Dear all, This is your release captain speaking. 🚂🚂🚂 Branch cut for the 3.11 release is scheduled for tomorrow. Is this issue / PR going to make it in time? Please change the milestone accordingly. Thank you |
A symbols pod was recently evicted from k8s.sgdev.org b/c it was using too much ephemeral storage. Note that we aren't currently mounting a real SSD for the symbols pod to use, and we might want to add one in the future.
However, has the symbols service cache size grown due to all of the recent changes? Is this something that we need to inform our customers about?
cc @sourcegraph/core-services
kubectl describe pod symbols-9b56c4b46-tkmnp
output:The text was updated successfully, but these errors were encountered: