Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Added flag for ingress URL format #11219

Merged
merged 1 commit into from
Feb 7, 2019
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion incubator/sparkoperator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sparkoperator
description: A Helm chart for Spark on Kubernetes operator
version: 0.1.8
version: 0.1.9
appVersion: v1beta1-0.7-2.4.0
kubeVersion: ">=1.8.0-0"
keywords:
Expand Down
3 changes: 2 additions & 1 deletion incubator/sparkoperator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ The following table lists the configurable parameters of the Spark operator char
| `enableWebhook` | Whether to enable mutating admission webhook | false |
| `enableMetrics` | Whether to expose metrics to be scraped by Premetheus | true |
| `controllerThreads` | Number of worker threads used by the SparkApplication controller | 10 |
| `ingressUrlFormat` | Ingress URL format | "" |
| `installCrds` | Whether to install CRDs | true |
| `metricsPort` | Port for the metrics endpoint | 10254 |
| `metricsEndpoint` | Metrics endpoint | "/metrics" |
| `metricsPrefix` | Prefix for the metrics | "" |
| `resyncInterval` | Informer resync interval in seconds | 30 |
| `webhookPort` | Service port of the webhook server | 8080 | |
| `webhookPort` | Service port of the webhook server | 8080 |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ spec:
args:
- -v=2
- -namespace={{ .Values.sparkJobNamespace }}
- -ingress-url-format={{ .Values.ingressUrlFormat }}
- -install-crds={{ .Values.installCrds }}
- -controller-threads={{ .Values.controllerThreads }}
- -resync-interval={{ .Values.resyncInterval }}
Expand Down
1 change: 1 addition & 0 deletions incubator/sparkoperator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ enableWebhook: false
enableMetrics: true

controllerThreads: 10
ingressUrlFormat: ""
installCrds: true
metricsPort: 10254
metricsEndpoint: "/metrics"
Expand Down