Troubleshooting FluentBit pods
If FluentBit pods are not starting or logs show authentication errors, complete the following steps:
- Verify secret exists and has correct
data:
kubectl get secret az-blob-secret -n argus-control -o yaml - Check FluentBit
configuration:
kubectl get configmap -n argus-control kubectl describe configmap fluent-bit-config -n argus-control - Review FluentBit pod events (replace <pod-name> with actual pod
name):
kubectl describe pod -n argus-control <pod-name> - Check storage account
access:
az storage account show \ --name "$STORAGE_ACCOUNT_NAME" \ --resource-group "$RESOURCE_GROUP" \ --query "networkRuleSet" - Verify that storage account key is valid
az storage account keys list \ --resource-group "$RESOURCE_GROUP" \ --account-name "$STORAGE_ACCOUNT_NAME" - 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