For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Cennso PostgreSQL Instance Custom Resource Definition

You can use the Cennso PostgreSQL Instance Custom Resource (CR) to create and manage PostgreSQL clusters. The Cennso PostgreSQL Instance CR is defined by a Custom Resource Definition (CRD)Opens in a new tab. This document covers all configuration parameters defined in the CRD.

For more information on how to deploy Cennso PostgreSQL Instance, see the Cennso PostgreSQL Instance document and Deploy Cennso PostgreSQL deployment guide.

Configuration parameters

These are all parameters that you can use to configure the Cennso PostgreSQL Instance CR:

  • PostgreSQLInstanceKind
  • db.contrib.cennso.comGroup
  • v1alpha1Version
apiVersion:
db.contrib.cennso.com/v1alpha1
kind:
PostgreSQLInstance
plural:
postgresqlinstances
categories:
[composite]
Schema
  • apiVersionstringrequiredConstant"db.contrib.cennso.com/v1alpha1"
    APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.
  • kindstringrequiredConstant"PostgreSQLInstance"
    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.
  • metadataobjectrequired
    Standard object metadata. More information: ObjectMetaOpens in a new tab.
  • specobjectrequired
    x-kubernetes-validations
    • instancesobject[]requirednon-empty
      Configuration options for PostgreSQL instances.
    • namespacestringrequired
      A Kubernetes namespace where the Cennso Database Instance is deployed
    • connectionSecretRefobject
      A reference to the Kubernetes secret that contains a valid kubeconfig to the target Core Cluster. When not set, the Cennso PostgreSQL Operator is deployed on the Management Cluster.
    • crossplaneobject
      Configures how Crossplane will reconcile this composite resource
    • imageobject
      Configuration of the container image used for the PostgreSQL server.
    • imagePullSecretRefobject
      A reference to the Kubernetes secret that contains credentials for pulling images for the Cennso PostgreSQL Instance
    • initContainerobject
      Configuration of the init container that copies the operator's helper binaries into the PostgreSQL pods.
    • metricsExporterobject

      Settings for the PostgreSQL metrics exporterOpens in a new tab that publishes PostgreSQL metrics to Prometheus. One exporter is deployed per PostgreSQL pod and runs on the same node as that pod.

    • patroniobject
      Configuration of Patroni, the high availability manager that runs the PostgreSQL servers and performs the failover.
      x-kubernetes-validations
    • postgresqlobject
      Configuration of the PostgreSQL servers of the instance.
    • proxyobject
      The specification of the proxy that connects to PostgreSQL
    • replicationTLSSecretNamestring

      Name of the secret with your own client certificate used by the replication user. The certificate must be issued by the same CA as spec.tlsSecretName.

    • tlsobject

      Validity of the certificates that the operator issues through cert-manager. If these options are set, spec.tlsSecretName and spec.replicationTLSSecretName must be empty.

      x-kubernetes-validations
    • tlsSecretNamestring

      Name of the secret with your own TLS certificate, used by PostgreSQL and PgBouncer. If empty, the operator issues and renews the certificates by itself (for more information, see spec.tls). If set, the spec.replicationTLSSecretName must be set as well.

    • upgradeobject

      Configuration for in-place PostgreSQL major-version upgrades, performed automatically when spec.image.tag is changed to a higher PostgreSQL major version on an existing PostgreSQLInstance. See the Cennso PostgreSQL Instance concept document and the Upgrade Cennso PostgreSQL operation guide for the upgrade procedure.

  • statusobject
    • conditionsobject[]
      Conditions of the resource.
      x-kubernetes-list-map-keysx-kubernetes-list-type