--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-development+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/cce065eb-f493-42a7-971f-5012dfebb3d1n%40googlegroups.com.
On 7 May 2023, at 5:49 PM, Daniele Zonca <dzo...@redhat.com> wrote:
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/CAPpKWi4y2rAV%3DyH-gABOGqx0LSb%2BQg0JE2VN54n4wjqfhM7haA%40mail.gmail.com.
Thanks, I’ll give that a try. I stopped using the CLI as the Kogito operator doc (https://github.com/kiegroup/kogito-operator/blob/main/docs/GUIDE_FOR_KOGITO_DEVS.md) guided me away from it
“ While deploying via CLI is somewhat convenient, deploying via image/YAML is the recommended method of deployment and the only available method if you are using minikube.”
But I guess that doesn’t mean it doesn’t work for deletion.On 7 May 2023, at 5:49 PM, Daniele Zonca <dzo...@redhat.com> wrote:
Hi,Are you removing the K8s Deployment directly?As far as I remember Kogito CLI creates multiple CR (see this example https://github.com/kiegroup/kogito-examples/blob/stable/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml ) and the actual Kogito application is usually represented by a KogitoRuntime CR. When this resource is created the Kogito Operator is triggered and does all the necessary action to the run the application (create Deployment but maybe also ConfigMap etc).If you directly remove one of the child resources (i.e. the deployment) the reconciliation loop of the operator is going to recreate it because the desired state is still represented in the cluster (aka KogitoRuntime resource describes the expectation to have a Kogito application running).My suggestion is to use the Kogito CLI also to remove the service or check at least all the resources in the namespace to see what is going on.You can use for example the tree plugin (https://github.com/ahmetb/kubectl-tree) to help checking resource relationship/ownership.If you are already removing the KogitoRuntime CR and you are getting the problem please share the steps to reproduce the issue so it is easier to provide more advises :)Daniele
Hi,I'm not sure if this is a Kogito operator issue or kubernetes / Minikube. I followed the instructions on the Kogito Operator dev page to use the CLI to deploy kogito into Kubernetes / MiniKube. All is fine until I try to delete my deployment.kubectl delete completes succesfully.However, when I check, the deployment is still there or rather it seems to be a new deployment. I can successfully delete other non-Kogito deployments.--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/cce065eb-f493-42a7-971f-5012dfebb3d1n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/CAPpKWi4y2rAV%3DyH-gABOGqx0LSb%2BQg0JE2VN54n4wjqfhM7haA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/C25B64A8-CFEC-493B-8FBC-0693852CAAC0%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/CAOp2QgFXGQgUG3A27iJ3LP%3DH-qDy85i6rv3b4ViKtg4Z%2BvXhtg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/a379eb7b-0bc7-5ae8-92ce-30f9231e84ae%40gmail.com.