Skip to content

feat: Add support for deploying K8s Agent as Helm Addon during cluster deployment #4956

feat: Add support for deploying K8s Agent as Helm Addon during cluster deployment

feat: Add support for deploying K8s Agent as Helm Addon during cluster deployment #4956

GitHub Actions / e2e test report failed Oct 30, 2025 in 0s

42 tests run, 30 passed, 8 skipped, 4 failed.

Annotations

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium ClusterResourceSet topology-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Timed out after 600.001s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-og2qlb/quick-start-a3mutv8w9k1g11h80verwtl8s96npz4o4vnr0v571uw27p97vth
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
Raw output
[FAILED] Timed out after 600.001s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-og2qlb/quick-start-a3mutv8w9k1g11h80verwtl8s96npz4o4vnr0v571uw27p97vth
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:128 @ 10/30/25 06:34:32.851

There were additional failures detected after the initial failure. These are visible in the timeline

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium HelmAddon topology-cilium-helm-addon Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:HelmAddon]

Timed out after 600.001s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-svfjzd/quick-start-brq4yte6591t16gp1l8qrj31ibazof4nm5d489arly7qft7mz4j
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
Raw output
[FAILED] Timed out after 600.001s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-svfjzd/quick-start-brq4yte6591t16gp1l8qrj31ibazof4nm5d489arly7qft7mz4j
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:128 @ 10/30/25 06:34:52.743

There were additional failures detected after the initial failure. These are visible in the timeline

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium ClusterResourceSet topology-with-failuredomains-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Timed out after 600.000s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-ps6gr9/quick-start-hm92gdnmyvpytqqtlc5scj0k90hckx6ywiizzqitg0w77ubmqvx
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
Raw output
[FAILED] Timed out after 600.000s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-ps6gr9/quick-start-hm92gdnmyvpytqqtlc5scj0k90hckx6ywiizzqitg0w77ubmqvx
The function passed to Eventually failed at /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:127 with:
Expected
    <int>: 0
to equal
    <int>: 1
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/machinedeployment_helpers.go:128 @ 10/30/25 06:35:03.039

There were additional failures detected after the initial failure. These are visible in the timeline

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium HelmAddon topology-with-failuredomains-cilium-helm-addon Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:HelmAddon]

Timed out after 300.001s.
HelmReleaseProxy quick-start-5guape/konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8etkfzqh failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}, revision = 19, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8etkfzqh GenerateName:konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7- Namespace:quick-start-5guape SelfLink: UID:0b13c1a1-fcf3-4e50-84f9-a4f432041c5c ResourceVersion:8385 Generation:1 CreationTimestamp:2025-10-30 06:23:31 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7 helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a33c3-9e62-780d-84a7-ae4f4522c075] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a33c3-9e62-780d-84a7-ae4f4522c075 UID:ce9325c0-9012-4744-9095-4bfaab184c1d Controller:0xc000a642dd BlockOwnerDeletion:0xc000a642dc}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:23:31 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"ce9325c0-9012-4744-9095-4bfaab184c1d\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:34:01 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-5guape Name:quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7 UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:konnector-agent RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:konnector-agent ReleaseNamespace:ntnx-system Version:1.3.0-rc.1 Values:agent:
  name: konnector-agent
  image:
    repository: quay.io/karbon
    name: k8s-agent
pc:
  port: 9440
  insecure: true #set this to true if PC does not have https enabled
  endpoint: pc.ci.nkp.sh # eg: ip or fqdn
k8sClusterName: quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7
k8sDistribution: NKP
createSecret: false ReconcileStrategy: Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc00015a150} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-10-30 06:23:31 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}] Status:failed Revision:19 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 300.001s.
HelmReleaseProxy quick-start-5guape/konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8etkfzqh failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}, revision = 19, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8etkfzqh GenerateName:konnector-agent-quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7- Namespace:quick-start-5guape SelfLink: UID:0b13c1a1-fcf3-4e50-84f9-a4f432041c5c ResourceVersion:8385 Generation:1 CreationTimestamp:2025-10-30 06:23:31 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7 helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a33c3-9e62-780d-84a7-ae4f4522c075] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a33c3-9e62-780d-84a7-ae4f4522c075 UID:ce9325c0-9012-4744-9095-4bfaab184c1d Controller:0xc000a642dd BlockOwnerDeletion:0xc000a642dc}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:23:31 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"ce9325c0-9012-4744-9095-4bfaab184c1d\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:34:01 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-5guape Name:quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7 UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:konnector-agent RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:konnector-agent ReleaseNamespace:ntnx-system Version:1.3.0-rc.1 Values:agent:
  name: konnector-agent
  image:
    repository: quay.io/karbon
    name: k8s-agent
pc:
  port: 9440
  insecure: true #set this to true if PC does not have https enabled
  endpoint: pc.ci.nkp.sh # eg: ip or fqdn
k8sClusterName: quick-start-skatvav0l98khngodyeis4rindo8ety7rrtqp7tbqo81qmc5dx7
k8sDistribution: NKP
createSecret: false ReconcileStrategy: Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc00015a150} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-10-30 06:23:31 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-10-30 06:32:29 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}] Status:failed Revision:19 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
In [It] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/helmreleaseproxy_helpers.go:60 @ 10/30/25 06:39:04.879

There were additional failures detected after the initial failure. These are visible in the timeline