Coder Social home page Coder Social logo

Mismatch between the network annotation in - K8s plumbing working group documentation and the implementation about multus-cni HOT 6 CLOSED

k8snetworkplumbingwg avatar k8snetworkplumbingwg commented on July 21, 2024
Mismatch between the network annotation in - K8s plumbing working group documentation and the implementation

from multus-cni.

Comments (6)

dougbtv avatar dougbtv commented on July 21, 2024 1

Yep, this is definitely a mistake here, I don't think the version string got attached. Here's the sample pod I was working from:

apiVersion: v1
kind: Pod
metadata:
  name: bothpod
  annotations:
    kubernetes.cni.cncf.io/networks: macvlan-conf,flannel-conf
spec:
  containers:
  - name: bothpod
    command: ["/bin/bash", "-c", "sleep 2000000000000"]
    image: dougbtv/centos-network
    ports:
    - containerPort: 80

And that pod really needs to be...

apiVersion: v1
kind: Pod
metadata:
  name: bothpod
  annotations:
    kubernetes.v1.cni.cncf.io/networks: macvlan-conf,flannel-conf
spec:
  containers:
  - name: bothpod
    command: ["/bin/bash", "-c", "sleep 2000000000000"]
    image: dougbtv/centos-network
    ports:
    - containerPort: 80

I'll submit a fix for this one -- thanks for the eyes Kural! (I also left a comment on the spec in response to yours, too.

from multus-cni.

rkamudhan avatar rkamudhan commented on July 21, 2024

@dougbtv @s1061123 : I think, we have to change the documentation for it.

from multus-cni.

rkamudhan avatar rkamudhan commented on July 21, 2024

Thanks @dougbtv

from multus-cni.

rkamudhan avatar rkamudhan commented on July 21, 2024

@s1061123 @dougbtv Creating a patch for it along with k8s-client package

from multus-cni.

dougbtv avatar dougbtv commented on July 21, 2024

Kural, cool if you have it in the dev/nwpg-crd-changes-k8s-client-feature branch -- that's good, otherwise, I'd wait until that change is complete because it moves all that logic to a new file. I just previewed that branch, looks good, and thanks for kicking that off.

from multus-cni.

rkamudhan avatar rkamudhan commented on July 21, 2024

#58 Fixed in the PR

from multus-cni.

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.