BruceWu
BruceWu

Reputation: 11

Does Knative support arm64?

I have run knative image in the k8s cluster which is arm64 ,but knative can't start and it's logs is as follow: standard_init_linux.go:211: exec user process caused "exec format error"

I want to know whether knative support arm.

Upvotes: 0

Views: 462

Answers (1)

sameer
sameer

Reputation: 91

I have been able to successfully install Knative Serving on a RaspberryPi running ARM64 Ref using the published images on Knative Serving Releases

If you're wondering about a specific image, using crane

crane manifest gcr.io/knative-releases/knative.dev/serving/cmd/activator@sha256:f1e3e516a26ec07fbbbcefcce7619c74dd3b9ee943a5041a7f35c3f848964c0c

{
  "schemaVersion": 2,
  "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
  "manifests": [
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "size": 755,
      "digest": "sha256:f060661f6901982d1f3d79c2991aebc11cf4534237fd81987e114130696f126c",
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "size": 755,
      "digest": "sha256:6c3b9224532ae9ac9b5be792654a40e6e1db42cd14d6c0f3e61dd6bcb524b7f7",
      "platform": {
        "architecture": "arm",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "size": 755,
      "digest": "sha256:209184aba8e62b60c601e4c97936b1f6921de06183785611e7e864f79019b96d",
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
........
}

You can confirm whether the image has multi-arch support already. In this example the Knative activator image is already setup for ARM.

Upvotes: 0

Related Questions