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

feat: upgrade off-pg to 0.9 api and rename to vanilla-postgresql in release 0.9 #1077

Merged
Show file tree
Hide file tree
Changes from 10 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
2 changes: 1 addition & 1 deletion .github/workflows/release-addons-cluster-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:
- nebula-cluster
- neon-cluster
- oceanbase-ce-cluster
- official-postgresql-cluster
- vanilla-postgresql-cluster
- opengauss-cluster
- openldap-cluster
- opensearch-cluster
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
- nebula
- neon
- oceanbase-ce
- official-postgresql
- vanilla-postgresql
- opengauss
- openldap
- opensearch
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ KubeBlocks add-ons.
| nebula | nebula-console-v3.5.0<br>nebula-graphd-v3.5.0<br>nebula-metad-v3.5.0<br>nebula-storaged-v3.5.0 | NebulaGraph is a popular open-source graph database that can handle large volumes of data with milliseconds of latency, scale up quickly, and have the ability to perform fast graph analytics. | Shanshan Ying Xuntao Cheng |
| neon | neon-pg14-1.0.0 | Neon is a serverless open-source alternative to AWS Aurora Postgres. It separates storage and compute and substitutes the PostgreSQL storage layer by redistributing data across a cluster of nodes. | ApeCloud |
| oceanbase-ce | oceanbase-4.3.0 | Unlimited scalable distributed database for data-intensive transactional and real-time operational analytics workloads, with ultra-fast performance that has once achieved world records in the TPC-C benchmark test. OceanBase has served over 400 customers across the globe and has been supporting all mission critical systems in Alipay. | |
| official-postgresql | postgres-12.15<br>postgres-14.7 | A Official PostgreSQL cluster definition Helm chart for Kubernetes | ApeCloud |
| opengauss | opengauss-3.0.0 | A Helm chart for Kubernetes | |
| openldap | openldap-1.5.0 | The OpenLDAP Project is a collaborative effort to develop a robust, commercial-grade, fully featured, and open source LDAP suite of applications and development tools. This chart provides KubeBlocks' | kissycn |
| opensearch | opensearch-2.7.0<br>opensearch-dashboards-2.7.0 | Open source distributed and RESTful search engine. | |
Expand All @@ -58,6 +57,7 @@ KubeBlocks add-ons.
| starrocks-ce | starrocks-ce-be-3.2.2<br>starrocks-ce-be-3.3.0<br>starrocks-ce-fe-3.2.2<br>starrocks-ce-fe-3.3.0 | A Linux Foundation project, is the next-generation data platform designed to make data-intensive real-time analytics fast and easy. | |
| tdengine | tdengine-3.0.5.0 | TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, Industrial IoT and DevOps. | ApeCloud |
| tidb | busybox-1.35<br>pd-v7.1.2<br>tidb-v7.1.2<br>tikv-v7.1.2 | TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. | |
| vanilla-postgresql | vanilla-postgresql-12.15.0<br>vanilla-postgresql-14.7.0 | Vanilla-PostgreSQL is compatible with the native PostgreSQL kernel, enabling it to quickly provide HA solutions for various variants based on the native PostgreSQL kernel. | ApeCloud |
| victoria-metrics | minsert-1.0.0<br>mselect-1.0.0<br>mstorage-1.0.0 | VictoriaMetrics is a fast, cost-effective and scalable monitoring solution and time series database. | |
| weaviate | weaviate-1.23.1 | Weaviate is an open-source vector database. It allows you to store data objects and vector embeddings from your favorite ML-models, and scale seamlessly into billions of data objects. | ApeCloud |
| xinference | xinference-0.11.0 | Xorbits Inference(Xinference) is a powerful and versatile library designed to serve language, speech recognition, and multimodal models. | |
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
apiVersion: v2
name: official-postgresql-cluster
name: vanilla-postgresql-cluster
type: application
version: 0.9.0
description: A Official PostgreSQL cluster definition Helm chart for Kubernetes
description: A Vanilla PostgreSQL cluster Helm chart for Kubernetes

dependencies:
- name: kblib
version: 0.1.0
repository: file://../kblib
alias: extra

# appVersion specifies the version of the Official PostgreSQL database to be created,
# appVersion specifies the version of the Vanilla PostgreSQL database to be created,
# and this value should be consistent with an existing clusterVersion.
# All supported clusterVersion versions can be viewed through `kubectl get clusterVersion`.
# The current default value is the highest version of the Official PostgreSQL supported in KubeBlocks.
# The current default value is the highest version of the Vanilla PostgreSQL supported in KubeBlocks.
appVersion: "14.7"

keywords:
- postgresql
- database
- sql
- cluster
- vanilla

home: https://github.com/apecloud/kubeblocks/tree/main/deploy/apecloud-postgresql-cluster
home: https://github.com/apecloud/kubeblocks/tree/main/deploy/vanilla-postgresql-cluster
icon: https://kubeblocks.io/img/logo.png

maintainers:
Expand All @@ -31,9 +32,9 @@ maintainers:

sources:
- https://github.com/apecloud/kubeblocks/
- https://github.com/apecloud/kubeblocks/tree/main/deploy/apecloud-postgresql
- https://github.com/apecloud/kubeblocks/tree/main/deploy/vanilla-postgresql

annotations:
kubeblocks.io/clusterVersions: "14.8.0,12.15.0"
kubeblocks.io/clusterVersions: "14.7.0,12.15.0"
kubeblocks.io/multiCV: "true"
category: Database
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. By default, the helm chart will create a Vanilla PostgreSQL cluster with the same version as the Chart appVersion.
2. If you need to create a different version, you need to specify the version through clusterVersionOverride value.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Define replica count.
standalone mode: 1
replication mode: 2
*/}}
{{- define "official-postgresql-cluster.replicaCount" }}
{{- define "vanilla-postgresql-cluster.replicaCount" }}
{{- if eq .Values.mode "standalone" }}
replicas: 1
{{- else if eq .Values.mode "replication" }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
name: {{ include "kblib.clusterName" . }}
labels: {{ include "kblib.clusterLabels" . | nindent 4 }}
spec:
clusterDefinitionRef: vanilla-postgresql
terminationPolicy: {{ .Values.extra.terminationPolicy }}
{{- include "kblib.affinity" . | indent 2 }}
componentSpecs:
- name: postgresql
componentDef: {{ .Values.compDef }}
{{- include "kblib.componentMonitor" . | indent 6 }}
{{- include "vanilla-postgresql-cluster.replicaCount" . | indent 6 }}
serviceAccountName: {{ include "kblib.serviceAccountName" . }}
kizuna-lek marked this conversation as resolved.
Show resolved Hide resolved
{{- include "kblib.componentResources" . | indent 6 }}
{{- include "kblib.componentStorages" . | indent 6 }}
enabledLogs:
- running
serviceVersion: {{ .Values.version }}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"title": "Version",
"description": "Cluster version.",
"type": "string",
"default": "official-postgresql-14.7"
"default": "vanilla-postgresql-14.7"
},
"mode": {
"title": "Mode",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Default values for Official PostgreSQL.
# Default values for Vanilla PostgreSQL.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

## @param version Postgresql cluster version
##
version: official-postgresql-14.7
version: 14.7.0

## @param mode postgresql cluster topology mode, standalone, replication
##
Expand All @@ -31,4 +31,6 @@ requests:

## @param storage size, the unit is Gi
##
storage: 20
storage: 20

compDef: vanilla-postgresql-14
79 changes: 0 additions & 79 deletions addons/official-postgresql/templates/_helpers.tpl

This file was deleted.

Loading
Loading