Commit efb6b503 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Context component:

- updated manifest file
parent 823eb467
Loading
Loading
Loading
Loading
+17 −24
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ spec:
  selector:
    matchLabels:
      app: contextservice
  replicas: 1
  replicas: 5
  template:
    metadata:
      labels:
@@ -28,33 +28,30 @@ spec:
    spec:
      terminationGracePeriodSeconds: 5
      containers:
      - name: redis
        image: redis:6.2
        ports:
        - containerPort: 6379
        resources:
          requests:
            cpu: 100m
            memory: 128Mi
          limits:
            cpu: 500m
            memory: 1024Mi
      #- name: redis
      #  image: redis:6.2
      #  ports:
      #  - containerPort: 6379
      #  resources:
      #    requests:
      #      cpu: 100m
      #      memory: 128Mi
      #    limits:
      #      cpu: 500m
      #      memory: 1024Mi
      - name: server
        image: registry.gitlab.com/teraflow-h2020/controller/context:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 1010
        - containerPort: 8080
        - containerPort: 9192
        env:
        - name: CCDB_URL
          value: "cockroachdb://tfs:tfs123@10.1.7.195:26257/tfs?sslmode=require"
        - name: DB_BACKEND
          value: "redis"
        - name: CRDB_URI
          value: "cockroachdb://tfs:tfs123@cockroachdb-public.crdb.svc.cluster.local:26257/tfs?sslmode=require"
        - name: MB_BACKEND
          value: "redis"
        - name: REDIS_DATABASE_ID
          value: "0"
          value: "inmemory"
        #- name: NATS_URI
        #  value: "nats://tfs:tfs123@nats-public.nats.svc.cluster.local:4222"
        - name: LOG_LEVEL
          value: "INFO"
        readinessProbe:
@@ -86,10 +83,6 @@ spec:
    protocol: TCP
    port: 1010
    targetPort: 1010
  - name: http
    protocol: TCP
    port: 8080
    targetPort: 8080
  - name: metrics
    protocol: TCP
    port: 9192