Troubleshooting FluentBit pods

If FluentBit pods are not starting or logs show authentication errors, complete the following steps:

  1. Verify secret exists and has correct data:
    kubectl get secret az-blob-secret -n argus-control -o yaml
  2. Check FluentBit configuration:
    kubectl get configmap -n argus-control
    kubectl describe configmap fluent-bit-config -n argus-control
  3. Review FluentBit pod events (replace <pod-name> with actual pod name):
    kubectl describe pod -n argus-control <pod-name>
  4. Check storage account access:
    az storage account show \
      --name "$STORAGE_ACCOUNT_NAME" \
      --resource-group "$RESOURCE_GROUP" \
      --query "networkRuleSet"
  5. Verify that storage account key is valid
    az storage account keys list \
      --resource-group "$RESOURCE_GROUP" \
      --account-name "$STORAGE_ACCOUNT_NAME"
  6. Verify that container exists :
    az storage container list \
      --account-name "$STORAGE_ACCOUNT_NAME" \
      --auth-mode key
If issues persist, complete the following actions:
  • Regenerate the storage account key and update the secret
  • Check network policies and firewall rules on the storage account
  • Verify the FluentBit configuration matches the secret name and key
  • Ensure that the container name matches exactly wxd-system-logs