k8wiz
Kustomize
Easy
Concepts

Which kind and apiVersion does the kustomization file of a Kustomize component declare?

Select your answer:

Show answer and explanation

Answer: kind: Component with apiVersion kustomize.config.k8s.io/v1alpha1

Explanation

A component uses kind: Component, and its apiVersion is kustomize.config.k8s.io/v1alpha1. Kustomize rejects kind: Component with v1beta1, which is the apiVersion of a normal Kustomization. The file is still named kustomization.yaml.

Read more about Kustomize