Basic Postgres Database in Kubernetes

Basic Postgres Database in Kubernetes

In this tutorial, we will bring up a Postgres database instance in Kubernetes and then connect to this instance using a cronjob. The goal is to learn the basics of Kubernetes using this exercise. For learning K8s basics, I highly recommend this course for beginners.

In this post, we will bring up a Postgres database instance in Kubernetes and then connect to this instance using a cronjob. The goal is to learn the basics of Kubernetes using this exercise. For learning K8s basics, I highly recommend this course for beginners.

Setup

  • To get started, first setup a minikube Kubernetes cluster using instructions from here (we could use anything else like GKE, EKS, K3, etc.). minikube lets you run Kubernetes locally. minikube runs a single-node Kubernetes cluster on your personal computer.
  • Install helm to manage Kubernetes applications. Managing multiple Kubernetes YAML files gets complicated, this is where helm helps ease things.

helm docker kubernetes postgresql

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

Introduction to Helm - Package Manager for Kubernetes

You have to write a detailed YAML file to deploy resources like pods, deployments, and services on Kubernetes that’s where Helm comes into the play. Helm is a package manager for Kubernetes; it’s the yum and apt of Kubernetes. It allows us to deploy resources to Kubernetes quickly. It deploys charts which are the packages of application. Helm is also an official Kubernetes project in the Cloud Native Computing Foundation (CNCF) under the category of incubating projects.

Kubernetes vs Docker

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

Docker Explained: Docker Architecture | Docker Registries

Following the second video about Docker basics, in this video, I explain Docker architecture and explain the different building blocks of the docker engine; docker client, API, Docker Daemon. I also explain what a docker registry is and I finish the video with a demo explaining and illustrating how to use Docker hub.

Kubernetes Is Deprecating Docker Support—What Does This Mean

Starting with Kubernetes 1.20 developers have received a warning that Kubernetes is deprecating Docker. This means that Kubernetes officially ceases to support the Docker tech stack, as you can already see in the release notes on GitHub. Let's see what this means.