kubernetes-sigs / azuredisk-csi-driver

Azure Disk CSI Driver
Apache License 2.0
147 stars 193 forks source link

csi-attacher and csi-resizer images does not have arm64 manifest #1759

Closed farcop closed 1 year ago

farcop commented 1 year ago

What happened: csi-azuredisk-controller can not run on arm64 Azure instances because csi-attacher and csi-resizer images does not have arm64 manifest

% docker manifest inspect mcr.microsoft.com/oss/kubernetes-csi/csi-attacher:v3.3.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 583,
         "digest": "sha256:de7844b4addcb4e06e73e42328549687e4ee066627449105db011b683953b14e",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      }
   ]
}
% docker manifest inspect mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.3.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 583,
         "digest": "sha256:b6e93f444134243a9828aecd6b73b8dadc0b43329149531512186fd196f4c8d3",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      }
   ]
}

What you expected to happen: csi-azuredisk-controller can run on arm64 Azure instances

How to reproduce it:

Anything else we need to know?:

Environment:

andyzhangx commented 1 year ago

@farcop since you are using open source driver install, could you use registry.k8s.io/sig-storage/csi-attacher and registry.k8s.io/sig-storage/csi-resizer instead?

# docker manifest inspect registry.k8s.io/sig-storage/csi-attacher:v4.2.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:1ec3649e8bd7f968dcca6f3578896a4481962af2fe8e16d1aadf555288fdae36",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:2d2a3e78932c89b923d3a293092750a12381a3c309df3cdcd9c3bfcab6aee60e",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:d2b7b0197961667f58bd4849be945f1750ca4b9a0ab81698afe4ccc6edbc254f",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:5f6dce54211e377a0bb0878a937c3066edfca5afc49187c2b08ed9c0e6dfc14d",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:16c4f2db954ae93ab39858f3f765ef4ddfd59ef82c506cd61988ec9327cc6df0",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 701,
         "digest": "sha256:3deeb0ce2bea75ace47501efee2273f9f41bff271ae2543c424f79a93ce8776e",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}
farcop commented 1 year ago

@andyzhangx Yes, I did. Thank you!