Comments (4)
I suggest slightly more complex approach that will test simple end user lifecycle
- Deploy all requirements (cert-manager etcd)
- Deploy operator and its CRD
- Create kind:EtcdCluster with some simple settings
- Wait until ready
- Delete kind:EtcdCluster
- Delete operator
- Check that all resources was cleaned up
from etcd-operator.
I suggest slightly more complex approach that will test simple end user lifecycle
- Deploy all requirements (cert-manager etcd)
- Deploy operator and its CRD
- Create kind:EtcdCluster with some simple settings
- Wait until ready
- Delete kind:EtcdCluster
- Delete operator
- Check that all resources was cleaned up
I don't quite get how installation/deletion of operator tests any operator functionality...
I don't think it should be in the test itself, from my perspective it's just a pre-requisite for running tests (for me it makes no sense to install/remove operator several times in scope of tests)...
from etcd-operator.
As a start case, it would be nice to implement a simple upscale test:
Deploy a minimalistic CR with replicas count as a 3, after that - check that the deployment was successful.
After a successful check for 3 replicas deployment, upscale replicas count to 5 and repeat cluster health check.
After all - delete CR.
from etcd-operator.
I think that installation and deinsallation of operator can take place, but not with golang tests. Let's make it separate: test of operator functionality and tests of helm chart.
from etcd-operator.
Related Issues (20)
- Design and implement RBAC switcher HOT 1
- [epic] etcd cluster management
- Optimize quotas requests/limits for CPU and memory by default HOT 8
- [feat] Majority failure recovery
- Disable development logger
- Roadmap
- Enable resize operation
- Automatically set `quota-backend-bytes` option to 95% from requested size:
- kubectl plugin HOT 1
- Unable to create etcd cluster with EmptyDir storage
- Add defrag CronJob HOT 5
- Enable autocompaction HOT 3
- Implement e2e autotests with zero downtime check
- Refactor volumes/secrets attachment
- Implement k8s version matrix in e2e tests HOT 1
- Fix logging system issues
- Guess etcd replicas number function HOT 6
- Enable PDB by default
- Implement sorting for extra Keys
- Research Backup & Restore from etcd-druid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from etcd-operator.