wso2 / apk

Official Repository for APK distribution
Apache License 2.0
148 stars 89 forks source link

API deployment not working (APIM 4.3.0 as control plan) #2375

Closed dushansachinda closed 1 month ago

dushansachinda commented 1 month ago

Testing with Rancher 1.11.0

Following document https://apk.docs.wso2.com/en/latest/control-plane/apk-as-gateway-in-apim/apk-as-gateway-in-apim-qsg/

However, not finding API deployed at APK DP

dushan:APK dushan$ kubectl get apis -n apk NAME API NAME VERSION BASEPATH ORGANIZATION AGE apk-wso2-apk-dcr-api dcr-api 1.0.0 /dcr/1.0.0 apk-system 54m apk-wso2-apk-jwks-endpoint-ds-api jwks-domain-service 1.0.0 /.wellknown/jwks/1.0.0 apk-system 54m apk-wso2-apk-oauth-api oauth-api 1.0.0 /oauth2/1.0.0 apk-system 54m apk-wso2-apk-wso2-apk-config-deployer-api WSO2 APK Config Deployer API 1.1.0 /api/deployer/1.1.0 apk-system 54m apk-wso2-apk-wso2-apk-config-generator-api WSO2 APK Config Generator API 1.1.0 /api/configurator/1.1.0 apk-system 54m apk-wso2-apk-wso2-apk-notification-api WSO2 APK Notification API 1.0.0 /api/notification/1.0.0 apk-system 54m apk-wso2-apk-authentication-endpoint-ds-api authenticationEndpoint-domain-service 1.0.0 /authenticationEndpoint/1.0.0 apk-system 54m apk-wso2-apk-commonoauth-api commonoauth-api

default namespace not showing anything

CrowleyRajapakse commented 1 month ago

Hi, Can you attach full agent logs? this is to verify the agent mode:CPtoDP and other connection logs with regards to APIM and APK with agent.

Thanks, Sampath

CrowleyRajapakse commented 1 month ago

This issue got resolved, it was due to the conflict of running DP to CP instead of CP to DP agent.