GithubHelp home page GithubHelp logo

raddish18 / cloudera.exe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudera-labs/cloudera.exe

0.0 0.0 0.0 226 KB

cloudera.exe -- an Ansible collection enabling runlevel management of CDP Public Cloud deployments as well as numerous utilities for deployments.

License: Apache License 2.0

Python 37.12% Jinja 62.88%

cloudera.exe's Introduction

cloudera.exe - Runlevel Management and Utilities for Cloudera Data Platform (CDP)

Readme last updated: 2021-05-26

cloudera.exe is an Ansible collection enabling runlevel management of CDP Public Cloud deployments. The collection also contains a number of utilities for common scenarios encountered when managing a CDP deployment.

The collection provides the following roles:

Role Description
sequence Runlevel-like "orchestration" of CDP Public Cloud deployments
infrastructure Cloud provider assets and IaaS
platform CDP Public Cloud assets, including Environments, Datalakes, Users and Groups, etc.
runtime CDP Experiences, including Machine Learning, Datahubs, etc.
info Comprehensive readout of all CDP Public Cloud elements within an Environment
data Manage external data locations for CDP Public Cloud deployments
common Shared variables for all roles within collection

Installation

To install the cloudera.exe collection, you have several options. Please note that to date, we have not yet published this collection to the public Ansible Galaxy server, so you cannot install it via direct namespace declaration, rather you must specify a Git project and (optionally) branch.

The collection has several dependencies that should resolve automatically via the ansible-galaxy command:

Option #1: Install from GitHub

Create or edit the collections/requirements.yml file in your project with the following:

collections:
  - name: https://github.com/cloudera-labs/cloudera.exe.git
    type: git
    version: main

And then run in your project:

ansible-galaxy collection install -r collections/requirements.yml

Option #2: Install the tarball

Periodically, the collection is packaged into a distribution which you can install directly:

ansible-galaxy collection install <collection-tarball> -p collections/

Requirements

The cloudera.exe collection interacts with both CDP and cloud provider endpoints.

NOTE: At minimum, you will need to install the base Python libraries and your target cloud provider libraries. You may choose to install all the cloud provider libraries, if desired.

NOTE #2: We highly recommend using virtual environments for managing these dependencies!

The collection requires Ansible 2.10.0 or higher.

cloudera.exe depends on the following other collections, all of which should be automatically resolved through ansible-galaxy.

  • cloudera.cloud
  • ansible.netcommon
  • community.general
  • community.aws
  • amazon.aws
  • azure.azcollection
  • google.cloud
  • netapp.azure

Python

The collection has several Python libraries that are needed to support the roles and the underlying modules, i.e. the base libraries, including:

Ansible

  • jmespath
  • netaddr

CDP

  • cdpy (See cdpy on Cloudera Labs)

The requirements.txt file declares these libraries. You may install them via pip:

pip install -r requirements.txt

Amazon Web Services

For AWS, you need to install the following Python libraries:

  • awscli
  • boto
  • botocore
  • boto3

The requirements_aws.txt file declares these libraries. You may install them via pip:

pip install -r requirements_aws.txt

Microsoft Azure

For Azure, you must first install the Azure CLI for your OS.

Then install the following Python libraries:

The requirements_azure.txt file declares these libraries. You may install them via pip:

pip install -r requirements_azure.txt

Google Cloud

For Google Cloud, you must first install the Google Cloud SDK for your OS.

Then install the following Python libraries:

  • google-auth

The requirements_gcp.txt file declares these libraries. You may install them via pip:

pip install -r requirements_gcp.txt

Using the Collection

See the execution examples in the Deployment Runlevels document.

For more information on the collection, check out:

Getting Involved

Contribution instructions are coming soon!

License and Copyright

Copyright 2021, Cloudera, Inc.

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.

cloudera.exe's People

Contributors

chaffelson avatar wmudge avatar cmperro avatar jimright avatar guruchai avatar anuragpatro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.