apache-spark - Helm - Spark 运算符示例/spark-pi.yaml 不存在
问题描述
我已经使用Helm Chart将 Spark Operator 部署到 GKE到自定义命名空间:
helm install --name sparkoperator incubator/sparkoperator --namespace custom-ns --set sparkJobNamespace=custom-ns
并使用 . 确认在集群中运行的算子helm status sparkoperator
。
但是,当我尝试运行 Spark Pi 示例时kubectl apply -f examples/spark-pi.yaml
,出现以下错误:
the path "examples/spark-pi.yaml" does not exist
有几件事我可能仍然没有得到:
examples/spark-pi.yaml
部署运营商后实际位于哪里?- 我还应该检查什么以及我应该采取哪些其他步骤来使示例正常工作?
解决方案
请在此处spark-pi.yaml
找到该文件。
您应该将其复制到您的文件系统,如果需要对其进行自定义,并使用kubectl apply -f path/to/spark-pi.yaml
.
推荐阅读
- reactjs - 语义-ui反应组件didmount solidity事件订阅消息
- caching - CDN 下的 Socket.io 错误
- java - 传递 Java 谓词
- php - 将数据从数据库内爆到回显复选框,选中
- ios - 我无法在后台播放音乐(Xcode 9、Swift 4)
- spring - 使用 PageableDefault 测试休息控制器
- javascript - 根据数组对对象进行排序以生成排序数组
- ios - VSTS Build Generation 抛出 Invalid bitcode version 错误
- vb.net - 是否可以查看文本文件是否包含按钮名称?
- html - 寻找与 Bootstrap 一起使用的良好浮动标签实现