Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey Team, I Am Trying To Setup The Clearml Server On Our Eks Cluster And Seems Like Having Problem With The Api Server Connecting With Mongo. Seems Like The Mongodb Is Created With Headless Service And Hence The Url Used It Init Container For Api Server D

Hey team, I am trying to setup the clearml server on our EKS cluster and seems like having problem with the api server connecting with mongo. Seems like the mongodb is created with headless service and hence the url used it init container for api server does not work.
I am following this doc for setting up production environment and the mongo db service is created as below

clearml-mongodb-headless          ClusterIP      None            <none>                                                                    27017/TCP            138m

Logs from the init container of api server

++ curl --telnet-option BOGUS --connect-timeout 2 -s 
 -o /dev/null
++ echo 6
+ '[' 6 -ne 49 ']'
+ echo 'waiting for mongodb'
+ sleep 5
waiting for mongodb
  
  
Posted one year ago
Votes Newest

Answers 2


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

  
  
Posted one year ago

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

 
  
  
Posted one year ago
934 Views
2 Answers
one year ago
one year ago
Tags