vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
As of the latest release of v0.3.0-beta.3, DownwardAPI metadata.labels for StatefulSet Pods would reference wrong label names. Here's a minimum reproducer:
Notice that the rewritten fieldPath is incorrect. It's referencing a non-existent label of vcluster.loft.sh/label-my-vcluster-x-4992f265ef, instead of vcluster.loft.sh/label-my-vcluster-x-ec0342c544, which corresponds to the original statefulset.kubernetes.io/pod-name label.
As of the latest release of
v0.3.0-beta.3
, DownwardAPI metadata.labels for StatefulSet Pods would reference wrong label names. Here's a minimum reproducer:A Pod launched inside the host cluster would then look like this:
Notice that the rewritten
fieldPath
is incorrect. It's referencing a non-existent label ofvcluster.loft.sh/label-my-vcluster-x-4992f265ef
, instead ofvcluster.loft.sh/label-my-vcluster-x-ec0342c544
, which corresponds to the originalstatefulset.kubernetes.io/pod-name
label.