By: Antti Varjoinen user 19 Aug 2020 at 12:33 a.m. CDT

3 Responses
Antti Varjoinen gravatar
Following minikube installation installation instruction in https://github.com/GluuFederation/gluu-docker/tree/3.1.6/examples/kubernetes/minikube fails when running following command: kubectl apply -f opendj-init.yaml Output is: configmap/opendj-init-cm created service/opendj created error: unable to recognize "opendj-init.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2" This is due to Kubernetes API version mismatch on current minikube environments. The file (https://github.com/GluuFederation/gluu-docker/blob/3.1.6/examples/kubernetes/minikube/ldap/opendj-init.yaml) should set correct version for Kubernetes from this: apiVersion: apps/v1beta2 kind: StatefulSet to this: apiVersion: apps/v1 kind: StatefulSet

By Mohib Zico Account Admin 19 Aug 2020 at 1:29 a.m. CDT

Mohib Zico gravatar
@Mohammad.Abudayyeh: what do you think?

By Mohammad Abudayyeh staff 19 Aug 2020 at 8:50 a.m. CDT

Mohammad Abudayyeh gravatar
Yes this is an old version and likely outdated compared to latest kubernetes. Is there any reason why you are installing 3.1.6 ? Can you follow the docs here please https://gluu.org/docs/gluu-server/4.2/installation-guide/install-kubernetes/.

By Antti Varjoinen user 19 Aug 2020 at 9:04 a.m. CDT

Antti Varjoinen gravatar
Hi, I took the default branch from the repo and used it. There is no other reason. I just wanted to setup Gluu for evaluation/testing purposes. I can check the documentation you linked.