GithubHelp home page GithubHelp logo

akrzos / acm-deploy-load Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 9.0 491 KB

Tool to control load of clusters deployed by ACM and analyze result data

License: Apache License 2.0

Python 76.00% Shell 18.82% Jinja 5.18%

acm-deploy-load's Introduction

acm-deploy-load

Tools and scripts to load and analyze ACM with cluster deployments and upgrades. Clusters are deployed via manifests or GitOps using Zero Touch Provisioning (ZTP).

Workload Scripts

acm-deploy-load.py

Tool to load ACM with cluster deployments via manifests or GitOps ZTP

Load/Rate Option

  • interval - Deploys X number of clusters (manifests or GitOps ZTP) per Y interval time period

Phases of the Workload

  1. Deploy Phase - Apply Manifests or GitOps ZTP to deploy clusters
  2. Wait for Cluster Install Completion
  3. Wait for DU Profile Completion
  4. Report Card / Graphing

mc-workload.py

Tool to load a managed cluster with namespaces, deployments, pods, configmaps, and secrets.

Analysis Scripts

Analysis scripts can be run after deploying or upgrading clusters to understand success and performance of the system.

  • analyze-agentclusterinstalls.py - Summarize and report count, min/avg/max, and 50/95/99 percentiles for cluster installation timing
  • analyze-clustergroupupgrades.py - Summarize and report count, min/avg/max, and 50/95/99 percentiles for ztp-install clustergroupupgrade custom resources
  • analyze-acm-deploy-time.py - Determine deployment duration metrics and peak concurrency from acm-deploy-load monitoring data
  • analyze-upgrade.py - Summarize platform and operator upgrade success and timings from CGUs across upgraded Clusters
  • analyze-clusterversion.py - Summarizes cluster upgrade success and timing as observed from the cluster's clusterversion resources and generates csv of upgrades to be consumed by graphing script

Graphing Scripts

  • graph-clusterversion.py - Graph csv data from analyze-clusterversion.py script
  • graph-acm-deploy.py - Graph monitor_data.csv from acm-deploy-load.py
  • graph-upgrade.py - Graph csv data as time-series from analyze-upgrade script

Patch Scripts

Located in the patch directory, and provide memory limits tuning or image patches specific to scale tests for specific versions.

Other Scripts

  • ocp-health.py - Check if a cluster is healthy/stable
    • Check if clusterversion is available and/or failing
    • Check if all clusteroperators are available and/or degraded
    • Check if all nodes are ready, unknown or under memory/disk/pid pressure
    • Check if all machineconfigpools updated and/or degraded
    • Check for etcd leader elections
  • acm-health.py - Check if ACM is healthy/stable
    • Check if multiclusterhub is available
    • Check if multiclusterengine is available
    • Check if multiclusterobservability is available

acm-deploy-load's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

acm-deploy-load's Issues

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.