在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):testdrivenio/spark-kubernetes开源软件地址(OpenSource Url):https://github.com/testdrivenio/spark-kubernetes开源编程语言(OpenSource Language):Shell 52.8%开源软件介绍(OpenSource Introduction):Deploying Spark on KubernetesWant to learn how to build this?Check out the post. Want to use this project?Minikube SetupInstall and run Minikube:
Start the cluster: $ minikube start --memory 8192 --cpus 4
$ minikube dashboard Build the Docker image: $ eval $(minikube docker-env)
$ docker build -t spark-hadoop:2.2.1 -f ./docker/Dockerfile ./docker Create the deployments and services: $ kubectl create -f ./kubernetes/spark-master-deployment.yaml
$ kubectl create -f ./kubernetes/spark-master-service.yaml
$ kubectl create -f ./kubernetes/spark-worker-deployment.yaml
$ minikube addons enable ingress
$ kubectl apply -f ./kubernetes/minikube-ingress.yaml Add an entry to /etc/hosts: $ echo "$(minikube ip) spark-kubernetes" | sudo tee -a /etc/hosts Test it out in the browser at http://spark-kubernetes/. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论