Comments (4)
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).
- Modify
envoy_iptables/Makefile
to changeVERSION
tovlocal
- This is needed to make sure Kubernetes will use your locally built image, since the
vlocal
version won't exist in any registry.
- This is needed to make sure Kubernetes will use your locally built image, since the
eval $(minikube docker-env)
- This will cause any built images to be stored in the Docker instance inside of the Minikube VM.
make image
- Modify your Kubernetes manifest to use
proxy_init:vlocal
instead of whatever version it is presently using. - 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.
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.
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 digest9687373cd9504660030bc7fb75e1cfbe65af8ae97da9ef9795ad50fcbfa04a5b
works correctly on my M1 Mac.
from contrib.
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)
- Migrate to GitHub Actions
- Kong-OPA Authz plugin does not send headers information to HOT 5
- Fix currently ignored build issues in two sub-modules
- Docker file for demo-kafka HOT 4
- Deal with new Kafka authorizer interface HOT 1
- Error when no JWT token provided
- information required HOT 4
- Add config API endpoint to Open API specs HOT 4
- Not able to verify NodeSelector Exists or not HOT 19
- Broken Elasticsearch Data Filtering Example HOT 2
- `pam_opa` build is failing in GH Actions
- `gatekeeper_mtail_violations_exporter` build is broken
- `k8s_authorization` build is broken
- Support `OTP` while using the `pam_opa` HOT 8
- Update spring_authz README to include some additional information HOT 1
- kong_api_authz build is broken
- kong_api_authz: Latest Rocks Build HOT 18
- contrib/data_filter_mongo example test case for employees/john example not working as advertised in README.md (returns empty)
- PAM module pam_sm_acct_mgmt call always returns success
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contrib.