Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Simon MurraySimon Murray(Deactivated)Reporter
Adam FraserAdam FraserLabels
Story Points
1Components
Sprint
NoneFix versions
Priority
MajorInstabug
Open Instabug
Details
Details
Assignee
Simon Murray
Simon Murray(Deactivated)Reporter
Adam Fraser
Adam FraserLabels
Story Points
1
Components
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created April 21, 2021 at 6:42 PM
Updated April 29, 2021 at 1:59 AM
Resolved April 28, 2021 at 12:30 PM
The Sync Gateway tutorial in the AO docs includes a sample config that sets GOMAXPROCS to 1.
https://docs.couchbase.com/operator/current/tutorial-sync-gateway.html#deploying-sync-gateway
It generally wouldn't be recommended to run Sync Gateway on a single core when more cores are available. SG non-container deployments treat 8 cores as the minimum recommended value.
I don't know the details of the challenges in setting GOMAXPROCS in k8s environments, other than the fact that there may be challenges compared to a non-container deployment where go applications will default GOMAXPROCS to the number of available cores.
It's also not recommended to set GOMAXPROCS to something more than the number of available cores, so it isn't the case that this value should just be bumped to 8 or 16.
I'd like some input from k8s experts on what the value in the sample config should be, but also recommend we add a note to this setting describing how customers should tune to the number of available cores.