Open superlee007 opened 5 years ago
I delete all the volume and re-deploy wso2-apim, and I found that wso2apim-with-analytics-apim
always exit abnormally at the first start up, and when it restart the error like above saying appears.
I gress that may be it is because of the livenessProbe
in kubernetes-apim/helm/pattern-1/apim-with-analytics/templates/wso2apim-deployment.yaml
,so I
comment out the code
livenessProbe:
exec:
command:
- /bin/sh
- -c
- nc -z localhost 9443
initialDelaySeconds: 150
periodSeconds: 10
and then delete all the pv and re-deploy, it works well.
Description: I have some troubles while deploy apim by helm in kubernetes.
Affected Product Version: 2.6.0
OS, DB, other environment details and versions:
Steps to reproduce:
kubernetes-apim/helm/pattern-1/apim-with-analytics/templates/persistent-volumes.yaml
because of we already have a nfs in kubernetes environment.kubernetes-apim/helm/pattern-1/apim-with-analytics/templates/wso2apim-volume-claim.yaml
/kubernetes-apim/helm/pattern-1/mysql/values.yaml
however the server
wso2apim-with-analytics-apim-deployment-8876c9c55-6xf4m
can not start up and always restart.the error info :
WARN - ApplicationManagementServiceComponent Templates directory not found at /home/wso2carbon/wso2am-2.6.0/repository/resources/identity/authntemplates
WARN - BlockingConditionRetriever Failed retrieving Blocking Conditions from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds...
WARN - KeyTemplateRetriever Failed retrieving throttling data from remote endpoint: Connection refused (Connection refused). Retrying after 15 seconds...
WARN - AppDeployerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
WARN - StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
2.error
so, what is wrong with it, thanks!