Specifications
Specification | Value |
---|---|
Chart | https://charts.bitnami.com/bitnami/nginx |
Chart Version | 13.2.13 |
Nginx Version | 1.23.2 |
Pulling the Chart
Code Block |
---|
helm repo add bitnami https://charts.bitnami.com/bitnami helm pull bitnami/nginx |
Exposing on an Ingress
The following settings will enable an ingress. The annotation will perform the re-writing to the end URL removing /app.
Code Block |
---|
ingress:
enabled: true
hostname: "localhost"
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
path: /app(/|$)(.*)
pathType: Prefix
ingressClassName: "nginx"
|
Exposing as a Nodeport
We can update the values.yaml to enable a Nodeport by updating the following parameters:
...
NOTE: In order to prevent startup errors, we used a variable for proxypass and defined a resolver for name lookups.
Postman Collections
Collection | File |
---|---|
Jira | |
Kubernetes | Kubernetes.postman_collection.json |