Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add configuring ingress controller nginx example #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Configuring Ingress Controller

By default, REANA uses `traefik` as an ingress controller. However, it is possible to replace the `traefik` ingress with an `nginx` ingress.

Currently, this change is only possible manually, as it is not yet fully supported by the REANA helm chart.

The following code snipped shows a possible `nginx` ingress manifest:

```yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.class: nginx
name: <helm-release-name>-ingress
namespace: <reana-namespace>
spec:
rules:
- http:
paths:
- backend:
service:
name: <helm-release-name>-server
port:
number: 80
path: /api
pathType: Prefix
- backend:
service:
name: <helm-release-name>-server
port:
number: 80
path: /oauth
pathType: Prefix
- backend:
service:
name: <helm-release-name>-ui
port:
number: 80
path: /
pathType: Prefix
tls:
- secretName: <helm-release-name>-tls-secret
status:
loadBalancer:
ingress:
- ip: <lb-ip>
```

which can be deployed manually via: `kubectl apply -f <ingress-yaml-filename>.yaml`.