Giter Site home page Giter Site logo

netapp / linkerd2-proxy-init Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linkerd/linkerd2-proxy-init

1.0 2.0 2.0 193 KB

Init container that sets up the iptables rules to forward traffic into the Linkerd2 sidecar proxy

License: Apache License 2.0

Dockerfile 1.93% Go 85.26% Shell 6.78% Makefile 6.03%
third-party

linkerd2-proxy-init's Introduction

This repo contains the init container that reroutes all traffic to the pod through Linkerd2's sidecar proxy. This rerouting is done via iptables and requires the NET_ADMIN capability.

Integration tests

The instructions below assume that you are using minikube.

Start by building and tagging the proxy-init image required for the test:

eval $(minikube docker-env)
make image

Then run the tests with:

make integration-test

Build Multi-Architecture Docker Images with Buildx

Please refer to Docker Docs to enable Buildx.

Run make images to start build the images.

Run make push to push the images into registry. Registry repo can be configured with environment variable:

DOCKER_REGISTRY=<your registry> make push

In some local environments like Ubuntu, where the default Buildx builder uses the docker driver, the make images command might fail with the following error:

$ make images
multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
Makefile:57: recipe for target 'images' failed
make: *** [images] Error 1

To fix this, you can create a new Buildx builder instance by running make builder. This command will create a builder that uses the docker-container driver that can build multi-platform images. For more information, see the Buildx builder documentation.

linkerd2-proxy-init's People

Contributors

adleong avatar aliariff avatar alpeb avatar chrischdi avatar cpretzer avatar dadjeibaah avatar dependabot[bot] avatar grampelberg avatar gusfcarvalho avatar javaducky avatar joakimr-axis avatar liuerfire avatar mateiidavid avatar michaellzc avatar mo4islona avatar olix0r avatar siggy avatar zaharidichev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.