pipe-cd / pipe-cd/pipecd

When changing the namespace, the workload remains in the old namespace

Open
#5,213 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fix-on-pipedv1 kind/bug
Dominant language
Go
Stars
1.4k
Forks
364
Avg merge
1d 4h
Merged PRs (30d)
84

Description

What happened:

When changing the namespace, the workload remains in the old namespace.

Change_ns_to_test2_by_ffjlabo_·Pull_Request__227·_ca-dp_ffjlabo-dev (1)

ca-tech-pipecd-support__Channel__-_CyberAgent_-_1_new_item_-_Slack

before

% kubectl get deployment -n test simple-hoge                                                               
NAME          READY   UP-TO-DATE   AVAILABLE   AGE
simple-hoge   2/2     2            2           12m

after

% kubectl get deployment -n test2 simple-hoge                                                             
NAME          READY   UP-TO-DATE   AVAILABLE   AGE
simple-hoge   2/2     2            2           7m8s

What you expected to happen:

It would be nice to delete the old resource successfully.

How to reproduce it:

Environment:

  • piped version:
  • control-plane version:
  • Others:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the namespace change described in the issue with kubectl, comparing the workload in test and test2 before and after the change. Investigate the workload reconciliation and deletion path, then verify that the old resource is deleted successfully after changing namespaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.