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
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐