Fix spark-driver in examples/spark

This commit is contained in:
Marcin Wielgus
2015-07-31 16:52:50 +02:00
parent ff058a1afe
commit 41bc20d1e0
4 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
FROM gcr.io/google_containers/spark-base
ADD start.sh /start.sh
ADD log4j.properties /opt/spark/conf/log4j.properties
CMD ["/start.sh"]

View File

@@ -17,7 +17,7 @@
echo "$SPARK_MASTER_SERVICE_HOST spark-master" >> /etc/hosts
echo "SPARK_LOCAL_HOSTNAME=$(hostname -i)" >> /opt/spark/conf/spark-env.sh
echo "MASTER=spark://spark-master:$SPARK_MASTER_SERVICE_PORT" >> /opt/spark/conf/spark-env.sh
echo "Use kubectl exec spark-driver -it bash to invoke commands"
while true; do
sleep 100
done

View File

@@ -11,7 +11,7 @@
"containers": [
{
"name": "spark-driver",
"image": "gurvin/spark-driver",
"image": "gcr.io/google_containers/spark-driver:1.4.0_v1",
"resources": {
"limits": {
"cpu": "100m"