yaml部署service外网无法访问
例如下面:
apiVersion: v1
kind: Service
metadata:
name: flink-jobmanager
spec:
type: ClusterIP
ports:
- name: rpc
port: 6123
- name: blob-server
port: 6124
- name: webui
port: 8081
selector:
app: flink
component: jobmanager
将type: ClusterIP改为type: NodePort,再重新部署
kubectl delete service/flink-jobmanager
kubectl apply -f jobmanager-service.yaml
kubectl get all