---
apiVersion: v1
kind: ConfigMap
metadata:
  name: nha-yaml
data:
  nha.yaml: |
    logger:
      level: DEBUG
      pretty: true
      directory: /logs
      file_name: noronha.log
    docker:
      target_registry: svc-internal-registry  # edit the docker registry used by the k8s cluster
      # registry_secret: <registry_secret>  # edit the name of the k8s secret that holds your docker registry's credentials
    container_manager:
      type: kube
      namespace: nha
      api_timeout: 600
      healthcheck:
        enabled: true
        start_period: 120
        interval: 60
        retries: 12
      storage_class: standard  # edit the storage class for provisioning disk on demand (Azure: default | Others: standard)
      nfs:
        server: <nfs_server>  # edit the nfs server ip address (same as in nfs.yaml)
        path: /nfs/nha-vols
      resource_profiles:
        nha-train:
          requests:
            memory: 5120
            cpu: 2
          limits:
            memory: 8192
            cpu: 4  