Update Kubernetes setup authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
# :whale2: Setup and deploy on Kubernetes :whale:
> Be brave and try not to cry, you will probably fail at some steps and this tutorial is likely already outdated. Hopefully this can help a little.
> 💬 Be brave and try not to cry, you will probably fail at some steps and this tutorial is likely already outdated. Hopefully this can help a little.
Summary of the steps you need to do:
......@@ -12,7 +12,7 @@ Summary of the steps you need to do:
You need to contact the DSI either by email or on [Rocket.Chat](https://rocketchat.pasteur.cloud/channel/support-kubernetes-gitlab-ci-cd/channel-settings).
> You need one namespace per environment you need. For instance, you want to run both a DEV and PROD environments, you will need to ask for 2 different namespaces (e.g. `project-dev` and `project-prod`).
> 💬 You need one namespace per environment you need. For instance, you want to run both a DEV and PROD environments, you will need to ask for 2 different namespaces (e.g. `project-dev` and `project-prod`).
You can give as much information as possible to the team for creation:
......@@ -71,3 +71,13 @@ build-backend:
tags:
- k8s
```
### :truck: Deploy your image
Once your image is built and available you can use Kubernetes to deploy it.
For this you need:
1. Write manifest yaml files for your service for Kubernetes
2. Write a deployment script to be called in your `.gitlab-ci.yml`
3. Complete your `.gitlab-ci.yml` file
\ No newline at end of file