Skip to content

Commit 404e3ad

Browse files
authored
Add example CML configuration (#27)
* Initial definition for CML * Include default for Azure deployment as reference for users Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
1 parent 1a3a163 commit 404e3ad

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

examples/cml/application.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
3+
# Copyright 2021 Cloudera, Inc. All Rights Reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
- name: Coda
18+
hosts: localhost
19+
connection: local
20+
gather_facts: no
21+
become: no
22+
tasks:
23+
- name: Deployment results
24+
debug:
25+
msg: Success!

examples/cml/definition.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
3+
# Copyright 2021 Cloudera, Inc. All Rights Reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
ml:
18+
definitions:
19+
- tls: yes
20+
monitoring: yes
21+
governance: yes
22+
metrics: yes
23+
public_loadbalancer: yes
24+
instance_groups:
25+
- name: cpu_settings
26+
autoscaling:
27+
maxInstances: 10
28+
minInstances: 1
29+
instanceCount: 0
30+
instanceTier: "ON_DEMAND"
31+
instanceType: m5.4xlarge # AWS
32+
# instanceType: Standard_D8_v3 # Azure
33+
rootVolume:
34+
size: 100
35+
- name: gpu_settings
36+
autoscaling:
37+
maxInstances: 1
38+
minInstances: 0
39+
instanceCount: 0
40+
instanceTier: "ON_DEMAND"
41+
instanceType: "p2.8xlarge" # AWS
42+
# instanceType: Standard_D8_v3 # Azure
43+
rootVolume:
44+
size: 100

0 commit comments

Comments
 (0)