GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - alpeb/linkerd2-proxy-init: Init container that sets up the iptables rules to forward traffic into the Linkerd2 sidecar proxy

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

553 Commits
553 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
cni-plugin
cni-plugin
 
 
cni-repair-controller
cni-repair-controller
 
 
pkg
pkg
 
 
proxy-init
proxy-init
 
 
validator
validator
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Dockerfile
Dockerfile
 
 
Dockerfile-cni-plugin
Dockerfile-cni-plugin
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASE.md
RELEASE.md
 
 
deny.toml
deny.toml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
justfile
justfile
 
 
justfile-rust
justfile-rust
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

linkerd2-proxy-init

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

Both the cni-plugin and the proxy-init binary have their own integration tests that must be triggered separately. For convenience, both of them have just recipes that can be used to trigger the tests locally, or in CI.

For the tests to be run, k3d needs to be installed locally (assumption is that this true, since the project offers a Devcontainer).

# List all available recipes
just --list

# Run proxy-init integration tests
just proxy-init-test-integration

## Run cni plugin integration tests
# cni plugin contains more than one scenario:
# for example, tests may be run with calico, or
# with flannel (default on k3d).
# Each plugin requires a different k3d config.
## To run _all_ the tests 
just cni-plugin-test-integration-all

# Run a specific scenario, e.g flannel:
just cni-plugin-test-integration-flannel

# Run a test with a new scenario
# useful when developing or adding a new scenario
just \
  cni-integration-scenario="myscenario"
  cni-plugin-test-integration

By default, all just recipes prepare the relevant dependencies (e.g images, clusters, and so on). Although it is not recommended, tests may be run exclusively without preparing any dependencies. They can be trigger either through just or by calling the test runner directly.

just \
  cni-integration-scenario="<flannel | calico>" \
  _cni-plugin-test-integration

About

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

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.