Skip to content

added the .yaml for chunks #157

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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