diff --git a/docs/en/functions/01_create_instance.mdx b/docs/en/functions/01_create_instance.mdx index f045eca..992bcfc 100644 --- a/docs/en/functions/01_create_instance.mdx +++ b/docs/en/functions/01_create_instance.mdx @@ -23,7 +23,7 @@ Before creating a PostgreSQL instance, please ensure that: ## Version Support -Currently, PostgreSQL versions 11 (deprecated), 12, 14, and 16 are supported. Version 16 is recommended for new deployments. PostgreSQL 11 will be removed in a future release - please upgrade to a supported version. +Currently, PostgreSQL versions 14 and 16 are supported. Version 16 is recommended for new deployments. ## Architecture Choices @@ -59,6 +59,7 @@ Postgres Operator supports the following architectures: spiloRunAsUser: 101 spiloAllowPrivilegeEscalation: false enableReadinessProbe: true + restrictedPsaEnabled: true postgresql: parameters: log_directory: /var/log/pg_log @@ -96,6 +97,7 @@ Postgres Operator supports the following architectures: spiloRunAsUser: 101 spiloAllowPrivilegeEscalation: false enableReadinessProbe: true + restrictedPsaEnabled: true postgresql: parameters: log_directory: /var/log/pg_log diff --git a/docs/en/functions/15_back_restore.mdx b/docs/en/functions/15_back_restore.mdx index cb0f84b..8ff7224 100644 --- a/docs/en/functions/15_back_restore.mdx +++ b/docs/en/functions/15_back_restore.mdx @@ -147,7 +147,7 @@ Provides storage-based physical backup and restore capabilities to ensure data s - Enter Name (must start with a letter, end with letter/number, lowercase alphanumeric and "-" only, max 30 chars) - Enter Display Name - Select Deploy Location - - Choose PostgreSQL Version (e.g., 12, 14, 16). Version 11 is deprecated and will be removed in a future release. + - Choose PostgreSQL Version (e.g., 14, 16). - Set Number of Replicas (e.g., 3) - Configure Resource Requirements: - CPU (e.g., 1 Core) diff --git a/docs/en/how_to/configure_ha_cluster.mdx b/docs/en/how_to/configure_ha_cluster.mdx index 26dc391..2f8e82a 100644 --- a/docs/en/how_to/configure_ha_cluster.mdx +++ b/docs/en/how_to/configure_ha_cluster.mdx @@ -195,7 +195,7 @@ spec: | Parameter | Default Value | Description | |------|--------|------| | numberOfInstances | 3 | Number of cluster nodes (recommend odd number) | -| postgresql.version | "16" | PostgreSQL major version (11 - deprecated, 12, 14, or 16). Version 11 will be removed in a future release. | +| postgresql.version | "16" | PostgreSQL major version (14 or 16). | | postgresql.parameters | {} | PostgreSQL configuration parameters | | resources | - | Resource requests and limits | | volume.size | - | Storage volume size | diff --git a/docs/en/intro.mdx b/docs/en/intro.mdx index 53b3339..3c66967 100644 --- a/docs/en/intro.mdx +++ b/docs/en/intro.mdx @@ -34,7 +34,7 @@ The key features provided by Alauda support for PostgreSQL include: ## Limitations - **Version Support**\ - Currently supports PostgreSQL versions 11 (deprecated), 12, 14, and 16 (recommended for new deployments). PostgreSQL 11 will be removed in a future release - please upgrade to a supported version. + Currently supports PostgreSQL versions 14 and 16 (recommended for new deployments). - **Cluster Size**\ A single cluster supports up to 15 replica nodes. diff --git a/docs/en/release_notes.mdx b/docs/en/release_notes.mdx index 0db5d7d..3b135be 100644 --- a/docs/en/release_notes.mdx +++ b/docs/en/release_notes.mdx @@ -7,31 +7,20 @@ i18n: # Release Notes -## v4.0.0 +## v4.2.0 ### New and Optimized Features -#### Component-Platform Decoupling - -Alauda support for PostgreSQL's lifecycle havs been decoupled from platform's, which means when customer needs a certain feature or a bug fix, PostgreSQL team can release immediately instead of waiting for the platform release together. - -#### Version Support Changes -- PostgreSQL 11 is deprecated and will be removed in a future release -- Added support for PostgreSQL 16 (recommended for new deployments) - -#### Real-Time Logs on Component Details Page - -The logs on PostgreSQL details page have been replaced with real-time logs that update instantly, facilitating troubleshooting and issue analysis. - -#### New Version Available - -PostgreSQL now supports v14 and v16, with v16 offering enhanced performance, improved parallel query execution, and new monitoring capabilities. +- Supported deploying a Postgres instance in PSA-restricted mode. +- Supported using the Load Balancer Service type for hot standby cluster replication. +- Fixed multiple CVEs. +- Removed PostgreSQL 11 and 12 support. ### Fixed Issues -{/* release-notes-for-bugs?template=mw-pg-v4.0-fixed&project=Middleware */} +{/* release-notes-for-bugs?template=mw-pg-v4.2.0-fixed&project=Middleware */} ### Known Issues -{/* release-notes-for-bugs?template=mw-pg-v4.0-known&project=Middleware */} +{/* release-notes-for-bugs?template=mw-pg-v4.2.0-known&project=Middleware */} diff --git a/docs/en/upgrade.mdx b/docs/en/upgrade.mdx index 9203096..b817f10 100644 --- a/docs/en/upgrade.mdx +++ b/docs/en/upgrade.mdx @@ -10,7 +10,7 @@ title: Upgrade # Upgrade :::warning -PostgreSQL 11 is deprecated and will be removed in a future release. Please upgrade to PostgreSQL 12, 14 or 16. +PostgreSQL 11 and 12 have been removed. Please upgrade to PostgreSQL 14 or 16 before upgrading Alauda support for PostgreSQL to v4.2.0. ::: Alauda support for PostgreSQL will execute upgrades based on the configured upgrade strategy: diff --git a/doom.config.yml b/doom.config.yml index 8b0aba7..6228921 100644 --- a/doom.config.yml +++ b/doom.config.yml @@ -13,7 +13,7 @@ permission: - docs/shared/roletemplates/*.yaml releaseNotes: queryTemplates: - mw-pg-v4.0-fixed: | - filter = 16502 AND Feature not in ("AIT - 平台打包") AND (resolution not in ("By Design", "Not a Bug", Duplicate, Rejected, "Cannot Reproduce") OR resolution is EMPTY) AND (ACPFixVersions in (v4.0.0) OR fixVersion in versionMatch(v4.0.0)) AND status in (Done, Resolved, 已完成) AND (affectedVersion in versionMatch("3.1[0-8]") OR issueFunction in linkedIssuesOf("affectedVersion in versionMatch('3.1[0-8]')", clones) OR issueFunction in linkedIssuesOf("affectedVersion in versionMatch('3.1[0-8]')", "is cloned by")) AND project = MIDDLEWARE AND Feature = "MiddleWare - PostgreSQL" AND ReleaseNotesStatus = Publish - mw-pg-v4.0-known: | - filter = 18959 AND (affectedVersion not in versionMatch("v4.[1-9]|v4.0.[1-9]|-v[0-9]") OR ACPAffectVersions in (v4.0.0)) AND ((fixVersion not in versionMatch(v3.) OR fixVersion is EMPTY OR ACPFixVersions in (v4.0.0)) AND (status not in (Closed, Done, Resolved, 已验证, Cancelled) OR status = Cancelled AND (affectedVersion in versionMatch(v4.0.0) OR ACPAffectVersions in (v4.0.0))) OR status in (Closed, Done, Resolved, 已验证) AND (fixVersion in versionMatch("v4.0.[1-9]|v4.[1-9]") OR ACPFixVersions in (v4.0.1, v4.1.0)) OR resolved >= 2025-04-02 AND (fixVersion in versionMatch(v4.0.0) OR fixVersion is EMPTY OR ACPFixVersions in (v4.0.0) OR ACPFixVersions is EMPTY) AND status in (Cancelled, Resolved)) AND (labels in (bug_clone, auto_clone) AND affectedVersion in versionMatch(v4.0.0) OR labels not in (bug_clone, auto_clone) OR labels is EMPTY) AND (labels not in (非产品问题, 非当前版本功能, 安全问题) OR labels is EMPTY) AND created <= 2025-04-02 AND project = MIDDLEWARE AND Feature = "MiddleWare - PostgreSQL" AND ReleaseNotesStatus = Publish + mw-pg-v4.2.0-fixed: | + filter = 16502 AND status in (Done, Resolved) AND (labels not in (安全问题) OR labels is EMPTY) AND project = MIDDLEWARE AND Feature = "MiddleWare - PostgreSQL" AND fixVersion = PG-v4.2.0 AND ReleaseNotesStatus = Publish + mw-pg-v4.2.0-known: | + filter = 18959 AND status in (Done, Resolved) AND (labels not in (安全问题) OR labels is EMPTY) AND project = MIDDLEWARE AND Feature = "MiddleWare - PostgreSQL" AND fixVersion = PG-v4.2.0 AND ReleaseNotesStatus = Publish