diff --git a/README.md b/README.md index d8965de7507f0e81157bb15ede4542e67f4e7dc8..0be9b1e65dcc67d524120b4175ca86571cf86b34 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