Skip to content
Snippets Groups Projects
Select Git revision
  • 8af7658be2956821c377b3a344cb0d5cf11df3c9
  • main default protected
  • feat/statistics protected
  • feat/schemaStats protected
  • feat/password protected
  • refactor/remove-graphcounts protected
  • feat/cypher2query-negations2 protected
  • feat/airecommender protected
  • feat/cypher-visual protected
  • feat/mcp protected
  • feature-flag protected
  • feat/optionalDefault protected
  • feat/refactorarray protected
  • feat/attributes-db protected
  • fix/mlservice protected
  • feat/median protected
  • feat/grammar2sql protected
  • feat/fetchSchemaNew protected
  • feat/monolith protected
  • feat/aggComparison protected
  • feat/maxOutput protected
  • v1.62.0
  • v1.61.1
  • v1.61.0
  • v1.60.1
  • v1.60.0
  • v1.59.0
  • v1.58.1
  • v1.58.0
  • v1.57.1
  • v1.57.0
  • v1.56.0
  • v1.55.2
  • v1.55.1
  • v1.55.0
  • v1.54.0
  • v1.53.1
  • v1.53.0
  • v1.52.1
  • v1.52.0
  • v1.51.0
41 results

deployment.yml

Blame
  • deployment.yml 4.21 KiB
    #This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
    #© Copyright Utrecht University (Department of Information and Computing Sciences)
    
    # ArangoDB query service deployment
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: arangodb-query-service
      labels:
        app: arangodb-query-service
        monitor: go-service
    spec:
      replicas: 1 
      selector:
        matchLabels:
          app: arangodb-query-service
          monitor: go-service
      template:
        metadata:
          labels:
            app: arangodb-query-service
            monitor: go-service
        spec:
          containers:
          - name: container
            image: graphpolaris/query-handler-service:latest
            imagePullPolicy: Always
            ports:
            - containerPort: 8080
            env:
            - name: RABBIT_HOST
              value: rabbitmq
            - name: RABBIT_PORT
              value: "5672"
            - name: RABBIT_USER
              valueFrom:
                secretKeyRef: 
                  name: rabbitmq-default-user
                  key: username
            - name: RABBIT_PASSWORD
              valueFrom:
                secretKeyRef: 
                  name: rabbitmq-default-user
                  key: password
            - name: REDIS_ADDRESS
              value: redis.redis.svc.cluster.local:6379
            - name: LOG_LEVEL
              value: "-1"
            - name: MINIO_ADDRESS
              value: minio:9000
            - name: MINIO_ACCESSKEYID
              value: root
            - name: MINIO_ACCESSKEY
              value: DikkeDraak
            - name: QUERY_CONVERSION_LANGUAGE
              value: aql
            - name: QUERY_EXECUTION
              value: arangodb
            resources:
                requests:
                  memory: "100Mi"
                  cpu: "100m"
                limits:
                  memory: "250Mi"
                  cpu: "500m"
          imagePullSecrets:
          - name: docker-regcred
    
    ---