-
The question is: how can we debug this situation? Please let me know if anyone has any ideas on how to analyze such a bug.
If I delete pipeline in Numaflow Web UI. And create the same pipepeline again. It works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Currently I am on numalfow v 1.4.0. ISB Spec:
and my pipeline
|
Beta Was this translation helpful? Give feedback.
-
Can you check the status of the |
Beta Was this translation helpful? Give feedback.
-
Status of my pv and pvc after cluster restart is
pvc-describe
default storage class: apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
defaultVolumeType: local
objectset.rio.cattle.io/id: ""
objectset.rio.cattle.io/owner-gvk: k3s.cattle.io/v1, Kind=Addon
objectset.rio.cattle.io/owner-name: local-storage
objectset.rio.cattle.io/owner-namespace: kube-system
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: "2025-01-14T14:05:57Z"
labels:
objectset.rio.cattle.io/hash: 183f35c65ffbc3064603f43f1580d8c68a2dabd4
name: local-path
resourceVersion: "281"
uid: 1a592580-829a-42e7-b6fb-6b36a648f492
provisioner: rancher.io/local-path
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
|
Beta Was this translation helpful? Give feedback.
-
This seems to be a jetstream problem: when it's not running in cluster mode (single node), if the stream or k/v bucket uses RAM storage mode, after restarting, the stream or k/v bucket will be lost. What you can do is, either use cluster mode (e.g. 3 replicas), or use file storage with 1 replica. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your suggestions. Both suggestions have worked and What I do not understand is why the memory storage doesn´t work with non cluster ISB Service. Is it a Bug in Nats JetStream or is there any reason behind.
apiVersion: numaflow.numaproj.io/v1alpha1
kind: InterStepBufferService
metadata:
name: default
namespace: inqu-analytics
spec:
jetstream:
replicas: 1
persistence:
volumeSize: 1Gi
#storageClassName: local-path # Optional, will use K8s cluster default storage class if not specified
bufferConfig: |
# The properties of the buffers (streams) to be created in this JetStream service
stream:
# 0: File, 1: Memory
storage: 0
consumer:
replicas: 1
storage: 1 ### <- this switch to file storage
otBucket:
storage: 1 ### <- this switch to file storage
replicas: 1 ### <- this does not replicate data
procBucket:
storage: 1 ### <- this switch to file storage
replicas: 1 ### <- this does not replicate data
apiVersion: numaflow.numaproj.io/v1alpha1
kind: InterStepBufferService
metadata:
name: default
namespace: inqu-analytics
spec:
jetstream:
replicas: 3 ### <- 3 replicas cluster
persistence:
volumeSize: 1Gi
#storageClassName: local-path # Optional, will use K8s cluster default storage class if not specified
bufferConfig: |
# The properties of the buffers (streams) to be created in this JetStream service
stream:
# 0: File, 1: Memory
storage: 0
consumer:
replicas: 0
storage: 1 ### <- this switch to file storage
otBucket:
storage: 0 ### <- this switch to file storage
replicas: 1 ### <- this does not replicate data
procBucket:
storage: 0 ### <- this switch to file storage
replicas: 1 ### <- this does not replicate data |
Beta Was this translation helpful? Give feedback.
Thanks for your suggestions. Both suggestions have worked and
ISB Settings for both of them I have put bellow for other users to follow.
What I do not understand is why the memory storage doesn´t work with non cluster ISB Service. Is it a Bug in Nats JetStream or is there any reason behind.