Giter VIP home page Giter VIP logo

Comments (4)

charlesdaniels avatar charlesdaniels commented on May 26, 2024 1

This is because the image is only built for AMD64 at present. As a workaround, you can build the image locally (it is important to do this on your M1 Mac, so you can build the image with the arm64 architecture).

  1. Modify envoy_iptables/Makefile to change VERSION to vlocal
    • This is needed to make sure Kubernetes will use your locally built image, since the vlocal version won't exist in any registry.
  2. eval $(minikube docker-env)
    • This will cause any built images to be stored in the Docker instance inside of the Minikube VM.
  3. make image
  4. Modify your Kubernetes manifest to use proxy_init:vlocal instead of whatever version it is presently using.
  5. Apply the manifest as normal.

It is surprising that it gets far enough to try to initialize iptables. I would expect it to fail sooner. In any case, these steps worked around the issue on my machine.

My environment:

Macbook Pro w/ M1 Pro

macOS 12.1

minikube version: v1.24.0
commit: 76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b

from contrib.

harishkadamudi avatar harishkadamudi commented on May 26, 2024

Providing minikube details

~ minikube version
minikube version: v1.23.2
commit: 0a0ad764652082477c00d51d2475284b5d39ceed

kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:10:45Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:32:41Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/arm64"}

from contrib.

charlesdaniels avatar charlesdaniels commented on May 26, 2024

Update:

  • The proxy_init container has been migrated to live in the opa-envoy-plugin repository.
  • We have built a version of the image with arm64 support and published it to Docker Hub (currently only under the :latest tag). The image with digest 9687373cd9504660030bc7fb75e1cfbe65af8ae97da9ef9795ad50fcbfa04a5b works correctly on my M1 Mac.

from contrib.

anderseknert avatar anderseknert commented on May 26, 2024

Closing since issue seems to be resolved. Let me know if you're still having problems with this, and I'll re-open.

from contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.