Hello , i'm working to deploy datahub on k8s using...
# all-things-deployment
m
Hello , i'm working to deploy datahub on k8s using HelmRelease , i've successfully deployed the prerequisites and got an error while deploying datahub
Copy code
Warning  FailedReleaseSync  5s (x2 over 27s)  helm-operator  synchronization of release 'datahub-frontend' in namespace 'datahub' failed: installation failed: template: datahub-frontend/templates/deployment.yaml:118:12: executing "datahub-frontend/templates/deployment.yaml" at <include "datahub-jmxexporter.container" .>: error calling include: template: no template "datahub-jmxexporter.container" associated with template "gotpl"
e
interesting. what are you using to do deploy?
Seems like if the subchart is not defined in Chart.yaml, it doesn’t read it. jmx-exporter subchart is currently not included in Chart.yaml.
If this is true, I have can send out a fix!
m
it is ok
i resolved 2 problems
my pods are up and running now
i downgrade the version from v0.8.1 to v0.8.0
because of this bug `
Copy code
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console
still last thing to do , can you help me to create an ingress
`
Copy code
NAME                                                READY   STATUS      RESTARTS   AGE
datahub-datahub-frontend-85fbbf7d7-bfmzm            1/1     Running     0          7m39s
datahub-datahub-gms-6487bf7f99-n2x89                1/1     Running     0          7m39s
datahub-datahub-upgrade-job-fbhvg                   1/1     Running     0          7m39s
datahub-elasticsearch-setup-job-npxc5               0/1     Completed   0          7m36s
datahub-kafka-setup-job-njp2t                       0/1     Completed   0          7m32s
datahub-mysql-setup-job-2tbjp                       0/1     Completed   0          7m39s
elasticsearch-master-0                              1/1     Running     0          87m
elasticsearch-master-1                              1/1     Running     0          87m
elasticsearch-master-2                              1/1     Running     0          87m
flux-68bdf85d98-gmblt                               1/1     Running     0          16h
prerequisites-cp-schema-registry-598fd5876b-lrjcq   2/2     Running     1          87m
prerequisites-kafka-0                               1/1     Running     1          87m
prerequisites-neo4j-community-0                     1/1     Running     0          87m
prerequisites-zookeeper-0                           1/1     Running     0          87m
b
@miniature-airport-96424 Was this
Copy code
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console
causing your deployment to fail?
m
@big-carpet-38439, thanks for asking i've resolved all the issue , still expoing the app with ingress , can you share an example
b
Which cloud provider are you deploying to?
m
EKS V1.17
i'm using nginx ingress controller
b
got it. @early-lamp-41924 do we have a guide we can provide toBilel?
m
Copy code
piVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: datahub-ingress
  namespace: datahub
spec:
  rules:
  - host: <http://datahub.xxxxxx.fr|datahub.xxxxxx.fr>
    http:
      paths:
      - backend:
          serviceName: datahub-datahub-frontend
          servicePort: 80
        path: /*
Does not work
e
can you change servicePort to 9002 ?
Here is the ingress.yaml generated by the helm chart that we use for demo.datahubproject.io
Note we use aws alb controller for ingress but the details should be the same
m
as far as i understand i've to create an ELB for Datahub and not use my exsisting ingress ELS
i'll try and share the result
@early-lamp-41924 thanks again for your help
e
Any time! Let us know how it works!