Skip to content

Commit f4b9ec1

Browse files
committed
Merge pull request apache#17 from mesosphere/multiple_spark
Update labels for admin router change.
2 parents b9a0cf8 + 6a11c72 commit f4b9ec1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package/marathon.json.mustache

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"type": "DOCKER",
4242
"docker": {
4343
"image": "{{resource.assets.container.docker.spark_docker}}",
44-
"network": "HOST",
44+
"Network": "HOST",
4545
"forcePullImage": true
4646
}
4747
},
@@ -65,11 +65,13 @@
6565
"labels": {
6666
{{#hdfs.config-url}}"SPARK_HDFS_CONFIG_URL": "{{hdfs.config-url}}",{{/hdfs.config-url}}
6767
"SPARK_URI": "{{spark.uri}}",
68+
"DCOS_SERVICE_NAME": "{{spark.framework-name}}",
69+
"DCOS_SERVICE_PORT_INDEX": "4",
6870
{{#spark.ssl.enabled}}
69-
"DCOS_SERVICE": "https:{{spark.framework-name}}:4"
71+
"DCOS_SERVICE_SCHEME": "https"
7072
{{/spark.ssl.enabled}}
7173
{{^spark.ssl.enabled}}
72-
"DCOS_SERVICE": "http:{{spark.framework-name}}:4"
74+
"DCOS_SERVICE_SCHEME": "http"
7375
{{/spark.ssl.enabled}}
7476
}
7577
}

0 commit comments

Comments
 (0)