wso2 / kubernetes-apim

Kubernetes and Helm resources for WSO2 API Manager
Apache License 2.0
112 stars 216 forks source link

can't install with provided instructions... please help... #562

Closed etiquet closed 1 year ago

etiquet commented 1 year ago

Description: used wso2 successfully in deployements in past life on VMs or Docker-compose. Need to switch to kubernetes as the primary execution plateforme, need to run on multiple configuration, k3s, openshift, and so on. At this stage need to demo it on GA version.

Just spend a couple of day to install the simple wso2 following instructions. First tried to install it on K3S (arm)... failed with the nfs provider. Then... tried to install it on docker desktop minikube.... failed again... require an obsolete version of nginw controler that I don't know how to install. Tried with the current version of nginx... the request does not responds. ( amend the /etc/hosts as instructed ) Guys I am ready to help to adapt the script by I need at least a working ground...

Steps to reproduce: k3s: raspberry pi4 latest software + k3s standard install on multiple nodes. docker destop : macbook intel proc with docker destop basic install. ( add the portainer stuff to get better view )

To reproduce : just follow the documentation without a wso2 subscription. ( used the git clone approach )

kubectl get ing -n apim-wso2 NAME CLASS HOSTS ADDRESS PORTS AGE wso2am-single-node-am-gateway-ingress gateway.am.wso2.com localhost 80, 443 53m wso2am-single-node-am-ingress am.wso2.com localhost 80, 443 53m wso2am-single-node-am-websub-ingress websub.am.wso2.com localhost 80, 443 53m** got the following msg from browser

Ce site est inaccessibleIl se peut que la page Web à l'adresse https://am.wso2.com/publisher soit temporairement inaccessible ou qu'elle ait été déplacée de façon permanente à une autre adresse Web. ERR_SSL_UNRECOGNIZED_NAME_ALERT added entry to /etc/hosts/ , same effect if replacing with the external ip of the mac 127.0.0.1 websub.am.wso2.com gateway.am.wso2.com management.mi.wso2.com am.wso2.com

Tried to change the nginx with 0.30 version... did'not succeed on that...

What am I doing wrong ? please help.

etiquet commented 1 year ago

Hello everyone, finally fix it by fully flushing everything. (stuff you can't do in production :) ). There might have be some zombies process or configuration in the docker desktop kube limitating the installing process at some point. This chart is quite rich for the humble user which is not a wso2 or kube expert, there are few harcoded stuff (nginx, nfs etc... ) that might be very nice to remove.

etiquet commented 1 year ago

Hello everyone, finally fix it by fully flushing everything & reinstalling. (stuff you can't do in production :)