在k8s上部署flink
Flink session on k8shttps://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html#注意每个配置文件中的imagekubectl create -f flink-configuration-configmap.yamlkubectl create -f jobmanage
·
Flink session on k8s
https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html
#注意每个配置文件中的image
kubectl create -f flink-configuration-configmap.yaml
kubectl create -f jobmanager-service.yaml
kubectl create -f jobmanager-deployment.yaml
kubectl create -f taskmanager-deployment.yaml
#查看flink pod是否启动成功
kubectl get pods
#启动flink server
kubectl port-forward flink-jobmanager-6df9f8b46d-twh44 8081:8081 --address 0.0.0.0
更多推荐
已为社区贡献3条内容
所有评论(0)