forked from nutanix-cloud-native/ndb-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ndb_v1alpha1_database.yaml
45 lines (45 loc) · 1.45 KB
/
ndb_v1alpha1_database.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: ndb.nutanix.com/v1alpha1
kind: Database
metadata:
name: db
spec:
ndbRef: "Name of the NDBServer Resource"
databaseInstance:
clusterId: "Nutanix Cluster Id"
databaseInstanceName: "Database Instance Name"
description: "Database Description"
databaseNames:
- database_one
- database_two
- database_three
credentialSecret: db-instance-secret-name
size: 10
timezone: "UTC"
type: postgres
profiles:
compute:
name: ""
id: ""
# A Software profile is a mandatory input for proprietary (closed-source) engines such as SQL Server & Oracle
software:
name: ""
id: ""
network:
name: ""
id: ""
dbParam:
name: ""
id: ""
dbParamInstance:
name: ""
id: ""
timeMachine:
sla : "NAME OF THE SLA"
dailySnapshotTime: "12:34:56" # Time for daily snapshot in hh:mm:ss format
snapshotsPerDay: 4 # Number of snapshots per day
logCatchUpFrequency: 90 # Frequency (in minutes)
weeklySnapshotDay: "WEDNESDAY" # Day of the week for weekly snapshot
monthlySnapshotDay: 24 # Day of the month for monthly snapshot
quarterlySnapshotMonth: "Jan" # Start month of the quarterly snapshot
additionalArguments: # Optional black, can specify additional arguments that are unique to database engines.
listener_port: "8080"