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

Commit

Permalink
Added flag for ingress URL format
Browse files Browse the repository at this point in the history
Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>
  • Loading branch information
yuchaoran2011 committed Feb 7, 2019
1 parent 1a5c6e1 commit 361f452
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
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

0 comments on commit 361f452

Please sign in to comment.