Comments (9)
@sathiyajith I don't know if authentication was ever implemented. I don't see it in the code. It could be part of the webhook URL.
Maybe @GaruGaru knows more about it?
from chaoskube.
@linki, Can you please tell me how to give the Authentication Bearer token to push messages to slack?
from chaoskube.
@linki Yeah, I too am doubtful. Simple curl command like : curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/XXXX
seems to work fine. But, when I give the same webhook url here, I get this context deadline error. So, I thought we should give OAuth token as well in headers.
from chaoskube.
@sathiyajith Your error context deadline exceeded (Client.Timeout exceeded while awaiting headers)
doesn't look related to an incorrect authentication (which shouldn't be needed for webhooks), more likely you are experiencing a timeout on the http request.
That looks like some connectivity issue either by your side or server side problem to me.
Can you try to call the same url on the same instance where the chaoskube is running ?
from chaoskube.
Okay. I tried the curl command in the same instance in which chaoskube is running. It is working.
from chaoskube.
Are you running chaoskube inside kubernetes or on a vm ? Are the dns resolution and networking working correctly ? Do you have any NetworkPolicy
that may be creating issues ?
I'll make some tests and i'll let you know
from chaoskube.
Im running in kubernetes only. Networking is working fine. But I guess, this error is clearly because of something from my side kubernetes. Does cert-manager, MutatingWebhookConfiguration cause a problem? Because I have deployed them for other purpose. Can we please discuss this in any slack channel?
from chaoskube.
Can confirm that everything is working correctly on my side. I don't know if there is any slack channel for this project ( @linki ).
To my understanding of this project those services should be interfere but @linki may know better.ì
from chaoskube.
Okay, thanks. I will check from my side. I will close this issue too.
from chaoskube.
Related Issues (20)
- Node termination support?
- Add support for terminating multiple pods within a topology
- kinds argument available? HOT 1
- Add flag to stop chaoskube after a given time HOT 1
- Helm chart on Kubeapps is not available HOT 18
- Action Required: Fix Renovate Configuration
- maxKill functionality not working using helm chart HOT 1
- Makefile fails HOT 1
- Pod termination timestamp HOT 1
- Dependency Dashboard
- Bug with gracePeriod conversion HOT 3
- [FEATURE] Kill only pods which do have more then 1 sibling replica HOT 2
- Cannot disable dry run HOT 4
- Envar support HOT 3
- Switch to multi-arch docker image HOT 2
- Chaoskube does not kill pods and cannot target the chaoskube to specific namespaces HOT 1
- Failed to start HTTP server HOT 2
- [bug or feature?] pod being killed continuously HOT 6
- Log output error: json: error calling MarshalJSON for type time.Time HOT 2
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 chaoskube.