<commit_before>## How to update Hub files in kube-ui-server

```bash
POD_NAMESPACE=kubeops
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app.kubernetes.io/instance=kube-ui-server -o jsonpath={.items[0].metadata.name})

kubectl cp hub $POD_NAME:/tmp -n $POD_NAMESPACE
# verify
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- ls -l /tmp/hub

LOCATION=hub/resourceeditors/kubedb.com/v1alpha2/elasticsearches.yaml
kubectl cp $LOCATION $POD_NAME:/tmp/$LOCATION -n $POD_NAMESPACE
# verify
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- cat /tmp/$LOCATION

# trigger reload
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- sh -c "date > /tmp/hub/resourceeditors/trigger"
# verify
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- cat /tmp/hub/resourceeditors/trigger
```<commit_msg>Update hub file upload instructions<commit_after>## How to update Hub files in kube-ui-server

```bash
UI_SERVER_NAMESPACE=kubeops
UI_SERVER_POD=$(kubectl get pods -n $UI_SERVER_NAMESPACE -l app.kubernetes.io/instance=kube-ui-server -o jsonpath={.items[0].metadata.name})

kubectl cp hub $UI_SERVER_POD:/tmp -n $UI_SERVER_NAMESPACE
# verify
kubectl exec -it $UI_SERVER_POD -n $UI_SERVER_NAMESPACE -- ls -l /tmp/hub

LOCATION=hub/resourceeditors/kubedb.com/v1alpha2/elasticsearches.yaml
kubectl cp $LOCATION $UI_SERVER_POD:/tmp/$LOCATION -n $UI_SERVER_NAMESPACE
# verify
kubectl exec -it $UI_SERVER_POD -n $UI_SERVER_NAMESPACE -- cat /tmp/$LOCATION

# trigger reload
kubectl exec -it $UI_SERVER_POD -n $UI_SERVER_NAMESPACE -- sh -c "date > /tmp/hub/resourceeditors/trigger"
# verify
kubectl exec -it $UI_SERVER_POD -n $UI_SERVER_NAMESPACE -- cat /tmp/hub/resourceeditors/trigger
```
{'fraction_non_alphanumeric': 0.12311406155703078, 'fraction_numerical': 0.003621001810500905, 'mean_word_length': 4.858657243816254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3894315', 'n_tokens_mistral': 665, 'n_tokens_neox': 660, 'n_words': 148}