Giter VIP home page Giter VIP logo

k6-operator-playground's Introduction

k6-operator-playground

  • Load test simulation using k6-operator.

使用ツール

  • マニフェスト管理

    • Kustomize
      Kustomize
  • モニタリング

    • kube-prometheus-stack
      kube-prometheus-stack
  • 負荷試験

    • k6-operator
      k6-operator

ディレクトリ構成

.
├── docs      ・・・ ドキュメント
├── helm      ・・・ Helm リポジトリから直接リソースを適用する場合のスクリプトを配置(基本的に使用しない。公式からのリリースと大きな差分が発生した際の確認用として準備しておく。)
├── load      ・・・ Kubernetes 上で負荷試験を実行する際に必要となるシナリオとマニフェストを配置
├── local     ・・・ docker compose を使用して k6 を検証する場合に必要となるリソースを配置(Kubernetes を使用しない場合に使用)
├── manifests ・・・ 負荷試験に必要となるリソース用の Kustomize マニフェストを配置
└── services  ・・・ 負荷試験の対象となるサービスを配置

負荷試験アーキテクチャ

k6-operator-architecture

  • 負荷試験クラスタ(このリポジトリ)
    • 負荷試験を実行する側のクラスタ
    • 負荷試験レポートは Prometheus または InfluxDB に流す(二経路準備しておく)
      • Prometheus:大規模負荷試験においてより高度な耐久性を得られる
      • InfluxDB:シンプルな構成で軽い負荷試験が容易
  • ターゲットクラスタ(別途準備)
    • 負荷試験を受ける側のクラスタ
    • LB(基本的には L7SLB)に向けて実行する
      • パブリッククラウド:事前に暖気申請等を行なっておく
      • プライベートクラウド(MetalLB 等のベアメタル):パケット分散率及びおよび負荷状況に合わせて LB 専用のインスタンスを準備する

使い方

  1. manifests ディレクトリ を参考に Kubernetes に負荷試験に必要なリソースを構築する
  2. k6-operator による負荷試験の実施 を参考に負荷試験を実施する

k6-operator-playground's People

Contributors

gotoren avatar

Watchers

 avatar  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.