Comments (5)
Looked a little more in the code and figured that toolkit is currently looking for apis in kube cluster with version apps/v1beta1
as per code here.
Latest version of kubectl accepts only apps/v1
version for the apis.
Is there a recommended version of kubectl in the docs that I should use? Also can we update this to point it to the latest?
from chaostoolkit-kubernetes.
Hello.
I think this may have been fixed in #53 but unreleased yet. I'm happy to do a new release if you could just double check it works with master on your side?
As for the API version, it's a very good call but could this be a different issue as it's a general question :)
from chaostoolkit-kubernetes.
Sure @Lawouach . Can you please point me to the instructions on how I can test it from the master branch? Also as you mentioned, I will go ahead and create another issue for api version.
from chaostoolkit-kubernetes.
Hi @r1sharma, I apologise for not responding earlier.
If you have enough controls over your deployment environment:
1/ pip install pip install git+https://github.com/chaostoolkit/chaostoolkit-kubernetes.git
or
2/ git clone https://github.com/chaostoolkit/chaostoolkit-kubernetes.git
cd chaostoolkit-kubernetes
pip install -e .
from chaostoolkit-kubernetes.
@Lawouach thanks for your response. My changes didn't worked when I took the master branch changes on my local. I had to upgrade the code locally in order to look for Kubernetes API version apps/v1
and later it worked great. I do have changes ready. Will create a PR shortly. Meanwhile opening a separate issue for api version that we discussed earlier.
from chaostoolkit-kubernetes.
Related Issues (20)
- Failed to discover chaostoolkit-kubernetes HOT 1
- `service_is_initialized` should use field_selector when name is provided
- delete_deployment uses an incorrect label_selector due to variable and arg being the same name
- Bug in chaosk8s.statefulset.probes.statefulset_fully_available: V1StatefulSetStatus' object has no attribute 'unavailable_replicas' HOT 2
- Using two different source of truth to filter pods HOT 4
- deny_all_ingress not working HOT 1
- SSL Error - CERTIFICATE_VERIFY_FAILED HOT 3
- Merge terminate_pods and delete_pods to avoid confusion and unnecessary code bloat HOT 1
- Kubernetes delete_pod action is not working HOT 1
- exec_in_pods cannot use space in the command itself HOT 3
- Receiving msg: ConnectionRefusedError: [Errno 111] Connection refused HOT 2
- exec_in_pods fails to parse stderr as json HOT 1
- There is a cmd splitting issue, therefore the shell commands will not parse correctly
- [error] deny-all-ingress is not working
- terminate_pod is not working for OpenShift HOT 4
- exec_in_pods function can not handle pipe operator
- How to get the value for tolerance for all_pods_healthy Steady State Hypothesis probe ? HOT 2
- Link to the documentation in the README is broken HOT 2
- Using Kubernetes extension for Chaos Toolkit as a Kubernetes Operator
- chaostoolkit-kubernetes: Stress memory calls a stress cpu HOT 3
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 chaostoolkit-kubernetes.