Giter VIP home page Giter VIP logo

Comments (7)

omerozery avatar omerozery commented on August 22, 2024 1

Great :) glad i could help

from kube-slack.

whs avatar whs commented on August 22, 2024

@chribsen

from kube-slack.

whs avatar whs commented on August 22, 2024

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.

omerozery avatar omerozery commented on August 22, 2024

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.

chribsen avatar chribsen commented on August 22, 2024

Can you please post your deployment manifest?

from kube-slack.

omerozery avatar omerozery commented on August 22, 2024

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.

chribsen avatar chribsen commented on August 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.