Git Product home page Git Product logo

Comments (1)

chaosblade-bot avatar chaosblade-bot commented on May 23, 2024

Hi @sunny0826, we detect non-English characters in the issue. This comment is an auto translation from @chaosblade-bot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.

Can't stop k8s experiment correctly

Issue Description

Type: bug report

Describe what happened (or what feature you want)

./blade create k8s delete --pod <podname>  --namespace <namespace>
{"code":200,"success":true,"result":"9673223f227275fe"}

After creating a chaotic experiment - deleting the pod, stop the chaos experiment

./blade destroy 9673223f227275fe
{"code":604,"success":false,"error":"Error from server (NotFound): pods \"<podname>\" not found\n exit status 1"}

Stopping the chaos experiment failed and could not find the pod. The reason is that the pod has been deleted, and it is not the original podname after the restart.

Describe what you expected to happen

The chaos experiment should be stopped normally. Although the pod has been deleted correctly, and the new pod has been successfully started, the lab is successful overall, but the experiment cannot be stopped normally. It is very difficult for people with code obsessive-compulsive disorder. .
It is recommended to verify that the pod is restarted and ignore the last five digits of the hash code.

How to reproduce it (as minimally and precisely as possible)

  1. ./blade create k8s delete --pod --namespace
  2. ./blade destroy

Tell us your environment

MacOS,kubectl v1.13.0

Anything else we need to know?

from chaosblade.

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.