Avatar photo

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

Quick Guide to Deploy PostgreSQL in Kubernetes Env

Deploying PostgreSQL in a Kubernetes (K8s) environment involves several steps, including creating a Deployment or StatefulSet for PostgreSQL, setting up persistent storage to ensure data durability, and configuring network access. Below is a detailed guide to get you started. Prerequisites…

Find image registry in Kubernetes

In Kubernetes, when you deploy workloads using container images, the images are typically pulled from a container image registry specified in the deployment configuration. To check which image registry is being used by your containers in Kubernetes, you need to…

Quick Guide to Create PostgreSQL pod in Kubernetes

To create a PostgreSQL pod in Kubernetes, you’ll need to define a pod configuration in a YAML file that specifies the PostgreSQL image and any necessary configurations such as environment variables for setting up the database. Create PostgreSQL pod in…

Understanding Kubernetes: ReplicaSet vs Deployment

In Kubernetes, both Deployments and ReplicaSets are pivotal concepts that help manage the lifecycle of your applications by ensuring that a specified number of pod replicas are running at any given time. Understanding the differences between a Deployment and a…

k8s – port vs targetPort vs NodePort

In Kubernetes, when configuring a Service to expose your applications, you’ll encounter three key port concepts: port, targetPort, and NodePort. Understanding the distinctions and relationships between these ports is crucial for effectively managing access to your applications running within Pods.…