opensearch-node1-service.yaml 284 B

12345678910111213141516
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: opensearch-node1
  5. spec:
  6. ports:
  7. - name: "9200"
  8. port: 9200
  9. targetPort: 9200
  10. - name: "9600"
  11. port: 9600
  12. targetPort: 9600
  13. selector:
  14. app.kubernetes.io/name: opensearch-node1
  15. app.kubernetes.io/part-of: opensearch