Commit ee4b0987 authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Working on index-node deployment

parent be9b8940
Loading
Loading
Loading
Loading

kubernetes/\

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
apiVersion: v1
kind: Service
metadata:
  name: esgf-solr-service
spec:
  ports:
  - port: 8983 # host port
    targetPort: 8983 # container port`
    protocol: TCP
  - port: 8984
    targetPort: 8984
    protocol: TCP
  # the selector identifies the set of pods to load-balance against
  selector:
    stack: esgf
+21 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: Pod
metadata:
  name: esgf-index-node
  labels:
    stack: esgf
    app: index-node
spec:
  containers:
  - name: esgf-index-node
    image: esgfhub/esgf-index-node:devel
    ports:
    - containerPort: 8080
    - containerPort: 8443
    volumeMounts:
    - name: esgf-config-archive
      mountPath: /root/archives/esgf_config.tar.xz
  volumes:
  - name: esgf-config-archive
    hostPath:
      path: /Users/cinquini/ESGF_CONFIG/archives/esgf_config.tar.xz
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ spec:
    metadata:
      labels:
        stack: esgf
        app: index-node
    spec:
      containers:
      - name: esgf-solr
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ metadata:
  name: esgf-solr
  labels:
    stack: esgf
    app: index-node
spec:
  containers:
  - name: esgf-solr
+3 −1
Original line number Diff line number Diff line
apiVersion: v1
kind: Service
metadata:
  name: esgf-solr-service
  name: esgf-solr
  labels:
    stack: esgf
    app: index-node
spec:
  type: NodePort
  ports:
@@ -18,3 +19,4 @@ spec:
  # the selector identifies the set of pods to load-balance against
  selector:
    stack: esgf
    app: index-node