Skip to content

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

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 #4972

GitHub Actions / e2e test report failed Oct 31, 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-with-failuredomains-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Timed out after 900.001s.
HelmReleaseProxy quick-start-nkdzws/konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnwcxbhw failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-31 03:55:56 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}, revision = 2, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnwcxbhw GenerateName:konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s- Namespace:quick-start-nkdzws SelfLink: UID:99e4908c-efdf-4fe6-a013-e7c71455e9cd ResourceVersion:5903 Generation:1 CreationTimestamp:2025-10-31 03:52:28 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a3860-942e-723b-a2bb-aa0e9bdbcd2d] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a3860-942e-723b-a2bb-aa0e9bdbcd2d UID:6f280647-0a6c-43a1-a96b-14df9058e964 Controller:0xc003be9627 BlockOwnerDeletion:0xc003be9626}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-31 03:52:29 +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\":\"6f280647-0a6c-43a1-a96b-14df9058e964\"}":{}}},"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-31 03:55:56 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-nkdzws Name:quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s 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-87woyqlp63hco4blimsxb6pke14m
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:0xc00238c990} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-31 03:55:56 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

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

}] Status:failed Revision:2 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 900.001s.
HelmReleaseProxy quick-start-nkdzws/konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnwcxbhw failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-31 03:55:56 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

}, revision = 2, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnwcxbhw GenerateName:konnector-agent-quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s- Namespace:quick-start-nkdzws SelfLink: UID:99e4908c-efdf-4fe6-a013-e7c71455e9cd ResourceVersion:5903 Generation:1 CreationTimestamp:2025-10-31 03:52:28 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:konnector-agent-019a3860-942e-723b-a2bb-aa0e9bdbcd2d] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:konnector-agent-019a3860-942e-723b-a2bb-aa0e9bdbcd2d UID:6f280647-0a6c-43a1-a96b-14df9058e964 Controller:0xc003be9627 BlockOwnerDeletion:0xc003be9626}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-10-31 03:52:29 +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\":\"6f280647-0a6c-43a1-a96b-14df9058e964\"}":{}}},"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-31 03:55:56 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-nkdzws Name:quick-start-87woyqlp63hco4blimsxb6pke14mnw08bmqxv1yokuypfc0hu5s 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-87woyqlp63hco4blimsxb6pke14m
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:0xc00238c990} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-10-31 03:55:56 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:pre-upgrade hooks failed: 1 error occurred:
	* pod hook-preinstall failed

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

}] Status:failed Revision:2 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/31/25 04:10:59.769

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 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/controlplane_helpers.go:153 @ 10/31/25 04:02:57.603

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 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/controlplane_helpers.go:153 @ 10/31/25 04:02:47.315

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 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 900.001s.
No Control Plane machines came into existence. 
Expected
    <bool>: false
to be true
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/controlplane_helpers.go:153 @ 10/31/25 04:02:47.416