-
Notifications
You must be signed in to change notification settings - Fork 19
Add read replica support for Postgres #1580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| // StorageType can be durable (default) or ephemeral | ||
| StorageType StorageType `json:"storageType,omitempty"` | ||
| // Storage to specify how storage shall be used. | ||
| Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to have different service for each read replica group? In that case we can add a serviceTemplate.
They asked about a feature where read going to a particular replica
| StorageType StorageType `json:"storageType,omitempty"` | ||
| // Storage to specify how storage shall be used. | ||
| Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"` | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need a field for podPlacementPolicy. needed for distributed stuffs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add it. We need it for also placing these pods on Spot instances.
Signed-off-by: Tamal Saha <[email protected]>
Signed-off-by: souravbiswassanto <[email protected]>
xref: https://github.com/kubedb/internal/issues/1372