From 6cab7aff8bd1f01128ff1e4121cd014a9c6b3fb4 Mon Sep 17 00:00:00 2001 From: Curtis Howard Date: Sat, 9 Oct 2021 22:12:23 -0400 Subject: [PATCH] more DE changes Signed-off-by: curtis --- examples/cde/application.yml | 25 +++++++++++++++++++++++++ examples/cde/definition.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 examples/cde/application.yml create mode 100644 examples/cde/definition.yml diff --git a/examples/cde/application.yml b/examples/cde/application.yml new file mode 100644 index 0000000..9d77e34 --- /dev/null +++ b/examples/cde/application.yml @@ -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! diff --git a/examples/cde/definition.yml b/examples/cde/definition.yml new file mode 100644 index 0000000..2bcf05c --- /dev/null +++ b/examples/cde/definition.yml @@ -0,0 +1,33 @@ +--- + +# 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: 2 + maximum_instances: 4 + minimum_spot_instances: 0 + maximum_spot_instances: 0 + enable_public_endpoint: yes + enable_workload_analytics: yes + initial_instances: 2 + 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