diff --git a/README.md b/README.md index 11b8341..f0cec62 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ options: ### Kubernetes resources -Supported `kind`/`apiVersion` resource types are 47 ones: +Supported `kind`/`apiVersion` resource types are 48 ones: * APIService/apiregistration.k8s.io/v1 * ClusterRole/rbac.authorization.k8s.io/v1 * ClusterRoleBinding/rbac.authorization.k8s.io/v1 @@ -152,6 +152,7 @@ Supported `kind`/`apiVersion` resource types are 47 ones: * StorageClass/storage.k8s.io/v1 * User/rbac.authorization.k8s.io/v1 * ValidatingWebhookConfiguration/admissionregistration.k8s.io/v1 +* VerticalPodAutoscaler/autoscaling.k8s.io/v1 * VolumeAttachment/storage.k8s.io/v1 **Note**: The mapping between these supported Kubernetes resources and architecture diagrams is defined into [bin/kube-diagrams.yml](https://github.com/philippemerle/KubeDiagrams/blob/main/bin/kube-diagrams.yaml#L65). diff --git a/bin/icons/vpa.png b/bin/icons/vpa.png new file mode 100644 index 0000000..17b39b8 Binary files /dev/null and b/bin/icons/vpa.png differ diff --git a/bin/kube-diagrams.yaml b/bin/kube-diagrams.yaml index 7f46426..b478ddf 100644 --- a/bin/kube-diagrams.yaml +++ b/bin/kube-diagrams.yaml @@ -455,6 +455,11 @@ nodes: edges: | edges.add_webhooks() ValidatingWebhookConfiguration/admissionregistration.k8s.io/v1beta1: ValidatingWebhookConfiguration/admissionregistration.k8s.io/v1 + VerticalPodAutoscaler/autoscaling.k8s.io/v1: + scoped: Namespaced + custom_icon: $KD/icons/vpa.png + edges: | + edges.add_resource("spec.targetRef") VolumeAttachment/storage.k8s.io/v1: scope: Cluster diagram_node_classname: diagrams.k8s.storage.Volume