aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/applications/sample-horovod-app/sample_values.yaml
blob: 7030dd24d86479b7194f92c82ec82c84d6fa6c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
#useHostNetwork: true

ssh:
  useSecrets: true
  port: 22
  hostKey: |-
    -----BEGIN RSA PRIVATE KEY-----
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
    -----END RSA PRIVATE KEY-----

  hostKeyPub: |-
    ssh-rsa ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
    ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
    ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
    ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey user@openSource

resources: {}

worker:
  number: 2
  image:
    repository: spark-tf-keras-horovod-pytorch
    tag: latest
    pullPolicy: Never 
master:
  image:
    repository: spark-tf-keras-horovod-pytorch 
    tag: latest
    pullPolicy: Never
  args:
    - "mpirun -np 3 --hostfile /horovod/generated/hostfile --mca orte_keep_fqdn_hostnames t --allow-run-as-root --display-map --tag-output --timestamp-output sh -c '/opt/conda/envs/tf_env/bin/python /opt/spark/examples/src/main/python/tensorflow/keras_mnist_advanced_modified.py'"

## Model repository information (Minio)
minio:
  existingSecret: ""
  accessKey: "onapdaas"
  secretKey: "onapsecretdaas"
  environment:
    AWS_REGION: "us-west-1"
    S3_REGION: "us-west-1"
    S3_ENDPOINT: "minio.edge1.svc.cluster.local:9000"
    AWS_ENDPOINT_URL: "http://minio.edge1.svc.cluster.local:9000"
    S3_USE_HTTPS: 0
    S3_VERIFY_SSL: 0
    AWS_LOG_LEVEL: 3
    TF_CPP_MIN_LOG_LEVEL: 3
    MODEL_NAME: "mnist"
    MODEL_BASE_PATH: "s3://models/mnist/export/"