CYBERTEC PostgreSQL Logo

PostgreSQL Containerized Deployment in Kubernetes

LEVEL: Expert
In this course, participants will learn how to deploy and manage PostgreSQL databases in a containerised Kubernetes environment. The course provides a comprehensive introduction to the concepts of Kubernetes, including container orchestration and architecture. Participants will be familiarised with the setup and management of Kubernetes environments, the use of storage volumes and the implementation of the Postgres Operator and Patroni to efficiently manage PostgreSQL instances. Through practical exercises and examples, participants will acquire the necessary skills to successfully run PostgreSQL in Kubernetes.
Book Now

Course Topics

  • Understanding the Kubernetes architecture
  • Setting up and managing a Kubernetes development-environment
  • Implementing the Postgres Operator
  • Use of Patroni for cluster management

Target audience

The course is aimed at database administrators (DBAs) who want to expand their knowledge of PostgreSQL database administration. The course is also suitable for DevOps engineers who focus on the automation of deployment processes and for system administrators who are interested in the containerisation of database services. Software developers who use database solutions in their applications can also benefit from this course, as can IT architects who plan and implement cloud-based architectures. In addition, the course appeals to technology enthusiasts who want to understand modern technologies such as containers and Kubernetes.

Prerequisites and additional requirements

The participant should:

  • know basic SQL
  • have basic Linux skills (basic commands, ability to use a text editor)

In addition the following knowledge is essential to be able to comprehend the content of this courses:

  • Fulfilling this requirement is participation in course Course: PostgreSQL Administration and Performance Tuning
  • Familiarity with Patroni: A basic understanding of Patroni and its role in ensuring the high availability of PostgreSQL is required.
  • Fulfilling this requirement is participation in course: PostgreSQL High Availability Architecture with Patroni
  • Knowledge of container technologies: Participants should be familiar with the concepts of containerization and have a basic understanding of container technologies, such as Docker.
  • As containers and associated technologies are not PostgreSQL specific, participants should familiarize themselves with requiret subjects by their own means.

What this course will give you

Skills & knowledge

  • Understanding the Kubernetes architecture: Participants will develop a solid understanding of the Kubernetes architecture and container orchestration concepts.
  • Setting up and managing Kubernetes environments: Participants will gain the skills to effectively set up and manage Kubernetes environments, including the use of tools such as Minikube and kubectl.
  • Efficiently managing PostgreSQL with Postgres Operator: Participants will learn how to configure and manage Postgres Operator to efficiently run PostgreSQL databases in Kubernetes.
  • Implementing Patroni for High Availability: Participants will be able to implement Patroni in Kubernetes to manage PostgreSQL clusters, including scaling, backups and configuration changes.
  • Dealing with storage solutions in Kubernetes: Participants will learn how to deal with different storage options in Kubernetes, including persistent volumes and their configuration for PostgreSQL.
  • Kubernetes Fundamentals: Participants will understand the basic concepts of Kubernetes, including architecture, containerisation and orchestration.
  • Administration with Postgres Operator: Participants will have a comprehensive knowledge of how to configure and administer Postgres Operator to manage PostgreSQL databases in Kubernetes.

Program content

Module 1: Introduction to Kubernetes

In this module, participants receive a basic introduction to Kubernetes, its architecture and the concepts of container orchestration. Participants will learn about the main components and functionalities of Kubernetes.

  • Containers: Understanding containers and their importance in software development.
  • Kubernetes architecture: Overview of the main components and their functions, including resource management and networking.
  • Container orchestration: Introduction to container orchestration and how the reconciliation loop works in Kubernetes.

Module 2: Setting up the Kubernetes environment

In this module, participants will learn how to set up and manage their own Kubernetes environment. This includes installation techniques and the use of common CLI tools.

  • Installation Methods and Minikube: Various methods for installing Kubernetes, including the use of Minikube for local development.
  • Kubectl and CLI Tools: Using kubectl and other CLI tools to manage Kubernetes resources.
  • Pods, ConfigMap, and Secrets: Fundamentals of pod management and the use of ConfigMaps and Secrets for configuration and sensitive data.

Module 3: Storage management in Kubernetes

This module covers the management of storage solutions in Kubernetes. Participants learn about the different storage variants and their configuration.

  • Storage Volumes: Introduction to different types of storage volumes, including emptyDir and HostPath.
  • Persistent Volumes and Claims: Managing persistent storage solutions and provisioning them dynamically or statically.

Module 4: Postgres Operator

In this module, participants will learn how to use Postgres Operator to effectively manage PostgreSQL databases in Kubernetes. Concepts, configuration and administration are covered.

  • Concept and configuration: Introduction to the Postgres Operator and its customisation options.
  • Administration: Management and monitoring of PostgreSQL instances, including backup and recovery strategies.

Module 5: Patroni in Kubernetes

In this module, participants will learn how to implement Patroni in Kubernetes to ensure the high availability of PostgreSQL instances. Use cases and management strategies are discussed.

  • High Availability: Understanding how Patroni works and how to use it to ensure availability.
  • Database management: Administration of PostgreSQL databases and roles as well as backup strategies (logical and continuous).

Course materials and environment

  • Participants will get access to a dedicated lab environment with dedicated virtual machines running some Linux distribution.
  • Upon completion of the course, participants will receive a PDF of the slide deck that was used during the training sessions
  • Participants can download and use all scripts and configuration files present on their dedicated virtual machines during training
  • Upon completion of the course, participants will receive a complimentry copy of the most recent edition of Hans-Jürgens Schönig’s book Mastering PostgreSQL

Course INFO

Level Expert

For Soon-to-be-Experts.

Language

English

Location

Online

1. 

Date

March 10, 2025 -
March 12, 2025
Duration: 3 Days

Time

Start 9:00 am
End 2:00 pm
Time Zone: CEST (UTC +2)

2. 

Date

October 6, 2025 -
October 8, 2025
Duration: 3 Days

Time

Start 9:00 am
End 2:00 pm
Time Zone: CET (UTC +1)
Make a Booking Request
CYBERTEC Logo white
Get the newest PostgreSQL Info & Tools


    This site is protected by reCAPTCHA and the Google Privacy Policy & Terms of Service apply.

    ©
    2024
    CYBERTEC PostgreSQL International GmbH
    phone-handsetmagnifiercrosscross-circle
    linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram