Skip to content

Commit 11dbf54

Browse files
authored
docs(k8s): add a note about multi-container pods (#7815)
1 parent da17dc7 commit 11dbf54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/target/kubernetes.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ for example:
3838
trivy k8s --report summary
3939
```
4040
41+
!!! note "JSON result for multi-container pods"
42+
For multi-container pods, it may be challenging to associate results with specific images in the json summary report. Kubernetes treats a pod as a single object, so individual images within the pod aren’t distinguished.
43+
For detailed information, please use the `--report all` option.
44+
4145
By default Trivy will look for a [`kubeconfig` configuration file in the default location](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/), and use the default cluster that is specified.
4246
You can also specify a `kubeconfig` using the `--kubeconfig` flag:
4347

0 commit comments

Comments
 (0)