sefarad-deployment.yaml 775 Bytes
Newer Older
Alberto Pascual's avatar
Alberto Pascual committed
1
2
3
4
5
6
7
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: ${NAME}-config
data:
    ES_ENDPOINT_EXTERNAL: "$ES_ENDPOINT_EXTERNAL"
Alberto Pascual's avatar
Alberto Pascual committed
8
    FUSEKI_ENDPOINT_EXTERNAL: "$FUSEKI_ENDPOINT_EXTERNAL"
Alberto Pascual's avatar
Alberto Pascual committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: ${NAME}-deploy
spec:
  replicas: 1
  template:
    metadata:
      labels:
        role: ${NAME}-web
        app: ${NAME}
    spec:
      containers:
      - name: ${NAME}
Alberto Pascual's avatar
Alberto Pascual committed
24
        image: registry.cluster.gsi.dit.upm.es/sefarad/dashboard-gsicrawler:${VERSION}
Alberto Pascual's avatar
Alberto Pascual committed
25
26
27
28
29
30
31
32
33
34
35
        imagePullPolicy: Always
        resources:
          limits:
            memory: "512Mi"
            cpu: "500m"
        ports:
          - name: web
            containerPort: 8080
        envFrom:
        - configMapRef:
            name: ${NAME}-config