Skip to content

Instantly share code, notes, and snippets.

@Cpriyanshi77
Created January 20, 2023 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cpriyanshi77/15b1b7cc9d22c52bb6ea7ef82f02dd33 to your computer and use it in GitHub Desktop.
Save Cpriyanshi77/15b1b7cc9d22c52bb6ea7ef82f02dd33 to your computer and use it in GitHub Desktop.
Elasticsearch Headless Service
kind: Service
apiVersion: v1
metadata:
name: elasticsearch
namespace: kube-logging
labels:
app: elasticsearch
spec:
selector:
app: elasticsearch
clusterIP: None
ports:
- port: 9200
name: rest
- port: 9300
name: inter-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment