笨笨萝莉

文章
5
资源
0
加入时间
3年1月12天

构建rancher自定义ui的前端镜像

使用Docker构建rancher ui镜像必须准备好要部署的服务器ip或域名 部署的端口 https证书 以部署到192.168.99.100:8000 为例./scripts/build-static -l -s -v 'rancher-ui' -c '192.168.99.100:8000' # 编译前端项目docker build -t rancher-ui:latest . # 构建镜像docker stop ou && docker contain..

从csv文件创建dataFrame

读取CSV文件创建dataFrame的写法:val df1 = spark.read .format("csv") .option("header","true") .option("inferSchema","true") .load("src/test/resource/1.csv")完整写法:import org.apache...