Skip to content

Commit

Permalink
DE changes to support virtual cluster definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
curtishoward committed Oct 27, 2021
1 parent 9c83679 commit 51fed6d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/cde/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---

# Copyright 2021 Cloudera, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Coda
hosts: localhost
connection: local
gather_facts: no
become: no
tasks:
- name: Deployment results
debug:
msg: Success!
41 changes: 41 additions & 0 deletions examples/cde/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---

# Copyright 2021 Cloudera, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

de:
definitions:
- name: cde-cloudera-deploy-example
instance_type: 'm5.2xlarge'
minimum_instances: 1
maximum_instances: 4
minimum_spot_instances: 0
maximum_spot_instances: 0
enable_public_endpoint: yes
enable_workload_analytics: yes
initial_instances: 1
initial_spot_instances: 0
root_volume_size: 100
chart_value_overrides: [{"chartName":"dex-app", "overrides":"dexapp.api.gangScheduling.enabled:true"}]
skip_validation: yes
tags: {'cde-cloudera-deploy-example':'v0.0.1'}
use_ssd: yes
virtual_clusters:
- name: cloudera-deployed-vc-1
cpu_requests: 32
memory_requests: '128Gi'
spark_version: 'SPARK2'
acl_users: '*'
runtime_spot_component: 'ALL'
chart_value_overrides: [{"chartName":"dex-app", "overrides":"pipelines.enabled:true"}]

0 comments on commit 51fed6d

Please sign in to comment.