Skip to content
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

Increase max generations for FDB in prod during upgrade #2124

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions deploy/manifests/base/foundationdb/namespaced-manager/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: fdb-kubernetes-operator-controller-manager
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
kind: ClusterRole
metadata:
name: fdb-kubernetes-operator-manager-role
rules:
Expand All @@ -25,6 +25,14 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -111,13 +119,14 @@ rules:
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
kind: ClusterRoleBinding
metadata:
name: fdb-kubernetes-operator-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
kind: ClusterRole
name: fdb-kubernetes-operator-manager-role
subjects:
- kind: ServiceAccount
name: fdb-kubernetes-operator-controller-manager
name: fdb-kubernetes-operator-controller-manager
namespace: storetheindex
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- knob_target_bytes_per_storage_server=2000e6
# Defaults to 750e6
- knob_target_bytes_per_storage_server_batch=1500e6
- knob-max-generations-override=200
- knob-max-generations-override=400
podTemplate:
spec:
topologySpreadConstraints:
Expand Down Expand Up @@ -100,7 +100,7 @@ spec:
- knob_rocksdb_background_parallelism=8
- knob_rocksdb_read_parallelism=16
- knob_rocksdb_checkpoint_reader_parallelism=16
- knob-max-generations-override=200
- knob-max-generations-override=400
podTemplate:
spec:
topologySpreadConstraints:
Expand Down