k8s открыть порт loadbalancer

apiVersion: v1
kind: Service
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"kafka-0","namespace":"infra-test"},"spec":{"externalIPs":["192.168.101.51"],"ports":[{"name":"default","port":9092,"protocol":"TCP","targetPort":9092}],"selector":{"statefulset.kubernetes.io/pod-name":"kafka-test-kafka-0"},"sessionAffinity":"None","type":"LoadBalancer"}}
  creationTimestamp: "2019-10-18T15:12:05Z"
  name: kafka-0
  namespace: infra-test
  resourceVersion: "75347582"
  selfLink: /api/v1/namespaces/infra-test/services/kafka-0
  uid: 60621912-a80c-46c2-8801-720786188724
spec:
  clusterIP: 192.168.64.0
  externalIPs:
  - 192.168.101.51
  externalTrafficPolicy: Cluster
  ports:
  - name: default
    nodePort: 32912
    port: 9092
    protocol: TCP
    targetPort: 9092
  selector:
    statefulset.kubernetes.io/pod-name: kafka-test-kafka-0
  sessionAffinity: None
  type: LoadBalancer
status:
  loadBalancer: {}
Без рубрики

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.