Loading the NF Logs, Metrics, Traces, Alerts Data

Create the YAML file as described in Creating or Updating the YAML File for the Loader Utility.
  1. Execute the following kubernetes job to load the data:
    helm install ocnf-data-loader/ --name <helm-release> --namespace <k8s namespace> -f <loader_customized_values.yaml>
    Where,
    • <helm-release> indicates the name provided by the user to identify the helm deployment.
    • <k8s namespace> indicates the name provided by the user to identify the kubernetes namespace of the utility. The job executes in this kubernetes namespace.
    Example:
    helm install ocnf-data-loader --name ocnf-data-loader --namespace ocnf-data-loader -f loader-custom-values.yaml
  2. Execute the following command to check the status of the job:
    helm status <helm-release>
    Example:
    helm status ocnf-data-loader
  3. Execute the following command to check the status of the pods:
    kubectl get pods -n <k8s namespace>

    Ensure that the Status column of all the pods must be Running and the Ready column of all the pods must be n/n, where n indicates the number of containers in the pod.

    Example:

    kubectl get pods -n ocnf-data-loader
    NAME                                      READY    STATUS    RESTARTS     AGE
    ocnf-data-loader-dsgsf643tr                3/3     Running     0          1m2s
  4. Execute the following command to check the completion of the job:
    kubectl get pods -n <k8s namespace>

    Ensure that the Status column of all the pods must be Complete and the Ready column of all the pods must be 0/n, where n indicates the number of containers in the pod.

    Example:

    kubectl get pods -n ocnf-data-loader
    NAME                                      READY    STATUS     RESTARTS     AGE
    ocnf-data-loader-dsgsf643tr                0/3     Complete     0          3m2s