dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
118 stars 24 forks source link

When memcached mode is enabled port isn't automatically opened #167

Closed zaphinath closed 3 months ago

zaphinath commented 3 months ago

When we add the args to the dragonfly.yaml like the following it doesn't open that port on the kubernetes service. The operator api doesn't appear to have the ability to custom set ports and port forwarding so not sure what the best approach is to getting the memcached port opened.

  spec:
    args:
    - --memcached_port=11211

and it produces only the following ports on the svc

  ports:
    - name: redis
      nodePort: 30155
      port: 6379
      protocol: TCP
      targetPort: 6379
Abhra303 commented 3 months ago

Fixed with #169