Describing a pod
In the previous chapter, we deleted a running application. For this chapter, then, let's install another one. For the purpose of debugging an application, we are going to use the bitnami/postgresql
Docker image from Docker Hub (https://hub.docker.com/r/bitnami/postgresql) and we are going to install an application using the deployment-postgresql.yaml
file:
$ cat deployment-postgresql.yaml apiVersion: apps/v1 kind: Deployment metadata: name: postgresql labels: app: postgresql spec: replicas: 1 selector: matchLabels: app: postgresql template: metadata: labels: app: postgresql spec: containers: - image: bitnami/postgresql...