-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yaml
72 lines (72 loc) · 2.61 KB
/
pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
cluster:
action: GetCluster
cloud: amazon
name: xlbf9igklanjy
pipeline:
package_application:
image: lachlanevenson/k8s-helm:v2.16.1
commands:
- helm init -c
- helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
- helm package -u ./.banzaicloud/charts/spotguide-spark
deploy_application:
action: EnsureDeployment
deployment:
name: ./spotguide-spark-1.0.0.tgz
namespace: spark
releaseName: '{{ .CICD_REPO_NAME }}'
values:
banzaicloud:
bucket:
location: null
namespace: null
storageAccountName: null
interpreter: Scala
security:
enabled: true
spark:
executor:
num: "2"
image:
tag: v2.4.3.211
version: 2.4.3
historyServer:
enabled: false
spark:
monitoring:
enabled: true
jmxCollector: |
lowercaseOutputName: false
lowercaseOutputLabelNames: false
whitelistObjectNames: ["*:*"]
metricsProperties: |
# Enable Prometheus for all instances by class name
*.sink.prometheus.class=com.banzaicloud.spark.metrics.sink.PrometheusSink
# Prometheus pushgateway address
*.sink.prometheus.pushgateway-address=monitor-prometheus-operato-prometheus.pipeline-system.svc:9090
*.sink.prometheus.pushgateway-enable-timestamp=true
*.sink.prometheus.enable-dropwizard-collector=true
*.sink.prometheus.enable-jmx-collector=false
spark-hs:
image:
tag: v2.4.3.211
ingress:
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.class: traefik
traefik.frontend.rule.type: PathPrefixStrip
traefik.ingress.kubernetes.io/auth-secret: '{{ .CICD_REPO_NAME }}-hs-auth'
traefik.ingress.kubernetes.io/auth-type: basic
enabled: true
hosts:
- shs-{{ (printf "%s-%s" .CICD_REPO_NAME .CLUSTER_NAME) | sha1sum | trunc 10}}.{{.ORG_NAME | lower}}.{{.DOMAIN_NAME}}
sparkEventLogStorage:
aliOssRegion: null
azureStorageAccountName: null
cloudProvider: null
logDirectory: null
oracleNamespace: null
oracleRegion: null
pipelineSecretName: null
secretName: '{{ .CICD_REPO_NAME }}-hs-bucket'
image: banzaicloud/ci-pipeline-client:0.12