All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.deployment.model-training-api.model-training-api.values.yaml.vm Maven / Gradle / Ivy

The newest version!
# Default values for model training api.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

hostname: ${appName}
image:
  name: ghcr.io/boozallen/aissemble-${appName}
  imagePullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: "${versionTag}"

service:
  spec:
    ports:
      - name: #if(${appName} == "model-training-api") "5001" #else "5002" #end
        port: #if(${appName} == "model-training-api") 5001 #else 5002 #end
        targetPort: 80

configMap:
  trainingApiConfig: |
    project_name=${projectName}
    docker_registry=${dockerProjectRepositoryUrl}
    image_prefix=
    image_tag=${version}
    image_pull_policy=Always
  trainingApiConfigDev: |
    image_tag=latest
    docker_registry=
    image_pull_policy=IfNotPresent

deployment:
  ports:
    - name: http-1
      containerPort: #if(${appName} == "model-training-api") 5001 #else 5002 #end
      protocol: TCP
  env:
    - name: KRAUSENING_BASE
      value: /opt/app/resources/config/base
  volumeMounts:
    - name: training-api-config
      mountPath: /opt/app/resources/config/base
    - name: training-api-config-dev
      mountPath: /opt/app/resources/config/extensions
  volumes:
    - name: training-api-config
      configMap:
        name: training-api-config
        items:
          - key: training-api-config.properties
            path: training-api-config.properties
    - name: training-api-config-dev
      configMap:
        name: training-api-config
        items:
          - key: training-api-config-dev.properties
            path: training-api-config.properties

  restartPolicy: Always

ingress:
  enabled: true
  metadata:
    annotations:
      kubernetes.io/ingress.class: nginx
  hosts:
    - host: ${appName}-ai.boozallen.github.io
      paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: ${appName}
              port:
                number: #if(${appName} == "model-training-api") 5001 #else 5002 #end
  status: 10.192.83.167




© 2015 - 2025 Weber Informatics LLC | Privacy Policy