Skip to content

createpod chain element should delete the pod if container with nse is done #366

@denis-tingaikin

Description

@denis-tingaikin

currently createpod chain element doesn't support a case when nse container is stopping, but other containers in the supplied pod are still running.

For this case we should delete the pod.

Usecase

  1. change scale from zero example
  2. add to template additional container (for example alpine)
  3. run the example (scale from zero)
  4. delete nsc

actual: created pod is not deleting.
expected: created pod is deleting.

Potential fix

Check here https://github.com/networkservicemesh/sdk-k8s/blob/main/pkg/networkservice/common/createpod/server.go#L181 that added nse container is done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions