Giter Club home page Giter Club logo

Comments (11)

Lawouach avatar Lawouach commented on May 30, 2024

Hi @SidGrundfos

This used to refer to the way the name was used in older versions of Kubernetes. This has changed and recently been updated in the Kubernetes driver. See #53

Generally speaking, use a label selector instead.

This hasn't been released yet but I'm happy to cut a new release this week.

from chaostoolkit-kubernetes.

Lawouach avatar Lawouach commented on May 30, 2024

I'll be moving this to the appropriate repo if you don't mind.

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

But the "name" is mandatory parameter, even if I give the name in "Label_selector" it fails with the same message

from chaostoolkit-kubernetes.

Lawouach avatar Lawouach commented on May 30, 2024

Mmh, it's been a while since I have used that action so my recollection might be a bit blurry. I'll have to try again.

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

image

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

image

from chaostoolkit-kubernetes.

Lawouach avatar Lawouach commented on May 30, 2024

The label selector syntax follows what you'd use in the kubectl command.

So, I would assume:

"arguments": {
    "name": "grundfosgicwmncapi"
}

should work and look for resources that have a label called name. This has changed from 16960b9 (not yet released) where it won't look for a label called name but will look at the metadata itself.

So, if your deployment doesn't expose a specific name: grundfosgicwmncapi label, then with the current release of the extension, it won't find anything indeed.

Once I have released the change, you will not need a specific name label.

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

image

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

How can I make it work with this?

from chaostoolkit-kubernetes.

Lawouach avatar Lawouach commented on May 30, 2024

Add a new label alongside app: ...

name: grundfosgicwmncapi

from chaostoolkit-kubernetes.

SidGrundfos avatar SidGrundfos commented on May 30, 2024

Thanks! It seems to be working

from chaostoolkit-kubernetes.

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.