mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
Merge pull request #1275 from miguelaeh/changeSparkServicePort
[bitnami/spark] Change Spark default service webPort
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 2.4.3
|
||||
description: Spark is a fast and general-purpose cluster computing system.
|
||||
name: spark
|
||||
version: 0.0.2
|
||||
version: 0.0.3
|
||||
icon: https://bitnami.com/assets/stacks/spark/img/spark-stack-220x234-1ea65541e9e427ca5b93300e61d4778576c7f679ae02addb86a2641b0ca70476.png
|
||||
home: https://spark.apache.org/
|
||||
sources:
|
||||
|
||||
@@ -114,14 +114,16 @@ The following tables lists the configurable parameters of the spark chart and th
|
||||
| `security.ssl.protocol` | Set the SSL protocol | `TLSv1.2` |
|
||||
| `security.certificatesSecretName` | Set the name of the secret that contains the certificates | No default |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.port` | spark client port | `2379` |
|
||||
| `service.webPort` | Spark client port | `80` |
|
||||
| `service.clusterPort` | Spark cluster port | `7077` |
|
||||
| `service.nodePort` | Port to bind to for NodePort service type (client port) | `nil` |
|
||||
| `service.annotations` | Annotations for spark service | {} |
|
||||
| `service.loadBalancerIP` | loadBalancerIP if spark service type is `LoadBalancer` | `nil` |
|
||||
| `ingress.enabled` | Enable the use of the ingress controller to access the web UI | `false` |
|
||||
| `ingress.enabled` | Enable the use of the ingress controller to access the web UI | `false` |
|
||||
| `ingress.hosts` | Add hosts to the ingress controller with name and path | `name: spark.local`, `path: /` |
|
||||
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```console
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "spark.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
echo http://$SERVICE_IP:{{ .Values.service.webPort }}
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "spark.fullname" . }}-master-svc {{ default "8080" .Values.service.webPort }}:{{ default "8080" .Values.service.webPort }}
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "spark.fullname" . }}-master-svc {{ default "80" .Values.service.webPort }}:{{ default "80" .Values.service.webPort }}
|
||||
echo "Visit http://127.0.0.1:{{ .Values.service.webPort }} to use your application"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -230,7 +230,7 @@ security:
|
||||
service:
|
||||
type: ClusterIP
|
||||
clusterPort: 7077
|
||||
webPort: 8080
|
||||
webPort: 80
|
||||
## Specify the NodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
|
||||
@@ -230,7 +230,7 @@ security:
|
||||
service:
|
||||
type: ClusterIP
|
||||
clusterPort: 7077
|
||||
webPort: 8080
|
||||
webPort: 80
|
||||
## Specify the NodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user