Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Ingress (service and co.) #1043

Closed
mgvazquez opened this issue May 11, 2018 · 8 comments
Closed

Delete Ingress (service and co.) #1043

mgvazquez opened this issue May 11, 2018 · 8 comments
Assignees

Comments

@mgvazquez
Copy link

After create an Ingress by error, I don't have any way to delete it.
If I delete the Service (Ingress created by error), the Voyager Controller will recreate it again.

Is it a bug or I'm doing it wrong? I searched in the docs, but could't find a clue.

My Voyager version is 6.0.0

PD: Sorry for my bad English.

@mgvazquez mgvazquez changed the title Delete service (Ingress) Delete Ingress (service and co.) May 11, 2018
@tamalsaha
Copy link
Contributor

Find the ingress you created and delete that.

kubectl get ingress.voyager.appscode.com --all-namespaces
kubectl delete ingress.voyager.appscode.com -n <namespace> <ing-anme>

@tamalsaha tamalsaha self-assigned this May 11, 2018
@tamalsaha
Copy link
Contributor

Fixed, as confirmed on slack. Closing.

@nanthanwa
Copy link

nanthanwa commented Sep 15, 2018

I try to delete ingress name test-ingress

$kubectl get ingress.voyager.appscode.com --all-namespaces
NAMESPACE   NAME           AGE
default     test-ingress   1h
$kubectl delete ingress.voyager.appscode.com test-ingress
ingress.voyager.appscode.com "test-ingress" deleted

but the last command didn't return exit (stuck on message ingress.voyager.appscode.com "test-ingress" deleted) I need to cancel by ctrl+c

and when I get ingress again, the ingress that I deleted showing up again

@qiangli
Copy link

qiangli commented Dec 9, 2018

as of today Dec 8, 2018, this issue seems still not fixed.

@bfalese-navent
Copy link

Same problem here, can not delete a voyager ingress, keeps respawning.

@tamalsaha
Copy link
Contributor

@qiangli , @bfalese-navent , do you have any bad ingress that is throwing error? The OP had a badly formatted json as Ingress which broker the Voyager controller. You should be able to identify this from the voyager operator logs? You can talk to me via our slack channel https://slack.appscode.com/

@thorro
Copy link

thorro commented Jan 15, 2019

It got stuck on delete here, too, because of bad config given, no help even with --grace-period=0 --force.

I then did a replace on ingress.voyager.appscode.com object and it got replaced succesfully, then it deleted instantly.

@dperetti
Copy link

dperetti commented Feb 2, 2019

Voyager v.8, same issue, can't get rid of the ingress from the example. Anything I try to delete is recreated. Ended up uninstalling voyager, and now I'm still having this a ingress.voyager.appscode.com/test-ingress that is still there after a force deletion !?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants