mirror of
https://github.com/planetmint/planetmint.git
synced 2026-03-11 11:14:42 +00:00
Initial Migration
This commit is contained in:
40
k8s/nginx-https-web-proxy/README.md
Normal file
40
k8s/nginx-https-web-proxy/README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
<!---
|
||||
Copyright © 2020 Interplanetary Database Association e.V.,
|
||||
Planetmint and IPDB software contributors.
|
||||
SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||
Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
--->
|
||||
|
||||
## Deploying the Planetmint Web Proxy on a Kubernetes Cluster
|
||||
|
||||
|
||||
### Configure the Web Proxy
|
||||
|
||||
* Fill in the configuration details for the proxy in the
|
||||
`nginx-https-web-proxy-conf.yaml` file.
|
||||
|
||||
* Use the command below to create the appropriate ConfigMap and Secret:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-conf.yaml
|
||||
```
|
||||
|
||||
|
||||
### Start the Kubernetes Service for Planetmint Web Proxy
|
||||
|
||||
* Use the command below to start the Kubernetes Service:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-svc.yaml
|
||||
```
|
||||
|
||||
* This will give you a public IP address tied to an Azure LB.
|
||||
|
||||
* Map this to an available domain of your choice on the Azure portal (or use
|
||||
any other DNS service provider!)
|
||||
|
||||
|
||||
### Start the Kubernetes Deployment for Planetmint Web Proxy
|
||||
|
||||
* Use the command below to start the Kubernetes Deployment:
|
||||
```
|
||||
kubectl apply -f nginx-https-web-proxy-dep.yaml
|
||||
```
|
||||
Reference in New Issue
Block a user