Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
---
apiVersion: database.oracle.com/v1alpha1
kind: ShardingDatabase
metadata:
name: shardingdatabase-sample
namespace: shns
spec:
shard:
- name: shard1
storageSizeInGb: 50
imagePullPolicy: "Always"
shardGroup: shardgroup1
shardRegion: primary
- name: shard2
storageSizeInGb: 50
imagePullPolicy: "Always"
shardGroup: shardgroup1
shardRegion: primary
- name: shard3
storageSizeInGb: 50
imagePullPolicy: "Always"
shardGroup: shardgroup1
shardRegion: primary
catalog:
- name: catalog
storageSizeInGb: 50
imagePullPolicy: "Always"
envVars:
- name: "CATALOG_CHUNKS"
value: "120"
gsm:
- name: gsm1
imagePullPolicy: "Always"
storageSizeInGb: 50
region: primary
- name: gsm2
imagePullPolicy: "Always"
storageSizeInGb: 50
region: standby
storageClass: oci
dbImage: container-registry.oracle.com/database/enterprise:latest
dbImagePullSecret: ocr-reg-cred
gsmImage: container-registry.oracle.com/database/gsm:latest
gsmImagePullSecret: ocr-reg-cred
isExternalSvc: False
isDeleteOraPvc: True
dbSecret:
name: db-user-pass-rsa
pwdFileName: pwdfile.enc
keyFileName: key.pem
gsmService:
- name: oltp_rw_svc
role: primary
- name: oltp_ro_svc
role: primary
namespace: shns