kubernetes-apim
kubernetes-apim copied to clipboard
API-M Analytics pods are not started
Currently, with Kubernetes v1.8.0 API-M Analytics pods do not get started because of apim-analytics-1-conf-analytics and apim-analytics-2-conf-analytics configmap volumes not being created as they do not contain any config files:
going to change ownership of <ANALYTICS_HOME>/repository/data directory:
user: root
user home: /home/wso2user
carbon server: wso2am-analytics-2.1.0
cp: cannot stat '/home/wso2user/wso2am-analytics-2.1.0-conf/conf-analytics/*': No such file or directory
[1] https://github.com/wso2/kubernetes-apim/blob/master/base/analytics/init_carbon.sh#L88 [2] https://github.com/wso2/kubernetes-apim/blob/master/pattern-1/artifacts/apim-analytics/wso2apim-analytics-1-deployment.yaml
This is now fixed in pull request #63