Interview Prep/Helm/Helm 3 Architecture & Release Storage

In what order does Helm create resources of different kinds?

IntermediateConceptHelm 3 Architecture & Release Storage
Answer

Helm sorts manifests by a built-in kind order so dependencies exist first: Namespace, NetworkPolicy, ResourceQuota, LimitRange, PodSecurityPolicy, PodDisruptionBudget, ServiceAccount, Secret, SecretList, ConfigMap, StorageClass, PersistentVolume, PersistentVolumeClaim, CustomResourceDefinition, ClusterRole, ClusterRoleBinding, Role, RoleBinding, Service, DaemonSet, Pod, ReplicationController, ReplicaSet, Deployment, HorizontalPodAutoscaler, StatefulSet, Job, CronJob, IngressClass, Ingress, APIService, and unknown kinds last. Uninstall goes in reverse.

This ordering is about API submission only; it does not wait for readiness between kinds. If the API needs the database ready, use probes, init containers or hooks.

All Helm questions Roadmap: Helm

More on Helm 3 Architecture & Release Storage