diff --git a/manifests/contextservice.yaml b/manifests/contextservice.yaml index bdf0122783324076c8825f830bc5f1b18efaff4c..74955dc6f8449c50609db2d7385537a465e77492 100644 --- a/manifests/contextservice.yaml +++ b/manifests/contextservice.yaml @@ -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