Closed gshif closed 5 years ago
kubectl
to execute a command on storage node. By default we have only one storage - storage-0
- but --storage-pods
flag can be passed to the fenvctl
to have more than one storage pod (will deal with this later...)
kubectl --kubeconfig=%s --context=%s exec storage-0 -c storage -n %s -- bash -c "cd /data;find . -name \"*.tsm\" -print"
Or :
kubectl --kubeconfig=%s --context=%s exec storage-0 -c storage -n %s -- bash -c "cd /data;find . -name "*.tsm" -print" | xargs grep -a
Since we can have more than 1 storage pod (use --storage-pods
After Data gets to kafka from gateway, the storage service is pulling it (I am guessing, every 10 sec) from kafka. Need to have a way of verifying data persisted on disk