mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
Expose ElasticSearch as a LoadBalancer-type service
This commit is contained in:
16
api/internal/crawl/config/elastic/service.yaml
Normal file
16
api/internal/crawl/config/elastic/service.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: elasticsearch
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
custom-resource: v1alpha1.ESCluster
|
||||||
|
custom-resource-name: esbasic
|
||||||
|
custom-resource-namespace: default
|
||||||
|
es/data: "true"
|
||||||
|
using: escluster.Cluster
|
||||||
|
ports:
|
||||||
|
- protocol: "TCP"
|
||||||
|
port: 9200
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: ""
|
||||||
Reference in New Issue
Block a user