Skip to content

snapp-incubator/operators-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Operators Test

This repository contains a set of tests for evaluating Kubernetes operators during the upgrade process. The tests cover various aspects of operator functionality and best practices.

Overview

Updating a Kubernetes operator in a production environment can be challenging, especially when users have created objects managed by it. The deployment of a new operator version might lead to application crashes during reconciliation due to incompatible Custom Resource Definitions (CRDs), risky rollouts, and other issues. To prevent such negative impacts on the objects, we have developed a comprehensive set of tests for various Kubernetes operators. These tests ensure that the upgrade process proceeds smoothly and as expected.

Prerequisites

  • Kubernetes cluster (version 1.23 or higher)
  • KUTTL v0.14.0 or higher

Running the Tests

  1. Clone the repository
  2. Run kubectl kuttl test path/to/operator-folder

License

This project is licensed under Apache 2.0.

About

Tests for operators to automate upgrade validation procedure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published