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

Add-on: OceanBase #622

Open
batonac opened this issue Feb 1, 2025 · 1 comment
Open

Add-on: OceanBase #622

batonac opened this issue Feb 1, 2025 · 1 comment

Comments

@batonac
Copy link

batonac commented Feb 1, 2025

OceanBase is a cloud-native distributed database that's compatible with MySQL clients. The performance is purportedly 1.9 times that of MySQL Enterprise Edition in online transaction processing (OLTP).

A Kubernetes operator is maintained by the core team: https://github.com/oceanbase/ob-operator

@mms-gianni
Copy link
Member

Interesting project. I definitely want to add it.

Found the required Cluster CRD. Not sure yet if Tenant is required too.

https://github.com/oceanbase/ob-operator/blob/master/example/quickstart/obcluster.yaml

apiVersion: oceanbase.oceanbase.com/v1alpha1
kind: OBCluster
metadata:
  name: test
  namespace: default
spec:
  clusterName: obcluster
  clusterId: 1
  serviceAccount: "default"
  userSecrets:
    root: root-password
  topology:
    - zone: zone1
      replica: 1
  observer:
    image: oceanbase/oceanbase-cloud-native:4.2.1.6-106000012024042515
    resource:
      cpu: 2
      memory: 10Gi
    storage:
      dataStorage:
        storageClass: local-path
        size: 50Gi
      redoLogStorage:
        storageClass: local-path
        size: 50Gi
      logStorage:
        storageClass: local-path
        size: 20Gi
  parameters:
  - name: system_memory
    value: 1G
  - name: "__min_full_resource_pool_memory"
    value: "2147483648" # 2G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants