Unable to cleanly uninstall my flink deployment CO...
# troubleshooting
p
Unable to cleanly uninstall my flink deployment CONTEXT - Flink kubernetes operator i am trying to uninstall my flinkdeployment but its giving the below errors and not letting me do anything. Its stuck in a deadlock condition. Status of flinkdeployment is RECONCILING , even if i try to delete it gets stuck
k
delete flink related configuration under this Kubernetes resource/object
mutatingwebhookconfigurations
validatingwebhookconfigurations
example
Copy code
$ oc get <http://mutatingwebhookconfigurations.admissionregistration.k8s.io|mutatingwebhookconfigurations.admissionregistration.k8s.io>
NAME                                                 WEBHOOKS   AGE
cert-manager-csf-cert-manager-webhook                1          336d
flink-operator-f1-webhook-configuration              1          32d
flink-operator-flinkoperator-webhook-configuration   1          39d
machine-api                                          2          378d
mutationwebhook.flink.apache.org-s7bn2               1          13d
$ oc get <http://validatingwebhookconfigurations.admissionregistration.k8s.io|validatingwebhookconfigurations.admissionregistration.k8s.io>
NAME                                                 WEBHOOKS   AGE
<http://autoscaling.openshift.io|autoscaling.openshift.io>                             2          378d
cert-manager-csf-cert-manager-webhook                1          336d
cluster-baremetal-validating-webhook-configuration   1          378d
flink-operator-f1-webhook-configuration              1          32d
flink-operator-flinkoperator-webhook-configuration   1          39d
machine-api                                          2          378d
<http://multus.openshift.io|multus.openshift.io>                                  1          378d
<http://prometheusrules.openshift.io|prometheusrules.openshift.io>                         1          378d
<http://snapshot.storage.k8s.io|snapshot.storage.k8s.io>                              1          378d
validationwebhook.flink.apache.org-twl7w             1          13d
in the above result please delete all flink webhook like kubectl delete mutatingwebhookconfigurations <webhook name> kubectl delete validatingwebhookconfigurations <webhook name>
p
sure i will give a try , but one doubt does this impact any existing flink deployment also ? and whether we need to reinstall flink operator again ?
k
Yes it may impact, if it worked without any impact that's cool, or else you need to install operator again
c
which operator version are you using?
p
the operator version used is 1.3.0