So I had to create a regular service to get it working.
apiVersion: v1 kind: Service metadata: name: clearml-mongodb labels: app.kubernetes.io/component: mongodb spec: selector: app.kubernetes.io/component: mongodb ports: - name: http protocol: TCP port: 27017 targetPort: 27017
I am wondering has anyone faced this before for the k8s installation
Not sure how this example would work since after looking at mongodb templates, it either creates a headless service or a external access service via loadbalancer. So in this case not sure how it can pass the init-apiserver check about