arheom opened a new issue, #1116: URL: https://github.com/apache/camel-karavan/issues/1116
I am having a very strange issue with jkube yaml files. I have 2 projects, both with deployment.jkube.yaml and ingress.jkube.yaml files. One project is detecting and loading them, one not. And I am trying to understand why is happening. My system is kubernetes. The build logs for the one which works: ``` [INFO] k8s: Using resource templates from /karavan/code/test-project/src/main/jkube [INFO] k8s: jkube-service: Adding a default service 'test-project' with ports [80:8080] [INFO] k8s: jkube-service-discovery: Using first mentioned service port '80' [INFO] k8s: jkube-revision-history: Adding revision history limit to 2 [INFO] k8s: validating /karavan/code/test-project/target/classes/META-INF/jkube/kubernetes/karavan-test-project-serviceaccount.yml resource [INFO] k8s: validating /karavan/code/test-project/target/classes/META-INF/jkube/kubernetes/test-project-deployment.yml resource [INFO] k8s: validating /karavan/code/test-project/target/classes/META-INF/jkube/kubernetes/test-project-service.yml resource [INFO] k8s: validating /karavan/code/test-project/target/classes/META-INF/jkube/kubernetes/karavan-ingress-integration-test-project-ingress.yml resource [INFO] [INFO] --- k8s:1.15.0:apply (default-cli) @ test-project --- [INFO] k8s: Using Kubernetes at https://172.20.0.1:443/ in namespace karavan with manifest /karavan/code/test-project/target/classes/META-INF/jkube/kubernetes.yml [INFO] k8s: Deleting ServiceAccount: karavan-test-project [INFO] k8s: Creating a ServiceAccount in karavan namespace with name karavan-test-project from kubernetes.yml [INFO] k8s: Created ServiceAccount: target/jkube/applyJson/karavan/serviceaccount-karavan-test-project.json [INFO] k8s: Deleting Service: test-project [INFO] k8s: Creating a Service in karavan namespace with name test-project from kubernetes.yml [INFO] k8s: Created Service: target/jkube/applyJson/karavan/service-test-project.json [INFO] k8s: Deleting Deployment: test-project [INFO] k8s: Creating a Deployment in karavan namespace with name test-project from kubernetes.yml [INFO] k8s: Created Deployment: target/jkube/applyJson/karavan/deployment-test-project.json [INFO] k8s: Creating a Ingress in karavan namespace with name karavan-ingress-integration-test-project from kubernetes.yml [INFO] k8s: Created Ingress: target/jkube/applyJson/karavan/ingress-karavan-ingress-integration-test-project.json [INFO] k8s: HINT: Use the command `kubectl get pods -w` to watch your pods start up ``` The build logs for the one which does not work: ``` [INFO] k8s: Using resource templates from /karavan/code/apply-template/src/main/jkube [INFO] k8s: jkube-controller: Adding a default Deployment [INFO] k8s: jkube-service: Adding a default service 'apply-template' with ports [80:8080] [INFO] k8s: jkube-service-discovery: Using first mentioned service port '80' [INFO] k8s: jkube-revision-history: Adding revision history limit to 2 [INFO] k8s: validating /karavan/code/apply-template/target/classes/META-INF/jkube/kubernetes/apply-template-service.yml resource [INFO] k8s: validating /karavan/code/apply-template/target/classes/META-INF/jkube/kubernetes/apply-template-deployment.yml resource [INFO] [INFO] --- k8s:1.15.0:apply (default-cli) @ apply-template --- [INFO] k8s: Using Kubernetes at https://172.20.0.1:443/ in namespace karavan with manifest /karavan/code/apply-template/target/classes/META-INF/jkube/kubernetes.yml [INFO] k8s: Deleting Service: apply-template [INFO] k8s: Creating a Service in karavan namespace with name apply-template from kubernetes.yml [INFO] k8s: Created Service: target/jkube/applyJson/karavan/service-apply-template.json [INFO] k8s: Deleting Deployment: apply-template [INFO] k8s: Creating a Deployment in karavan namespace with name apply-template from kubernetes.yml [INFO] k8s: Created Deployment: target/jkube/applyJson/karavan/deployment-apply-template.json [INFO] k8s: HINT: Use the command `kubectl get pods -w` to watch your pods start up ``` Any idea? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org