Git Product home page Git Product logo

svteb / testsuite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cnti-testcatalog/testsuite

0.0 0.0 0.0 20.81 MB

๐Ÿ“ž๐Ÿ“ฑโ˜Ž๏ธ๐Ÿ“ก๐ŸŒ CNTI Test Catalog Test Suite is a tool to check for and provide feedback on the use of K8s + cloud native best practices in networking applications and platforms.

License: Apache License 2.0

Shell 0.92% C 0.02% Crystal 17.14% Makefile 0.15% HTML 0.32% Smarty 1.42% Dockerfile 0.37% Mustache 79.50% Ruby 0.14%

testsuite's Introduction

CNTI Test Catalog

Main
Build Status

The CNTI Test Catalog is a tool that validates telco application's adherence to cloud native principles and best practices.

This Test Catalog focus area is one part of LF Networking's Cloud Native Telecom Initiative (CNTI) and works closely with the CNTI Best Practices and CNTI Certification focus areas.

Installation and Usage

To get the CNTI Test Catalog up and running, see the Installation Guide.

To give it a try immediately you can use these quick install steps

Prereqs: kubernetes cluster, wget, curl, helm 3.1.1 or greater on your system already.

  1. Install the latest test suite binary: source <(curl -s https://raw.githubusercontent.com/cnti-testcatalog/testsuite/main/curl_install.sh)
  2. Run setup to prepare the cnf-testsuite: cnf-testsuite setup
  3. Pull down an example CNF configuration to try: curl -o cnf-testsuite.yml https://raw.githubusercontent.com/cnti-testcatalog/testsuite/main/example-cnfs/coredns/cnf-testsuite.yml
  4. Initialize the test suite for using the CNF: cnf-testsuite cnf_setup cnf-config=./cnf-testsuite.yml
  5. Run all of application/workload tests: cnf-testsuite workload

More Usage docs

Check out the usage documentation for more info about invoking commands and logging.

Cloud Native Categories

The CNTI Test Catalog will inspect CNFs for the following characteristics:

  • Configuration - The CNF's configuration should be managed in a declarative manner, using ConfigMaps, Operators, or other declarative interfaces.
  • Compatibility, Installability & Upgradability - CNFs should work with any Certified Kubernetes product and any CNI-compatible network that meet their functionality requirements while using standard, in-band deployment tools such as Helm (version 3) charts.
  • Microservice - The CNF should be developed and delivered as a microservice.
  • State - The CNF's state should be stored in a custom resource definition or a separate database (e.g. etcd) rather than requiring local storage. The CNF should also be resilient to node failure.
  • Reliability, Resilience & Availability - CNFs should be reliable, resilient and available to failures inevitable in cloud environments. CNFs should be tested to ensure they are designed to deal with non-carrier-grade shared cloud HW/SW platforms.
  • Observability & Diagnostics - CNFs should externalize their internal states in a way that supports metrics, tracing, and logging.
  • Security - CNF containers should be isolated from one another and the host. CNFs are to be verified against any common CVE or other vulnerabilities.

See the Complete Test Documentation for a complete overview of the tests.

Contributing

Welcome! We gladly accept contributions on new tests, example CNFs, updates to documentation, enhancements, bug reports, and more.

Communication and community meetings

Past Presentations

CNTI Test Catalog Demo 2021

Crystal in the Cloud: A cloud native journey at Crystal 1.0 Conference 2021

Implementation overview

The CNTI Test Catalog leverages upstream tools such as OPA Gatekeeper, Helm linter, and Promtool for testing CNFs. The upstream tool installation, configuration, and versioning has been made repeatable.

The test framework and tests (using the upstream tools) are written in the human-readable, compiled language, Crystal. Common capabilities like dependencies between tests and categories are supported.

Setup of vanilla upstream K8s on Equinix Metal is done with the CNF Testbed platform tool chain, which includes k8s-infra, Kubespray. To add support for other providers, please submit a Pull Request to the CNF Testbed repo.

Code of Conduct

The CNTI Test Catalog community follows the CNCF Code of Conduct.

License terms

The CNTI Test Catalog is available under the Apache 2 license.

testsuite's People

Contributors

denverwilliams avatar hashnuke avatar agentpoyo avatar wvwatson avatar taylor avatar thewolfpack avatar williscool avatar lixuna avatar sishbi avatar nupejosh avatar martin-mat avatar xmulligan avatar uditgaurav avatar kosstennbl avatar michaelspedersen avatar svteb avatar collivier avatar sakshamgurbhele avatar horecoli avatar barmull avatar macaktom avatar nsagark avatar smitholi67 avatar jonsy13 avatar petorre avatar electrocucaracha avatar himanshu007-creator avatar haskojur avatar haardikdharma10 avatar clementnuss 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.