Pod: eraser-virtual-node-aci-linux-ks96c
Namespace: kube-system
Description:
Name: eraser-virtual-node-aci-linux-ks96c
Namespace: kube-system
Priority: 2000000000
Priority Class Name: system-cluster-critical
Service Account: eraser-imagejob-pods
Node: virtual-node-aci-linux
Labels: eraser.sh/type=collector
Annotations:
Status: Failed
Reason: ProviderFailed
Message: ACI does not support providing args without specifying the command. Please supply both command and args to the pod spec.
IP: N/A
Controlled By: PodTemplate/imagejob-6rnpg
Containers:
collector:
Image: mcr.microsoft.com/oss/eraser/collector:v1.3.1
Ports:
Args: --scan-disabled=false --enable-pprof=false --pprof-port=6060
Limits: memory=500Mi
Requests: cpu=7m, memory=25Mi
Environment:
KUBERNETES_SERVICE_HOST: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
KUBERNETES_PORT: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP_ADDR: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
NODE_NAME: ValueFrom: k8s.Models.V1EnvVarSource
Mounts:
/run/eraser.sh/shared-data from shared-data (rw)
exclude-eraser-system-exclusion from eraser-system-exclusion (rw)
/run/cri/cri.sock from runtime-sock-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vf7rc (ro)
remover:
Image: mcr.microsoft.com/oss/eraser/remover:v1.3.1
Ports:
Args: --log-level=info --enable-pprof=false --pprof-port=6060
Limits: memory=30Mi
Requests: cpu=0, memory=25Mi
Environment:
KUBERNETES_SERVICE_HOST: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
KUBERNETES_PORT: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP_ADDR: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
OTEL_EXPORTER_OTLP_ENDPOINT: ValueFrom: N/A
OTEL_SERVICE_NAME: remover
NODE_NAME: ValueFrom: k8s.Models.V1EnvVarSource
Mounts:
/run/eraser.sh/shared-data from shared-data (rw)
exclude-eraser-system-exclusion from eraser-system-exclusion (rw)
/run/cri/cri.sock from runtime-sock-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vf7rc (ro)
trivy-scanner:
Image: mcr.microsoft.com/oss/eraser/eraser-trivy-scanner:v1.3.1
Ports:
Args: --config=/config/controller_manager_config.yaml --enable-pprof=false --pprof-port=6060
Limits: memory=2Gi
Requests: cpu=250m, memory=500Mi
Environment:
KUBERNETES_SERVICE_HOST: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
KUBERNETES_PORT: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP: tcp://ait-dns-3ss19hej.hcp.eastus2.azmk8s.io:443
KUBERNETES_PORT_443_TCP_ADDR: ait-dns-3ss19hej.hcp.eastus2.azmk8s.io
OTEL_EXPORTER_OTLP_ENDPOINT: ValueFrom: N/A
OTEL_SERVICE_NAME: trivy-scanner
ERASER_RUNTIME_NAME: containerd
CONTAINERD_NAMESPACE: k8s.io
NODE_NAME: ValueFrom: k8s.Models.V1EnvVarSource
Mounts:
/run/eraser.sh/shared-data from shared-data (rw)
/config from eraser-config (rw)
exclude-eraser-system-exclusion from eraser-system-exclusion (rw)
/run/cri/cri.sock from runtime-sock-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vf7rc (ro)
Volumes:
runtime-sock-volume:
Type: HostPath
Path: /run/containerd/containerd.sock
shared-data:
Type: EmptyDir
eraser-config:
Type: ConfigMap
Name: eraser-manager-config
eraser-system-exclusion:
Type: ConfigMap
Name: eraser-system-exclusion
kube-api-access-vf7rc:
Type: Projected
Tolerations:
- Key: N/A, Effect: N/A, Value: N/A, Toleration Seconds: N/A
Events:
No events found for this pod.
Analysis
Pod Overview:
Log Analysis Content:
Warnings and Errors:
Recommendations:
Update Pod Specification:
command: ["/bin/sh", "-c"]followed by the args.Review Container Images:
collector,remover, andtrivy-scanner) support the commands and args being supplied, ensuring they align with best practices for running in Azure Container Instances (ACI).Enhance Error Logging:
Consult ACI Documentation:
Monitor Pod Deployment:
Test Configuration Locally:
Original Log Data:
Summary
Further investigation into the pod
eraser-virtual-node-aci-linux-ks96cin the namespacekube-systemis recommended based on the above analysis.