cloudnative-pg

module
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2025 License: Apache-2.0

README

CNCF Landscape Latest Release GitHub License OpenSSF Best Practices OpenSSF Scorecard Badge Documentation Stack Overflow FOSSA Status

Welcome to the CloudNativePG Project!

CloudNativePG (CNPG) is an open-source platform designed to seamlessly manage PostgreSQL databases in Kubernetes environments. It covers the entire operational lifecycle—from deployment to ongoing maintenance—through its core component, the CloudNativePG operator.

Table of Contents

Getting Started

The best way to get started is the Quickstart Guide.

Scope

Mission

CloudNativePG aims to increase PostgreSQL adoption within Kubernetes by making it an integral part of the development process and GitOps-driven CI/CD automation.

Core Principles & Features

Designed by PostgreSQL experts for Kubernetes administrators, CloudNativePG follows a Kubernetes-native approach to PostgreSQL primary/standby cluster management. Instead of relying on external high-availability tools (like Patroni, repmgr, or Stolon), it integrates directly with the Kubernetes API to automate database operations that a skilled DBA would perform manually.

Key design decisions include:

  • Direct integration with Kubernetes API: The PostgreSQL cluster’s status is available directly in the Cluster resource, allowing users to inspect it via the Kubernetes API.
  • Operator pattern: The operator ensures that the desired PostgreSQL state is reconciled automatically, following Kubernetes best practices.
  • Immutable application containers: Updates follow an immutable infrastructure model, as explained in "Why EDB Chose Immutable Application Containers".
How CloudNativePG Works

The operator continuously monitors and updates the PostgreSQL cluster state. Examples of automated actions include:

  • Failover management: If the primary instance fails, the operator elects a new primary, updates the cluster status, and orchestrates the transition.
  • Scaling read replicas: When the number of desired replicas changes, the operator provisions or removes resources such as persistent volumes, secrets, and config maps while managing streaming replication.
  • Service updates: Kubernetes remains the single source of truth, ensuring that PostgreSQL service endpoints are always up to date.
  • Rolling updates: When an image is updated, the operator follows a rolling strategy—first updating replica pods before performing a controlled switchover for the primary.

CloudNativePG manages additional Kubernetes resources to enhance PostgreSQL management, including: Backup, ClusterImageCatalog, Database, ImageCatalog, Pooler, Publication, ScheduledBackup, and Subscription.

Out of Scope

  • Kubernetes only: CloudNativePG is dedicated to vanilla Kubernetes maintained by the Cloud Native Computing Foundation (CNCF).
  • PostgreSQL only: CloudNativePG is dedicated to vanilla PostgreSQL maintained by the PostgreSQL Global Development Group (PGDG).
  • No support for forks: Features from PostgreSQL forks will only be considered if they can be integrated as extensions or pluggable frameworks.
  • Not a general-purpose database operator: CloudNativePG does not support other databases (e.g., MariaDB).

CloudNativePG can be extended via the CNPG-I plugin interface.

Communications

Resources

Adopters

A list of publicly known users of the CloudNativePG operator is in ADOPTERS.md. Help us grow our community and CloudNativePG by adding yourself and your organization to this list!

CloudNativePG at KubeCon

We are a Cloud Native Computing Foundation Sandbox project.

CNCF logo


CloudNativePG was originally built and sponsored by EDB.

EDB logo


Postgres, PostgreSQL, and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.


Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the postgresql v1 API group +kubebuilder:object:generate=true +groupName=postgresql.cnpg.io
Package v1 contains API Schema definitions for the postgresql v1 API group +kubebuilder:object:generate=true +groupName=postgresql.cnpg.io
cmd
kubectl-cnpg command
kubectl-cnp is a plugin to manage your CloudNativePG clusters
kubectl-cnp is a plugin to manage your CloudNativePG clusters
manager command
The manager command is the main entrypoint of CloudNativePG operator.
The manager command is the main entrypoint of CloudNativePG operator.
internal
cmd/manager/backup
Package backup implement the "controller backup" command
Package backup implement the "controller backup" command
cmd/manager/bootstrap
Package bootstrap implement the "controller bootstrap" command
Package bootstrap implement the "controller bootstrap" command
cmd/manager/controller
Package controller implement the command used to start the operator
Package controller implement the command used to start the operator
cmd/manager/debug
Package debug implement the debug command subfeatures
Package debug implement the debug command subfeatures
cmd/manager/debug/architectures
Package architectures implement the show-architectures command
Package architectures implement the show-architectures command
cmd/manager/instance
Package instance implements the "instance" subcommand of the operator
Package instance implements the "instance" subcommand of the operator
cmd/manager/instance/initdb
Package initdb implements the "instance init" subcommand of the operator
Package initdb implements the "instance init" subcommand of the operator
cmd/manager/instance/join
Package join implements the "instance join" subcommand of the operator
Package join implements the "instance join" subcommand of the operator
cmd/manager/instance/pgbasebackup
Package pgbasebackup implement the pgbasebackup bootstrap method
Package pgbasebackup implement the pgbasebackup bootstrap method
cmd/manager/instance/restore
Package restore implements the "instance restore" subcommand of the operator
Package restore implements the "instance restore" subcommand of the operator
cmd/manager/instance/restoresnapshot
Package restoresnapshot implements the job command that bootstraps the snapshot volumes
Package restoresnapshot implements the job command that bootstraps the snapshot volumes
cmd/manager/instance/run
Package run implements the "instance run" subcommand of the operator
Package run implements the "instance run" subcommand of the operator
cmd/manager/instance/run/lifecycle
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance
Package lifecycle contains the code to run and manage the lifecycle of a postgres Instance
cmd/manager/instance/status
Package status implement the "instance status" subcommand of the operator
Package status implement the "instance status" subcommand of the operator
cmd/manager/instance/upgrade
Package upgrade implements the "instance upgrade" subcommand of the operator
Package upgrade implements the "instance upgrade" subcommand of the operator
cmd/manager/instance/upgrade/execute
Package execute implements the "instance upgrade execute" subcommand
Package execute implements the "instance upgrade execute" subcommand
cmd/manager/instance/upgrade/prepare
Package prepare implement the "instance upgrade prepare" subcommand
Package prepare implement the "instance upgrade prepare" subcommand
cmd/manager/pgbouncer
Package pgbouncer implements the "pgbouncer" subcommand of the operator
Package pgbouncer implements the "pgbouncer" subcommand of the operator
cmd/manager/pgbouncer/run
Package run implements the "pgbouncer run" subcommand of the operator
Package run implements the "pgbouncer run" subcommand of the operator
cmd/manager/show
Package show implement the show command subfeatures
Package show implement the show command subfeatures
cmd/manager/show/walarchivequeue
Package walarchivequeue implement the wal-archive-queue command
Package walarchivequeue implement the wal-archive-queue command
cmd/manager/walarchive
Package walarchive implement the wal-archive command
Package walarchive implement the wal-archive command
cmd/manager/walrestore
Package walrestore implement the walrestore command
Package walrestore implement the walrestore command
cmd/plugin
Package plugin contains the common behaviors of the kubectl-cnpg subcommand
Package plugin contains the common behaviors of the kubectl-cnpg subcommand
cmd/plugin/backup
Package backup implements a command to request an on-demand backup for a PostgreSQL cluster
Package backup implements a command to request an on-demand backup for a PostgreSQL cluster
cmd/plugin/certificate
Package certificate implement the kubectl-cnpg certificate command
Package certificate implement the kubectl-cnpg certificate command
cmd/plugin/destroy
Package destroy implements a command to destroy an instances of a cluster and its associated PVC
Package destroy implements a command to destroy an instances of a cluster and its associated PVC
cmd/plugin/fence
Package fence implements a command to fence instances in a cluster
Package fence implements a command to fence instances in a cluster
cmd/plugin/fio
Package fio implements the fio job creation via deployment
Package fio implements the fio job creation via deployment
cmd/plugin/hibernate
Package hibernate implements the hibernation feature
Package hibernate implements the hibernation feature
cmd/plugin/install
Package install implements the install plugin command
Package install implements the install plugin command
cmd/plugin/logical
Package logical contains the common features of the publication/subscription management
Package logical contains the common features of the publication/subscription management
cmd/plugin/logical/publication
Package publication contains the implementation of the kubectl cnpg publication command
Package publication contains the implementation of the kubectl cnpg publication command
cmd/plugin/logical/publication/create
Package create contains the implementation of the kubectl cnpg publication create command
Package create contains the implementation of the kubectl cnpg publication create command
cmd/plugin/logical/publication/drop
Package drop contains the implementation of the kubectl cnpg publication drop command
Package drop contains the implementation of the kubectl cnpg publication drop command
cmd/plugin/logical/subscription
Package subscription contains the implementation of the kubectl cnpg subscription command
Package subscription contains the implementation of the kubectl cnpg subscription command
cmd/plugin/logical/subscription/create
Package create contains the implementation of the kubectl cnpg subscription create command
Package create contains the implementation of the kubectl cnpg subscription create command
cmd/plugin/logical/subscription/drop
Package drop contains the implementatoin of the cnpg subscription drop command
Package drop contains the implementatoin of the cnpg subscription drop command
cmd/plugin/logical/subscription/syncsequences
Package syncsequences contains the implementation of the kubectl cnpg subscription sync-sequences command
Package syncsequences contains the implementation of the kubectl cnpg subscription sync-sequences command
cmd/plugin/logs
Package logs implements the kubectl-cnpg logs command
Package logs implements the kubectl-cnpg logs command
cmd/plugin/logs/pretty
Package pretty contains the implementation of `kubectl cnpg logs pretty`
Package pretty contains the implementation of `kubectl cnpg logs pretty`
cmd/plugin/maintenance
Package maintenance implements the kubectl-cnpg maintenance sub-command
Package maintenance implements the kubectl-cnpg maintenance sub-command
cmd/plugin/pgadmin
Package pgadmin implements the creation of a pgadmin deployment
Package pgadmin implements the creation of a pgadmin deployment
cmd/plugin/pgbench
Package pgbench implements the pgbench job creation
Package pgbench implements the pgbench job creation
cmd/plugin/promote
Package promote implement the kubectl-cnpg promote command
Package promote implement the kubectl-cnpg promote command
cmd/plugin/psql
Package psql implements the `kubectl cnpg psql` command
Package psql implements the `kubectl cnpg psql` command
cmd/plugin/reload
Package reload implements a command to trigger a reconciliation loop for a cluster
Package reload implements a command to trigger a reconciliation loop for a cluster
cmd/plugin/report
Package report implements the kubectl-cnpg report command
Package report implements the kubectl-cnpg report command
cmd/plugin/restart
Package restart implements a command to rollout restart a cluster or restart a single instance
Package restart implements a command to rollout restart a cluster or restart a single instance
cmd/plugin/snapshot
Package snapshot implements the snapshot feature
Package snapshot implements the snapshot feature
cmd/plugin/status
Package status implements the kubectl-cnpg status command
Package status implements the kubectl-cnpg status command
cmd/versions
Package versions builds the version subcommand for both manager and plugins
Package versions builds the version subcommand for both manager and plugins
cnpi/plugin
Package plugin contains the logics that acts as bridge between cnpg-i and the operator
Package plugin contains the logics that acts as bridge between cnpg-i and the operator
cnpi/plugin/client
Package client contains a set of helper structures for CNPG to use the plugins exposing the CNPI interface
Package client contains a set of helper structures for CNPG to use the plugins exposing the CNPI interface
cnpi/plugin/connection
Package connection represents a connected CNPG-i plugin
Package connection represents a connected CNPG-i plugin
cnpi/plugin/operatorclient
Package operatorclient contains an extended kubernetes client that supports plugin API calls
Package operatorclient contains an extended kubernetes client that supports plugin API calls
cnpi/plugin/repository
Package repository contains the plugin discovery and connection pooling feature of CNPG
Package repository contains the plugin discovery and connection pooling feature of CNPG
configuration
Package configuration contains the configuration of the operator, reading if from environment variables and from the ConfigMap
Package configuration contains the configuration of the operator, reading if from environment variables and from the ConfigMap
controller
Package controller contains the controller of the CRD
Package controller contains the controller of the CRD
controller/rollout
Package rollout contains the rollout manager, allowing CloudNative-PG to spread Pod rollouts depending on the passed configuration
Package rollout contains the rollout manager, allowing CloudNative-PG to spread Pod rollouts depending on the passed configuration
management/cache
Package cache contains the constants and functions for reading/writing to the process local cache some specific supported objects
Package cache contains the constants and functions for reading/writing to the process local cache some specific supported objects
management/controller
Package controller contains the functions in PostgreSQL instance manager that reacts to changes to the Cluster resource.
Package controller contains the functions in PostgreSQL instance manager that reacts to changes to the Cluster resource.
management/controller/externalservers
Package externalservers contains the reconciler of external servers, taking care of enabling connectivity to every server defined in the relative section of the CR
Package externalservers contains the reconciler of external servers, taking care of enabling connectivity to every server defined in the relative section of the CR
management/controller/roles
Package roles contains the code needed to reconcile roles with PostgreSQL
Package roles contains the code needed to reconcile roles with PostgreSQL
management/controller/slots/infrastructure
Package infrastructure contains the structs and interfaces needed to manage replication slots
Package infrastructure contains the structs and interfaces needed to manage replication slots
management/controller/slots/reconciler
Package reconciler contains all the logic needed to reconcile replication slots
Package reconciler contains all the logic needed to reconcile replication slots
management/controller/slots/runner
Package runner contains the runner that replicates slots from the primary to the replicas
Package runner contains the runner that replicates slots from the primary to the replicas
management/controller/tablespaces
Package tablespaces contains the runner to declarative tablespace
Package tablespaces contains the runner to declarative tablespace
management/controller/tablespaces/infrastructure
Package infrastructure contains the structs and interfaces needed to manage declarative tablespace
Package infrastructure contains the structs and interfaces needed to manage declarative tablespace
management/istio
Package istio implements functions needed to integrate with istio-proxy
Package istio implements functions needed to integrate with istio-proxy
management/linkerd
Package linkerd implements functions needed to integrate with linkerd-proxy
Package linkerd implements functions needed to integrate with linkerd-proxy
management/utils
Package utils contains uncategorized utilities only used by the instance manager of PostgreSQL and PgBouncer
Package utils contains uncategorized utilities only used by the instance manager of PostgreSQL and PgBouncer
pgbouncer/management/controller
Package controller contains the functions in pgbouncer instance manager that reacts to changes in the Pooler resource.
Package controller contains the functions in pgbouncer instance manager that reacts to changes in the Pooler resource.
plugin/resources
Package resources contains reusable functions for the plugin commands
Package resources contains reusable functions for the plugin commands
scheme
Package scheme offers a builder capable of generating a scheme with the resources known by the CNP manager
Package scheme offers a builder capable of generating a scheme with the resources known by the CNP manager
webhook/v1
Package v1 contains the webhooks for the postgresql v1 API group
Package v1 contains the webhooks for the postgresql v1 API group
pkg
certs
Package certs handle the PKI infrastructure of the operator
Package certs handle the PKI infrastructure of the operator
concurrency
Package concurrency contains utilities for goroutines coordination
Package concurrency contains utilities for goroutines coordination
configfile
Package configfile contains primitives needed to manage a configuration file with the syntax of PostgreSQL
Package configfile contains primitives needed to manage a configuration file with the syntax of PostgreSQL
configparser
Package configparser contains the code required to fill a Go structure representing the configuration information from several sources like:
Package configparser contains the code required to fill a Go structure representing the configuration information from several sources like:
executablehash
Package executablehash detect the SHA256 of the running binary
Package executablehash detect the SHA256 of the running binary
management
Package management contains all the features needed by the instance manager that runs in each Pod as PID 1
Package management contains all the features needed by the instance manager that runs in each Pod as PID 1
management/external
Package external contains the functions needed to manage servers which are external to this PostgreSQL cluster
Package external contains the functions needed to manage servers which are external to this PostgreSQL cluster
management/external/internal/pgpass
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html
Package pgpass allows the user to generate a PostgreSQL .pgpass file See: https://www.postgresql.org/docs/current/libpq-pgpass.html
management/logtest
Package logtest contains the testing utils for the logging subsystem of the instance manager
Package logtest contains the testing utils for the logging subsystem of the instance manager
management/pgbouncer/config
Package config contains the code related to the generation of the PgBouncer configuration
Package config contains the code related to the generation of the PgBouncer configuration
management/pgbouncer/metricsserver
Package metricsserver contains the web server powering metrics
Package metricsserver contains the web server powering metrics
management/postgres
Package postgres contains the function about starting up, shutting down and managing a PostgreSQL instance.
Package postgres contains the function about starting up, shutting down and managing a PostgreSQL instance.
management/postgres/archiver
Package archiver contains the logic of the CloudNativePG WAL archiver
Package archiver contains the logic of the CloudNativePG WAL archiver
management/postgres/constants
Package constants provides the needed constants in the postgres package
Package constants provides the needed constants in the postgres package
management/postgres/logicalimport
Package logicalimport contains the logic needed to import a logical snapshot
Package logicalimport contains the logic needed to import a logical snapshot
management/postgres/logpipe
Package logpipe implements reading csv logs from PostgreSQL logging_collector (https://www.postgresql.org/docs/current/runtime-config-logging.html) and convert them to JSON.
Package logpipe implements reading csv logs from PostgreSQL logging_collector (https://www.postgresql.org/docs/current/runtime-config-logging.html) and convert them to JSON.
management/postgres/metrics
Package metrics enables to expose a set of metrics and collectors on a given postgres instance
Package metrics enables to expose a set of metrics and collectors on a given postgres instance
management/postgres/metrics/histogram
Package histogram contain histogram-metrics related functions
Package histogram contain histogram-metrics related functions
management/postgres/pool
Package pool contain an implementation of a connection pool to multiple database pointing to the same instance
Package pool contain an implementation of a connection pool to multiple database pointing to the same instance
management/postgres/utils
Package utils holds generic utils about postgres instances
Package utils holds generic utils about postgres instances
management/postgres/webserver
Package webserver contains the web server powering probes, backups and metrics
Package webserver contains the web server powering probes, backups and metrics
management/postgres/webserver/client/common
Package common provides common utilities for the webserver client.
Package common provides common utilities for the webserver client.
management/postgres/webserver/client/local
Package local provides a client to interact with the local webserver endpoints.
Package local provides a client to interact with the local webserver endpoints.
management/postgres/webserver/client/remote
Package remote contains the client capable of querying the webserver remote endpoint.
Package remote contains the client capable of querying the webserver remote endpoint.
management/postgres/webserver/metricserver
Package metricserver contains the web server powering metrics
Package metricserver contains the web server powering metrics
management/postgres/webserver/probes
Package probes contains the implementation of startup, liveness and readiness probes
Package probes contains the implementation of startup, liveness and readiness probes
management/upgrade
Package upgrade manages the in-place upgrade of the instance manager
Package upgrade manages the in-place upgrade of the instance manager
management/url
Package url holds the constants for webserver routing
Package url holds the constants for webserver routing
multicache
Package multicache implements a cache that is able to work on multiple namespaces but also able to read data from a namespace which is beside the specified ones.
Package multicache implements a cache that is able to work on multiple namespaces but also able to read data from a namespace which is beside the specified ones.
podlogs
Package podlogs contains code to fetch logs from Kubernetes pods
Package podlogs contains code to fetch logs from Kubernetes pods
podspec
Package podspec contains various utilities to deal with Pod Specs
Package podspec contains various utilities to deal with Pod Specs
postgres
Package postgres contains the function covering the PostgreSQL integrations and the relative data types
Package postgres contains the function covering the PostgreSQL integrations and the relative data types
postgres/replication
Package replication contains the code relative to the synchronous replication feature
Package replication contains the code relative to the synchronous replication feature
promotiontoken
Package promotiontoken : This package contains the promotion token related operations
Package promotiontoken : This package contains the promotion token related operations
reconciler/backup/volumesnapshot
Package volumesnapshot contains the VolumeSnapshot reconciler that is used to take VolumeSnapshot backups
Package volumesnapshot contains the VolumeSnapshot reconciler that is used to take VolumeSnapshot backups
reconciler/hibernation
Package hibernation contains all the logic to hibernate a CNPG cluster
Package hibernation contains all the logic to hibernate a CNPG cluster
reconciler/instance
Package instance contains all the logic to reconcile an instance pod
Package instance contains all the logic to reconcile an instance pod
reconciler/instance/certificate
Package certificate contains the reconciler for the PostgreSQL instance manager secrets
Package certificate contains the reconciler for the PostgreSQL instance manager secrets
reconciler/instance/storage
Package storage contains the Instance storage reconcilers
Package storage contains the Instance storage reconcilers
reconciler/majorupgrade
Package majorupgrade provides the logic for upgrading a PostgreSQL cluster to a new major version.
Package majorupgrade provides the logic for upgrading a PostgreSQL cluster to a new major version.
reconciler/persistentvolumeclaim
Package persistentvolumeclaim contains all the logic to reconcile and build PVCS
Package persistentvolumeclaim contains all the logic to reconcile and build PVCS
reconciler/replicaclusterswitch
Package replicaclusterswitch contains the logic needed to turn on the replica cluster feature on an existing cluster
Package replicaclusterswitch contains the logic needed to turn on the replica cluster feature on an existing cluster
resources
Package resources contains a set of Kubernetes generic utilities that are used by the operator
Package resources contains a set of Kubernetes generic utilities that are used by the operator
resources/status
Package status contains all the function needed to interact properly with the resources status
Package status contains all the function needed to interact properly with the resources status
servicespec
Package servicespec contains various utilities to deal with Service Specs
Package servicespec contains various utilities to deal with Service Specs
specs
Package specs contains the specification of the K8s resources generated by the CloudNativePG operator
Package specs contains the specification of the K8s resources generated by the CloudNativePG operator
specs/pgbouncer
Package pgbouncer contains the specification of the K8s resources generated by the CloudNativePG operator related to pgbouncer poolers
Package pgbouncer contains the specification of the K8s resources generated by the CloudNativePG operator related to pgbouncer poolers
system
Package system provides an interface with the operating system
Package system provides an interface with the operating system
system/compatibility
Package compatibility provides a layer to cross-compile with other OS than Linux
Package compatibility provides a layer to cross-compile with other OS than Linux
utils
Package utils contains otherwise uncategorized kubernetes relative functions
Package utils contains otherwise uncategorized kubernetes relative functions
utils/context
Package context contains utility functions to work with context.Context
Package context contains utility functions to work with context.Context
utils/hash
Package hash allows the user to get a hash number for a given Kubernetes object.
Package hash allows the user to get a hash number for a given Kubernetes object.
versions
Package versions contains the version of the CloudNativePG operator and the software that is used by it
Package versions contains the version of the CloudNativePG operator and the software that is used by it
Package releases contains the filesystem with operator manifests with all the released manifests
Package releases contains the filesystem with operator manifests with all the released manifests
Package tests contains the test infrastructure of the CloudNativePG operator
Package tests contains the test infrastructure of the CloudNativePG operator
utils
Package utils contains helper functions/methods for e2e
Package utils contains helper functions/methods for e2e
utils/backups
Package backups provides backup utilities
Package backups provides backup utilities
utils/cloudvendors
Package cloudvendors provides the variables to define on which cloud vendor the e2e test is running
Package cloudvendors provides the variables to define on which cloud vendor the e2e test is running
utils/clusterutils
Package clusterutils provides functions to handle cluster actions
Package clusterutils provides functions to handle cluster actions
utils/deployments
Package deployments contains functions to control deployments
Package deployments contains functions to control deployments
utils/environment
Package environment contains functions to handle the TestingEnvironment struct
Package environment contains functions to handle the TestingEnvironment struct
utils/envsubst
Package envsubst manage the replacemes of env variables in a file
Package envsubst manage the replacemes of env variables in a file
utils/exec
Package exec provides functions to execute commands inside pods or from local
Package exec provides functions to execute commands inside pods or from local
utils/fencing
Package fencing provides functions to manage the fencing on cnpg clusters
Package fencing provides functions to manage the fencing on cnpg clusters
utils/forwardconnection
Package forwardconnection provides an easy interface to create a port forward from the local test to a service or pod inside the testing k8s cluster
Package forwardconnection provides an easy interface to create a port forward from the local test to a service or pod inside the testing k8s cluster
utils/importdb
Package importdb contains the functions to import a database
Package importdb contains the functions to import a database
utils/logs
Package logs provides a way to parse and get the logs of a pod
Package logs provides a way to parse and get the logs of a pod
utils/minio
Package minio contains all the require functions to setup a MinIO deployment and query this MinIO deployment using the MinIO API
Package minio contains all the require functions to setup a MinIO deployment and query this MinIO deployment using the MinIO API
utils/namespaces
Package namespaces provides utilities to manage namespaces
Package namespaces provides utilities to manage namespaces
utils/nodes
Package nodes contains the helper methods/functions for nodes
Package nodes contains the helper methods/functions for nodes
utils/objects
Package objects provides functions to manage pure objects in Kubernetes
Package objects provides functions to manage pure objects in Kubernetes
utils/openshift
Package openshift provides functions to work with OLM CRDs
Package openshift provides functions to work with OLM CRDs
utils/operator
Package operator provides functions to handle and manage the operator
Package operator provides functions to handle and manage the operator
utils/pods
Package pods provides pod utilities to manage pods inside K8s
Package pods provides pod utilities to manage pods inside K8s
utils/postgres
Package postgres provides functions to handle postgres in cnpg clusters
Package postgres provides functions to handle postgres in cnpg clusters
utils/proxy
Package proxy provides functions to use the proxy subresource to call a pod
Package proxy provides functions to use the proxy subresource to call a pod
utils/replicationslot
Package replicationslot provides functions to manage the replication slot of a cnpg cluster
Package replicationslot provides functions to manage the replication slot of a cnpg cluster
utils/run
Package run contains functions to execute commands locally
Package run contains functions to execute commands locally
utils/secrets
Package secrets provides functions to manage and handle secrets
Package secrets provides functions to manage and handle secrets
utils/services
Package services provides functions tomanage services inside K8s
Package services provides functions tomanage services inside K8s
utils/sternmultitailer
Package sternmultitailer handle the logs of every pod in the tests saving them in a structured way within a directory.
Package sternmultitailer handle the logs of every pod in the tests saving them in a structured way within a directory.
utils/storage
Package storage provides functions to manage enything related to storage
Package storage provides functions to manage enything related to storage
utils/timeouts
Package timeouts contains the timeouts for the E2E test suite
Package timeouts contains the timeouts for the E2E test suite
utils/yaml
Package yaml provides functions to handle yaml files
Package yaml provides functions to handle yaml files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL