From b9616556ba932fb9114feaf6fd7bcb1d413307de Mon Sep 17 00:00:00 2001 From: Thomas MENARD <thomas.menard@pasteur.fr> Date: Tue, 4 Jun 2019 09:52:09 +0200 Subject: [PATCH] Update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8965de..0be9b1e 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio * Persistent Volume Claim As a Docker image is immutable, you may need to define some persistent storage. In the case of a PostgreSQL container we need to persist the data of the database. - + We do this using a `Persistent Volume Claim`. > You can see that we define an `accessModes`to `ReadWriteOnce`, this mean that the Persistent Volume will only be accessed by one container. @@ -224,6 +224,7 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio ``` * PostgreSQL Service + ```yaml apiVersion: v1 kind: Service @@ -241,6 +242,7 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio * Django Application * Deployment + ```yaml apiVersion: extensions/v1beta1 kind: Deployment @@ -285,7 +287,9 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio secret: secretName: postgresql ``` + * Service + ```yaml apiVersion: v1 kind: Service @@ -301,7 +305,9 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio selector: app: polls ``` + * Ingress Resource + ```yaml apiVersion: extensions/v1beta1 kind: Ingress -- GitLab