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

Operator not creating PODS/Service #180

Closed wasuaje closed 1 month ago

wasuaje commented 1 month ago

Hello everyone! I'm following the directions in : https://github.com/dragonflydb/dragonfly-operator And there is no way I can get the pods/services deployed. No message. No Error. Nothing If I retry it, it says no changes. I tried creating in a new namespace, nothing!

This is the result if I describe it

apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: >
      {"apiVersion":"dragonflydb.io/v1alpha1","kind":"Dragonfly","metadata":{"annotations":{},"labels":{"app.kubernetes.io/created-by":"dragonfly-operator","app.kubernetes.io/instance":"dragonfly-sample","app.kubernetes.io/managed-by":"kustomize","app.kubernetes.io/name":"dragonfly","app.kubernetes.io/part-of":"dragonfly-operator"},"name":"dragonfly-sample","namespace":"default"},"spec":{"replicas":2,"resources":{"limits":{"cpu":"600m","memory":"750Mi"},"requests":{"cpu":"500m","memory":"500Mi"}}}}
  creationTimestamp: '2024-05-10T19:25:00Z'
  generation: 1
  labels:
    app.kubernetes.io/created-by: dragonfly-operator
    app.kubernetes.io/instance: dragonfly-sample
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/name: dragonfly
    app.kubernetes.io/part-of: dragonfly-operator
  managedFields:
    - apiVersion: dragonflydb.io/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:kubectl.kubernetes.io/last-applied-configuration: {}
          f:labels:
            .: {}
            f:app.kubernetes.io/created-by: {}
            f:app.kubernetes.io/instance: {}
            f:app.kubernetes.io/managed-by: {}
            f:app.kubernetes.io/name: {}
            f:app.kubernetes.io/part-of: {}
        f:spec:
          .: {}
          f:replicas: {}
          f:resources:
            .: {}
            f:limits:
              .: {}
              f:cpu: {}
              f:memory: {}
            f:requests:
              .: {}
              f:cpu: {}
              f:memory: {}
      manager: kubectl-client-side-apply
      operation: Update
      time: '2024-05-10T19:25:00Z'
  name: dragonfly-sample
  namespace: default
  resourceVersion: '527478763'
  uid: fb50a856-eb0e-4509-8b6b-f3e2d8db380e
  selfLink: >-
    /apis/dragonflydb.io/v1alpha1/namespaces/default/dragonflies/dragonfly-sample
spec:
  replicas: 2
  resources:
    limits:
      cpu: 600m
      memory: 750Mi
    requests:
      cpu: 500m
      memory: 500Mi

What Am I doing wrong?

wasuaje@DESKTOP-T8I8DT5 ~> kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2
wasuaje commented 1 month ago

Just for the record, I solved the issue (well, actually it solved itself) I deleted the instance, the operator itself and started over the tutorial and that was it!