Hi CDAP Users,
I'm trying to install CDAP on Kubernetes using cdap-operator but
having some challenges. I'm using following resources as references.
I'm trying this on my local system with following setup
1. cdap-operator fails to start when build from latest develop branch
When I deploy manager.yaml pod will not start due to error
After changing runAsNonRoot in manager.yaml to false get past above error but then livenessProbe and readinessProbe fail and pod does not remain in running state
I'm I missing some step?
controller:latest has not been updated in long time so maybe that's problem?
2. pipeline studio and few other pods not getting created
After removing livenessProbe and readinessProbe from manager.yaml I
was able to create cluster with 6.7.1 and latest CDAP builds.
When accessing CDAP UI I noticed that not all services were created. Following show up as red in System Admin UI and I don't see any corresponding pods created in Kubernetes
When using Pipeline Studio UI it shows errors with pipeline studio service communication (expected as service is not created).
Is there some configuration that could be missing and these services not getting created?
See list of pods that are getting started below in setup steps.
3. Up to date details on CDAP on Kubernetes, configurations, roadmap, etc
While looking through and trying out referenced instructions they look to be out dated, for example sample YAMLs in CDAP documentation do not work as they are referencing to older API versions.
There is also section about limitations and not sure that applies anymore?
I also see that cdap-operator project is in alpha and not much activity in git repository, is there plans to move this to stable release?
Is there any more detailed documentation on cdap-operator and CDAP
configuration with operator (reading through 40k+ long YAML or template
files is hard)?
Details on setup steps I have followed
This creates following CDAP resources in Kubernetes
NAMESPACE NAME READY STATUS RESTARTS AGE
Thanks for your help. Tuomas
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/4edecd34-bb17-4e8b-a735-66a6cc18dd8an%40googlegroups.com.
Thanks for the info Arjan.
I was able to create working setup following Confluence Docs with Kubernetes 1.21 version.
With some local changes I was also able to get working setup following CDAP in Kubernetes Deployment Guide with Kubernetes 1.24 version
Issue with Pipeline Studio pod not starting was related to
pipeline jar artifact not being available in HDFS. It was not
automatically uploaded, likely because something was not
consistent in postgres db and hdfs, after resetting db and hdfs it
started working. I was able to find info in Fabric logs to help in
debugging this.
If there is some more detailed system and configuration document
would be great to read though it. I was able to find some
configuration options, like changing master kubernetes namespace,
in
https://github.com/cdapio/cdap/blob/develop/cdap-kubernetes/src/main/java/io/cdap/cdap/master/environment/k8s/KubeMasterEnvironment.java
- Tuomas
You received this message because you are subscribed to a topic in the Google Groups "CDAP User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cdap-user/U3SrPdPO0MU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cdap-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAL7ZupD8GTh1L930TSXz2bGcDzoWTOO20iA1itcPczyeF3K1oA%40mail.gmail.com.