Skip to content

Commit fd6bf53

Browse files
authored
fix: restore some manifests of signal processing demo (#222)
1 parent 562154d commit fd6bf53

File tree

3 files changed

+61
-2
lines changed

3 files changed

+61
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: spark
6+
---
7+
apiVersion: rbac.authorization.k8s.io/v1
8+
kind: RoleBinding
9+
metadata:
10+
name: spark
11+
subjects:
12+
- kind: ServiceAccount
13+
name: spark
14+
roleRef:
15+
kind: Role
16+
name: spark-role
17+
apiGroup: rbac.authorization.k8s.io
18+
---
19+
apiVersion: rbac.authorization.k8s.io/v1
20+
kind: Role
21+
metadata:
22+
name: spark-role
23+
rules:
24+
- apiGroups: [""]
25+
resources: [pods]
26+
verbs: ["*"]
27+
- apiGroups: [""]
28+
resources: [services]
29+
verbs: ["*"]
30+
- apiGroups: [""]
31+
resources: [configmaps]
32+
verbs: ["*"]
33+
- apiGroups: [""]
34+
resources: [persistentvolumeclaims]
35+
verbs: ["*"]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: v1
3+
kind: Service
4+
metadata:
5+
name: driver-service
6+
spec:
7+
selector:
8+
app: jupyterhub
9+
component: singleuser-server
10+
hub.jupyter.org/username: admin
11+
ports:
12+
- name: driver
13+
protocol: TCP
14+
port: 2222
15+
targetPort: 2222
16+
- name: blockmanager
17+
protocol: TCP
18+
port: 7777
19+
targetPort: 7777
20+
- name: spark-driver-ui-port
21+
port: 4040
22+
protocol: TCP
23+
targetPort: 4040
24+
type: ClusterIP

stacks/stacks-v2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ stacks:
631631
- helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/postgresql-timescaledb.yaml
632632
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/nifi-kafka-druid-superset-s3/zookeeper.yaml
633633
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/nifi.yaml
634-
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/serviceaccount.yaml
635-
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/spark_driver_service.yaml
634+
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/serviceaccount.yaml
635+
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/spark_driver_service.yaml
636636
- helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/jupyterhub.yaml
637637
parameters:
638638
- name: nifiAdminPassword

0 commit comments

Comments
 (0)