Skip to content
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

Helm Fails To install Fusion Platform On Minikube #196

Open
razilevin opened this issue Oct 4, 2021 · 1 comment
Open

Helm Fails To install Fusion Platform On Minikube #196

razilevin opened this issue Oct 4, 2021 · 1 comment

Comments

@razilevin
Copy link

Failed to install the fusion platform on minikube

fusion-platform: 5.4.0
minikube: v1.23.0
k8s: 1.22.1

Command used to install fusion platform
./minikube_fusion-platform_fusion_upgrade_fusion.sh

Error
Error: failed to install CRD crds/seldon-core-operator-crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1

Please note that in the version of k8s that minikube uses by default does not support this API version
customresourcedefinitions crd,crds apiextensions.k8s.io/v1 false CustomResourceDefinition

Thank You

@razilevin
Copy link
Author

After further tweaks,

Many of these fixes might be just because I am not familiar with the chart or a different version of kubernetes as the default for minikube is 1.22.x does not work.

Maybe this helps someone...

This will bring up kubernetes with a version that allows the installation to complete.
minikube start -p fusion-platform --cpus=4 --memory=16g --nodes=1 --kubernetes=1.20.0

Add the following to your values.xml
securityContext: fsGroup: 1337 runAsUser: 1337

since the default 8993 does not work.

Run your generated script

After 15 minutes or so....

You will need to fix the role binding to include a new API Group for these rules. The rule is named
fusion-ambassador namespace the namespace you installed your chart

 - verbs:
      - get
      - list
      - watch
    apiGroups:
      - extensions
      - networking.k8s.io
    resources:
      - ingresses
  - verbs:
      - update
    apiGroups:
      - extensions
      - networking.k8s.io
    resources:
      - ingresses/status`

Delete the ambassador pod so it gets recreated with the new role binding

Run minikube -p fusion-platform service list to get the ip/port of proxy

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

No branches or pull requests

1 participant