Skip to content

feat: add cleanup for kubernetes dev env #59

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged

Conversation

kfirtoledo
Copy link

Add cleanup instructions for DEPLOYMENT.md for the development environment

@kfirtoledo kfirtoledo requested review from shaneutt and elevran April 24, 2025 14:57
Copy link
Collaborator

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

```sh
make clean.environment.dev.kubernetes
```

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> **Warning**: This cleanup doesn't remove any custom pull `Secrets` you may have added. If you are
> done with this environment, you may want to remove those manually as well.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Makefile Outdated
# ------------------------------------------------------------------------------
.PHONY: clean.environment.dev.kubernetes
clean.environment.dev.kubernetes: check-kubectl check-kustomize check-envsubst
ifndef NAMESPACE
$(error "Error: NAMESPACE is required but not set")
endif
@echo "INFO: deleting namespace $(NAMESPACE)"
kubectl delete namespace $(NAMESPACE)
@echo "INFO: deleting namespace dev environments from $(NAMESPACE)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@echo "INFO: deleting namespace dev environments from $(NAMESPACE)"
@echo "INFO: cleaning up dev environment in $(NAMESPACE)"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you might need to push, I can't see any updates?

@kfirtoledo
Copy link
Author

@shaneutt, done with all the fixes.

Signed-off-by: Kfir Toledo <kfir.toledo@ibm.com>
Copy link
Collaborator

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shaneutt shaneutt merged commit ffeda3d into neuralmagic:dev Apr 24, 2025
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants