Comments (7)
Great :) glad i could help
from kube-slack.
from kube-slack.
I'm not sure I understand the question right. Are you having problem with ignore-pod or the whole system never worked?
Could you post your kube-slack env options?
from kube-slack.
i'm having problems with the whole system.
i don't use the "ignore-pod" feature...
but node-slack log is showing the above error anyway.
Have you been able to deploy release 3.2.0 ?, is it working for you ?
from kube-slack.
Can you please post your deployment manifest?
from kube-slack.
Its a copy of the example in your README file (nothing spacial):
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kube-slack
namespace: kube-system
spec:
replicas: 1
revisionHistoryLimit: 3
template:
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
name: kube-slack
labels:
app: kube-slack
spec:
serviceAccountName: kube-slack
containers:
- name: kube-slack
image: willwill/kube-slack:v3.2.0
env:
- name: SLACK_URL
value: [SOME_SLACK_URL_OF_MY_COMPANY]
resources:
requests:
memory: 30M
cpu: 5m
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- key: CriticalAddonsOnly
operator: Exists
from kube-slack.
@omerozery thanks for reporting this issue. It turned out to be that the Kubernetes API omits the annotations
object if the Pod doesn't have any annotations (which makes sense). This raised a TypeError
because the code was trying to access a undefined
value as an object.
from kube-slack.
Related Issues (20)
- Drain support HOT 1
- Proxy setting to reach slack webhooks. HOT 10
- Use kubernetes-client promise
- Add support of global kube-slack channel configuration. HOT 5
- Sometimes PostStartHookError message is "" even though the event has a error log HOT 2
- Feature Request - Option of Slack Username HOT 6
- Getting cert error when pod starting HOT 2
- kube-slack can mix-up different pods if they have same label HOT 2
- "Container entered status *Running*" in the wrong channel HOT 3
- Lots of errors when upgrading to 4.0.1 HOT 5
- Logs are not forwarded by fluent-bit by default HOT 5
- Posting to different channels per pod with newer Slack APIs HOT 2
- helm chart not upto date HOT 1
- feature request: to watch only pods with set pod annotation
- Feature Request: Allow to configure the different username for slack notifications
- No Message during Deployment
- Directed Slack Notifications
- Configuration property "slack_username" is not defined HOT 2
- kube-slack/ignore-pod annotation does not work if you set an empty string as value.
- Pod Security Policy compliant: runAsNonRoot 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 kube-slack.