yurake/k8s-3tier-webapp

View on GitHub
kubernetes/kafka/kafka-service.yaml

Summary

Maintainability
Test Coverage
apiVersion: v1
kind: Service
metadata:
  name: kafka
spec:
  type: ClusterIP
  selector:
    app: kafka
  ports:
    - name: port
      port: 9092
      targetPort: 9092
      protocol: TCP