Commit 4375d82c authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Consolidating solr servcie into solr deployment

parent ee4b0987
Loading
Loading
Loading
Loading
+24 −1
Original line number Diff line number Diff line
apiVersion: v1
kind: Service
metadata:
  name: esgf-solr
  labels:
    stack: esgf
    app: index-node
spec:
  type: NodePort
  ports:
  - port: 8983 # host port
    targetPort: 8983 # container port
    protocol: TCP
    name: solr-slave
  - port: 8984
    targetPort: 8984
    protocol: TCP
    name: solr-master
  # the selector identifies the set of pods to load-balance against
  selector:
    stack: esgf
    app: index-node
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
  name: esgf-solr-deployment
  name: esgf-solr
spec:
  replicas: 1
  template:

kubernetes/solr-service.yaml

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
apiVersion: v1
kind: Service
metadata:
  name: esgf-solr
  labels:
    stack: esgf
    app: index-node
spec:
  type: NodePort
  ports:
  - port: 8983 # host port
    targetPort: 8983 # container port
    protocol: TCP
    name: solr-slave
  - port: 8984
    targetPort: 8984
    protocol: TCP
    name: solr-master
  # the selector identifies the set of pods to load-balance against
  selector:
    stack: esgf
    app: index-node