feat: Add support for deploying K8s Agent as Helm Addon during cluster deployment #4956
42 tests run, 30 passed, 8 skipped, 4 failed.
Annotations
Check failure on line 1 in caren-e2e
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-6iozcf/quick-start-y2asca176htx9l5cbd9czml69tr6tb7x0vxatk91tb7lsb8rb7m
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-6iozcf/quick-start-y2asca176htx9l5cbd9czml69tr6tb7x0vxatk91tb7lsb8rb7m
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:44.338
There were additional failures detected after the initial failure. These are visible in the timeline
Check failure on line 1 in caren-e2e
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 600.001s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-n6oij2/quick-start-nkvmcmnik1w7r6vnqt2kte9krs130ipk02848crlse6kzdj6qg8
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-n6oij2/quick-start-nkvmcmnik1w7r6vnqt2kte9krs130ipk02848crlse6kzdj6qg8
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:14.78
There were additional failures detected after the initial failure. These are visible in the timeline
Check failure on line 1 in caren-e2e
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.000s.
Timed out waiting for 1 nodes to be created for MachineDeployment quick-start-hubmlv/quick-start-qgrg3s1plu6ig7dtc8yfsxqs0zoi9wu25tptyn3pqz9mh35p8ns
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-hubmlv/quick-start-qgrg3s1plu6ig7dtc8yfsxqs0zoi9wu25tptyn3pqz9mh35p8ns
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:34.698
There were additional failures detected after the initial failure. These are visible in the timeline
Check failure on line 1 in caren-e2e
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 300.000s.
HelmReleaseProxy quick-start-pkkm7y/konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfedzbzt failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
* pod hook-preinstall failed
}, revision = 39, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfedzbzt GenerateName:konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh- Namespace:quick-start-pkkm7y SelfLink: UID:c4cc721b-8064-4895-adf4-a67bcc4fa06c ResourceVersion:9477 Generation:1 CreationTimestamp:2025-10-30 06:24:14 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a33c4-90d5-792e-b936-80803f690d57] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a33c4-90d5-792e-b936-80803f690d57 UID:7e48d2ae-d3c0-4fc1-9abd-02103e955ff7 Controller:0xc00110ad4d BlockOwnerDeletion:0xc00110ad4c}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:24:14 +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\":\"7e48d2ae-d3c0-4fc1-9abd-02103e955ff7\"}":{}}},"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:38:20 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-pkkm7y Name:quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh 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-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh
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:0xc000958190} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +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:24:14 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
* pod hook-preinstall failed
}] Status:failed Revision:39 ObservedGeneration:1}}
`
Expected
<bool>: false
to be true
Raw output
[FAILED] Timed out after 300.000s.
HelmReleaseProxy quick-start-pkkm7y/konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfedzbzt failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
* pod hook-preinstall failed
}, revision = 39, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfedzbzt GenerateName:konnector-agent-quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh- Namespace:quick-start-pkkm7y SelfLink: UID:c4cc721b-8064-4895-adf4-a67bcc4fa06c ResourceVersion:9477 Generation:1 CreationTimestamp:2025-10-30 06:24:14 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a33c4-90d5-792e-b936-80803f690d57] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a33c4-90d5-792e-b936-80803f690d57 UID:7e48d2ae-d3c0-4fc1-9abd-02103e955ff7 Controller:0xc00110ad4d BlockOwnerDeletion:0xc00110ad4c}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-30 06:24:14 +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\":\"7e48d2ae-d3c0-4fc1-9abd-02103e955ff7\"}":{}}},"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:38:20 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-pkkm7y Name:quick-start-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh 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-lfung9fmsbuunq3by9sis98zibhcfey0gz10u2223qqyxgfdzvh
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:0xc000958190} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +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:24:14 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-10-30 06:35:08 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
* pod hook-preinstall failed
}] Status:failed Revision:39 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:43:27.228
There were additional failures detected after the initial failure. These are visible in the timeline