-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from rorydavidson/master
Changes to import UK Edition
- Loading branch information
Showing
4 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
Kubernetes deployment | ||
# Kubernetes deployment | ||
|
||
**NOTE** Knowledge and experience with kubernetes are required and is assumed. | ||
|
||
Knowledge and experience with kubernetes are required. | ||
This will not covers how to get SSL certificates (Letsencrypt) neither than the deployment of an Ingress Controller (Haproxy/Traefik/Nginx). | ||
First of all, you have to build your own docker images than push it to your own docker registry or use the docker hub. | ||
|
||
Depending of your kubernetes cluster you might want to change the location of where the elasticsearch data will be stored (actually HostPath storage model) | ||
kubectl create -f snowstorm-deploy.yml -n production | ||
First of all, you have to build your own docker images than push it to your own docker registry or use the docker hub. Depending of your kubernetes cluster you might want to change the location of where the elasticsearch data will be stored (actually HostPath storage model) | ||
|
||
`kubectl create -f snowstorm-deploy.yml -n production` | ||
|
||
Now you want to create the secret where your certificates will be stored in order to be used by the ingress controller. | ||
kubectl create secret tls snowstorm.example.com --key ./snowstorm.example.com.key --cert ./snowstorm.example.com.fullchain -n production | ||
|
||
`kubectl create secret tls snowstorm.example.com --key ./snowstorm.example.com.key --cert ./snowstorm.example.com.fullchain -n production` | ||
|
||
Finally, we use this file ```ingress-rules``` to declare our hosts with his url and SSL certificates without authentication. | ||
|
||
`kubectl create -f ingress-rules.yml` | ||
|
||
At least we use this file ```ingress-rules``` to declare our hosts with his url and SSL certificates without authentication. | ||
kubectl create -f ingress-rules.yml | ||
This will create ingress rules that your Ingress Controller will apply. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters