
* Pod -> ReplicationController, which also forced me to hack around hostname issue on the master. (Spark master sees the incoming slave request to spark-master and assumes it's not meant for it, since it's name is spark-master-controller-abcdef.) * Remove service env dependencies (depend on DNS instead). * JSON -> YAML. * Add GCS connector. * Make example do something actually useful: A familiar example to anyone at Google, implement wordcount of all of Shakespeare's works. * Fix a minor service connection issue in the gluster example.
13 lines
201 B
YAML
13 lines
201 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: spark-master
|
|
labels:
|
|
component: spark-master-service
|
|
spec:
|
|
ports:
|
|
- port: 7077
|
|
targetPort: 7077
|
|
selector:
|
|
component: spark-master
|