Coder Social home page Coder Social logo

xinshuyang / antrea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antrea-io/antrea

0.0 0.0 4.0 68.87 MB

Kubernetes networking based on Open vSwitch

Home Page: https://antrea.io

License: Apache License 2.0

Makefile 0.26% Shell 4.80% Go 93.91% Dockerfile 0.15% HCL 0.05% PowerShell 0.64% Smarty 0.04% Jinja 0.10% Python 0.05%

antrea's People

Contributors

abhiraut avatar antoninbas avatar antrea-bot avatar atish-iaf avatar ceclinux avatar dependabot[bot] avatar dreamtalen avatar dyanngg avatar gran-vmv avatar graysonwu avatar heanlan avatar hjiajing avatar hongliangl avatar jainpulkit22 avatar jianjuns avatar ksamoray avatar luolanzone avatar lzhecheng avatar mengdie-song avatar qiyueyao avatar ruicao93 avatar srikartati avatar tnqn avatar weiqiangt avatar wenqiq avatar wenyingd avatar xinshuyang avatar xliuxu avatar zhangyw18 avatar zyiou avatar

Watchers

 avatar

antrea's Issues

Random Failures When Unpacking Antrea Image on Windows Testbed

Describe the bug
Describe the bug
When attempting to unpack the Antrea Windows image docker.io/antrea/antrea-windows:latest, I encountered the following error randomly:

unpacking docker.io/antrea/antrea-windows:latest (sha256:9b3c707aabd24d5190afedcd6e6301aa7ffd65a21488550d1b8b771a5c5d7cbb)...
time="2023-10-31T22:55:35-07:00" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:30baeec5d6941292f9e7d22617d5d707b32016e8f936fb75184fa135ac3238bd: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3): unknown" key="extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf"
time="2023-10-31T22:55:37-07:00" level=warning msg="extraction snapshot removal failed" error="snapshot extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf does not exist: not found" key="extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf"

To Reproduce
Windows CI pipeline error

I want to set a SDN controller for br-int, but I can't find br-int

Describe what you are trying to do
A description of what you are trying to achieve, what you have tried so far and the issues you are facing.
Hi, I want to use an OvS-based network plugin for my k8s cluster so that I can use an SDN controller to control all OvS and realize Service Function Chain forwarding. I have deployed a k8s cluster(v1.16.1 with 1 master node and 1 work node), and applied Antrea (v0.1.1) on the master node. And both node is in Ready status.
My question is: How to find the OvS on the work node and set my SDN controller.

Long-Term Tracking of Testbed Kubernetes Versions

Describe the problem/challenge you have
Currently, we are using various testbeds such as CAPV, Multicast, Multicluster, VMAgent, Kind, and Windows for Antrea CI pipeline. The Kubernetes versions used in these testbeds may not always align with the latest Kubernetes releases. This misalignment can lead to issues, test failures, or missed opportunities to take advantage of new Kubernetes features.

Describe the solution you'd like
We would like to create a long-term tracking mechanism to keep our testbed Kubernetes versions up to date. This involves the following steps:

  • Maintain a record of the current Kubernetes version in use for each testbed.
  • Periodically check for new Kubernetes releases.
  • Plan and execute the upgrade of Kubernetes versions for each testbed as needed.
  • Document the process, any issues encountered, and the outcome.

Anything else you would like to add?
It's essential to maintain our testbeds with the latest Kubernetes versions to align with the Kubernetes releases and to provide the best quality testing for Antrea. This long-term tracking task can help us stay on top of Kubernetes updates and ensure our testing environment remains robust and effective.

Testbed Name Current Kubernetes Version Latest Kubernetes Version (if different)
CAPV v1.28.0 v1.28.3
Multicast v1.27.2 v1.28.3
Flexible-IPAM v1.27.1 v1.28.3
Multicluster v1.27.1 v1.28.3
VMAgent v1.27.2 v1.28.3
IPv6 v1.27.1 v1.28.3
Windows v1.28.2(with ginkgo flaky issue) v1.28.3

Test iisue

Describe the problem/challenge you have

Describe the solution you'd like

Anything else you would like to add?

loadBalancerSourceRanges not supported in AntreaProxy

Describe the bug

As of now antrea doesnt support loadBalancerSourceRanges in the antreaProxy. Since this is also not supported in the kube-proxy, we have no way to provdide this to Windows users.

To Reproduce

Similar to kubernetes/kubernetes#120033 ...

Expected

AntreaProxy would fully support the Kubernetes service spec...

Actual behavior

LoadbalancerSourceRanges that are outside of an packet's IP are allowed into antrea clusters where antreaproxy is used.

Note this isnt a HUGE bug b/c alas, even the windows service proxy doesnt yet implement this

QUESTION:

Could this be done by reusing HNS packet filtering from the HNS ACLs ? Or does it require OVS?

aclPolicy := hns.ACLPolicy{
	Type:            hns.ACL,
	Action:          hns.Block,
	Direction:       hns.In,
	RemoteAddresses: loadBalancerSourceRanges
}
```?

test failed due to pull rate limit issue from docker

Describe the bug
When triggering IPv6 CI tests frequently, pulling docker images could result in a rate limit issue.

To Reproduce
Trigger ipv6 related tests frequently.

Expected
Image should be pulled normally.

Actual behavior
Successfully built e94b32f7fe96
Successfully tagged antrea/openvswitch-debs:antrea-v1.10
Sending build context to Docker daemon 24.06kB

Step 1/11 : FROM ubuntu:22.04 as ovs-debs
toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Additional context
Pulling related images from harbor should be supported to avoid rate limit problem.

Random Failures When Unpacking Antrea Image on Windows Testbed

Describe the bug
When attempting to unpack the Antrea Windows image docker.io/antrea/antrea-windows:latest, I encountered the following error randomly:

unpacking docker.io/antrea/antrea-windows:latest (sha256:9b3c707aabd24d5190afedcd6e6301aa7ffd65a21488550d1b8b771a5c5d7cbb)...
time="2023-10-31T22:55:35-07:00" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:30baeec5d6941292f9e7d22617d5d707b32016e8f936fb75184fa135ac3238bd: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3): unknown" key="extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf"
time="2023-10-31T22:55:37-07:00" level=warning msg="extraction snapshot removal failed" error="snapshot extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf does not exist: not found" key="extract-995477400--Seg sha256:07085b3fdcb4afbf8907934ab6b2483733f12ed6050e5616d44cb9b21d08aaaf"
ctr: failed to extract layer sha256:30baeec5d6941292f9e7d22617d5d707b32016e8f936fb75184fa135ac3238bd: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3): unknown

To Reproduce
Windows CI pipeline error

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.