Skip to content
Snippets Groups Projects
Commit b9616556 authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update README

parent d32395f2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment