Skip to content

Fix kyverno on k8s-infra-ppc64le-prow-build cluster #7984

Open
@mkumatag

Description

@mkumatag

Rightnow kyverno is failing in the k8s-infra-ppc64le-prow-build cluster

Following pods are in ImagePullBackOff state:

kgpall| grep ImagePullBackOff
kyverno            kyverno-cleanup-admission-reports-29034490-htbzn           0/1     ImagePullBackOff   0            26d     172.20.83.193    compute-4         <none>           <none>
kyverno            kyverno-cleanup-cluster-admission-reports-29034490-nzjtb   0/1     ImagePullBackOff   0            26d     172.20.154.1     compute-0         <none>           <none>

events:

3m50s       Normal    BackOff              pod/kyverno-cleanup-admission-reports-29034490-htbzn           Back-off pulling image "bitnami/kubectl:1.26.10"
3m50s       Warning   Failed               pod/kyverno-cleanup-admission-reports-29034490-htbzn           Error: ImagePullBackOff
8m49s       Warning   Failed               pod/kyverno-cleanup-cluster-admission-reports-29034490-nzjtb   Failed to pull image "bitnami/kubectl:1.26.4": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/bitnami/kubectl:1.26.4": no match for platform in manifest: not found
3m54s       Normal    BackOff              pod/kyverno-cleanup-cluster-admission-reports-29034490-nzjtb   Back-off pulling image "bitnami/kubectl:1.26.4"
3m54s       Warning   Failed               pod/kyverno-cleanup-cluster-admission-reports-29034490-nzjtb   Error: ImagePullBackOff

This is happening because this image doesn't contain the manifest for the ppc64le platform:

% podman manifest inspect bitnami/kubectl:1.26.4
{
    "schemaVersion": 2,
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "manifests": [
        {
            "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
            "size": 429,
            "digest": "sha256:d96977749ea9374977a5c673c8ca73a008028c98cf1929642154e1c3d16b46de",
            "platform": {
                "architecture": "amd64",
                "os": "linux"
            }
        },
        {
            "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
            "size": 429,
            "digest": "sha256:29b1e667f2a3bbe3c11ecea9583cb6dc5a0024ac7abbd85add12ac67dd2858f9",
            "platform": {
                "architecture": "arm64",
                "os": "linux"
            }
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    sig/k8s-infraCategorizes an issue or PR as relevant to SIG K8s Infra.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions