> 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:
...
...
@@ -70,4 +70,14 @@ build-backend:
-sh path/to/your/script.sh
tags:
-k8s
```
\ No newline at end of file
```
### :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`