7030dd24d86479b7194f92c82ec82c84d6fa6c71
[demo.git] / vnfs / DAaaS / applications / sample-horovod-app / sample_values.yaml
1 ---
2 #useHostNetwork: true
3
4 ssh:
5   useSecrets: true
6   port: 22
7   hostKey: |-
8     -----BEGIN RSA PRIVATE KEY-----
9     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
10     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
11     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
12     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
13     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
14     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
15     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
16     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
17     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
18     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
19     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
20     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
21     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
22     ThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKeyThisIsPrivateKey
23     -----END RSA PRIVATE KEY-----
24
25   hostKeyPub: |-
26     ssh-rsa ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
27     ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
28     ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey
29     ThisIsPublicKeyThisIsPublicKeyThisIsPublicKeyThisIsPublicKey user@openSource
30
31 resources: {}
32
33 worker:
34   number: 2
35   image:
36     repository: spark-tf-keras-horovod-pytorch
37     tag: latest
38     pullPolicy: Never 
39 master:
40   image:
41     repository: spark-tf-keras-horovod-pytorch 
42     tag: latest
43     pullPolicy: Never
44   args:
45     - "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'"
46
47 ## Model repository information (Minio)
48 minio:
49   existingSecret: ""
50   accessKey: "onapdaas"
51   secretKey: "onapsecretdaas"
52   environment:
53     AWS_REGION: "us-west-1"
54     S3_REGION: "us-west-1"
55     S3_ENDPOINT: "minio.edge1.svc.cluster.local:9000"
56     AWS_ENDPOINT_URL: "http://minio.edge1.svc.cluster.local:9000"
57     S3_USE_HTTPS: 0
58     S3_VERIFY_SSL: 0
59     AWS_LOG_LEVEL: 3
60     TF_CPP_MIN_LOG_LEVEL: 3
61     MODEL_NAME: "mnist"
62     MODEL_BASE_PATH: "s3://models/mnist/export/"