Skip to content

Commit a4f3038

Browse files
authored
Update FerretDB according to version 2.0.0 (#763)
Signed-off-by: sayedppqq <[email protected]>
1 parent 11d523f commit a4f3038

File tree

76 files changed

+1204
-762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1204
-762
lines changed

docs/examples/ferretdb/autoscaling/compute/autoscaler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
databaseRef:
88
name: ferretdb-autoscale
99
compute:
10-
ferretdb:
10+
primary:
1111
trigger: "On"
1212
podLifeTimeThreshold: 5m
1313
resourceDiffPercentage: 20

docs/examples/ferretdb/autoscaling/compute/ferretdb-autoscale.yaml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ metadata:
44
name: ferretdb-autoscale
55
namespace: demo
66
spec:
7-
version: "1.23.0"
8-
replicas: 1
9-
backend:
10-
externallyManaged: false
11-
podTemplate:
12-
spec:
13-
containers:
14-
- name: ferretdb
15-
resources:
16-
requests:
17-
cpu: "200m"
18-
memory: "300Mi"
19-
limits:
20-
cpu: "200m"
21-
memory: "300Mi"
7+
version: "2.0.0"
8+
server:
9+
primary:
10+
podTemplate:
11+
spec:
12+
containers:
13+
- name: ferretdb
14+
resources:
15+
requests:
16+
cpu: "200m"
17+
memory: "300Mi"
18+
limits:
19+
cpu: "200m"
20+
memory: "300Mi"
2221
storage:
2322
accessModes:
2423
- ReadWriteOnce
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: FerretDB
3+
metadata:
4+
name: ferret
5+
namespace: demo
6+
spec:
7+
version: "2.0.0"
8+
storage:
9+
accessModes:
10+
- ReadWriteOnce
11+
resources:
12+
requests:
13+
storage: 1Gi
14+
deletionPolicy: WipeOut
15+
server:
16+
primary:
17+
replicas: 2
18+
secondary:
19+
replicas: 2

docs/examples/ferretdb/monitoring/builtin-prom-fr.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ metadata:
44
name: builtin-prom-fr
55
namespace: demo
66
spec:
7-
version: "1.23.0"
7+
version: "2.0.0"
88
storage:
99
accessModes:
1010
- ReadWriteOnce
1111
resources:
1212
requests:
1313
storage: 500Mi
14-
backend:
15-
externallyManaged: false
1614
deletionPolicy: WipeOut
17-
replicas: 2
1815
monitor:
1916
agent: prometheus.io/builtin

docs/examples/ferretdb/monitoring/coreos-prom-fr.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ metadata:
44
name: coreos-prom-fr
55
namespace: demo
66
spec:
7-
version: "1.18.0"
7+
version: "2.0.0"
88
storage:
99
accessModes:
1010
- ReadWriteOnce
1111
resources:
1212
requests:
1313
storage: 500Mi
14-
backend:
15-
externallyManaged: false
1614
deletionPolicy: WipeOut
17-
replicas: 2
1815
monitor:
1916
agent: prometheus.io/operator
2017
prometheus:

docs/examples/ferretdb/quickstart/ferretdb-external.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/examples/ferretdb/quickstart/ferretdb-internal.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: ferret
55
namespace: demo
66
spec:
7-
version: "1.18.0"
7+
version: "2.0.0"
88
authSecret:
99
externallyManaged: false
1010
sslMode: disabled
@@ -15,6 +15,4 @@ spec:
1515
resources:
1616
requests:
1717
storage: 500Mi
18-
backend:
19-
externallyManaged: false
2018
deletionPolicy: WipeOut

docs/examples/ferretdb/reconfigure-tls/ferretdb.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ metadata:
44
name: ferretdb
55
namespace: demo
66
spec:
7-
version: "1.18.0"
7+
version: "2.0.0"
88
storage:
99
accessModes:
1010
- ReadWriteOnce
1111
resources:
1212
requests:
1313
storage: 500Mi
14-
backend:
15-
externallyManaged: false
16-
replicas: 2
14+
server:
15+
primary:
16+
replicas: 2

docs/examples/ferretdb/restart/ferretdb.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ metadata:
44
name: ferretdb
55
namespace: demo
66
spec:
7-
version: "1.23.0"
8-
replicas: 1
9-
backend:
10-
externallyManaged: false
7+
version: "2.0.0"
118
storage:
129
accessModes:
1310
- ReadWriteOnce

docs/examples/ferretdb/scaling/fr-horizontal.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ metadata:
44
name: fr-horizontal
55
namespace: demo
66
spec:
7-
version: "1.23.0"
8-
replicas: 1
9-
backend:
10-
externallyManaged: false
7+
version: "2.0.0"
118
storage:
129
accessModes:
1310
- ReadWriteOnce
1411
resources:
1512
requests:
1613
storage: 500Mi
17-
deletionPolicy: WipeOut
14+
deletionPolicy: WipeOut
15+
server:
16+
primary:
17+
replicas: 1

0 commit comments

Comments
 (0)