mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
<!---
|
|
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
|
|
```
|