c语言sscanf函数的用法是什么
283
2022-09-12
k8s部署spark history历史服务
apiVersion: apps/v1 kind: Deployment metadata: name: spark-history-server namespace: dmgeo-lib spec: selector: matchLabels: run: spark-history-server replicas: 1 template: metadata: labels: run: spark-history-server spec: containers: - image: 192.168.145.28:1603/lego/spark/spark:3.0.0 name: spark-history-server args: ["/opt/spark/bin/spark-class", "org.apache.spark.deploy.history.HistoryServer"] ports: - containerPort: 18080 name: http env: - name: SPARK_HISTORY_OPTS value: "-Dspark.history.fs.logDirectory=hdfs://192.168.145.28:9000/sparkhistory" --- apiVersion: v1 kind: Service metadata: name: spark-hs-svc namespace: dmgeo-lib spec: ports: - port: 18080 protocol: TCP targetPort: 18080 nodePort: 10080 selector: run: spark-history-server type: NodePort status: loadBalancer: {} 运行结果: spark-history-server-558fb7579-7lc5q 1/1 Running 0 19h
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~