Could not get SNR installed correctly with Vanilla K8S

14 views
Skip to first unread message

Hai Wu

unread,
Oct 7, 2024, 1:35:36 PM10/7/24
to medik8s
I tried to use helmify to convert SNR to a helm chart to be installed with vanilla k8s, which failed the same. I also tried the following deploy steps:

make install; make deploy

Already uncommenting lines related to certmanager/webhook, and adding following lines for 'config/crd/patches/webhook_in_selfnoderemediationconfigs.yaml', 'config/crd/patches/webhook_in_selfnoderemediations.yaml', 'config/crd/patches/webhook_in_selfnoderemediationtemplates.yaml':

+      conversionReviewVersions:
+        - v1

I could see SNR got its certificate from cert-manager without issue in its logs.

Both paths failed with the same error where the manager pod always keeps failing with its readyz check for port 8081.

If installing SNR via installing NHC operator using OLM on vanilla k8s cluster, then that works.

What else is missing to get SNR operator installed ok on vanilla k8s without using OLM? 

Thanks,
Hai

Marc Sluiter

unread,
Oct 9, 2024, 3:53:47 AM10/9/24
to Hai Wu, medik8s
Currently OLM is the only supported install method.
We are open to contributions for other methods, Helm was requested earlier, but we don't have the resources to work on it ourselves.

If you share logs or other details about the failed deployment, we can have a quick look at it, maybe it rings a bell...

BR, Marc


--
You received this message because you are subscribed to the Google Groups "medik8s" group.
To unsubscribe from this group and stop receiving emails from it, send an email to medik8s+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/1e23894e-c632-41ae-883a-183b9150af7cn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hai wu

unread,
Oct 10, 2024, 12:47:48 AM10/10/24
to Marc Sluiter, medik8s
Thanks Marc. Just got this to work it seems.

The file config/default/manager_webhook_patch.yaml in the SNR project
is wrong. It needs to be the same as the one in the NMO project.
> You received this message because you are subscribed to a topic in the Google Groups "medik8s" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/medik8s/u1W6r6hb9fc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to medik8s+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/CAH5Q-kVVv%3D9bz4RoCAKCWqaNgj-eHZeLK5GOD3f2e7YmKAu2mQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages