Coder Social home page Coder Social logo

k8s-net-attach-def-controller's People

Contributors

przemeklal avatar rkamudhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

k8s-net-attach-def-controller's Issues

Missing license

Repo and all source files are missing any kind of license, so they are basically dangerous to use.

@przemeklal @rkamudhan please add some license as technically only you are allowed to do that according to general law rules.

EP not update on FederatedService

It looks like the FederatedService doesn't pass the annotation to the Service. Thus this controller can not update EP. Any advice?

Here is my FederatedService:

apiVersion: types.federation.k8s.io/v1alpha1
kind: FederatedService
metadata:
  name: http-master
  namespace: http
  annotations:
    k8s.v1.cni.cncf.io/networks: '[
            { "name" : "http-net",
              "interfaceRequest" : "net1",
              "namespace": "http" }
    ]'
spec:
  template:
    spec:
      selector:
        k8s-app: http
      externalTrafficPolicy: Local
      type: NodePort
      ports:
        - name: http
          port: 80
          targetPort: 80
  placement:
    clusterNames:
    - cluster2
    - cluster1

Here is after created:
##kubectl -n http get svc http-master -o yaml

apiVersion: v1
kind: Service
metadata:
  creationTimestamp: 2019-04-10T22:43:58Z
  name: http-master
  namespace: http
  resourceVersion: "5318548"
  selfLink: /api/v1/namespaces/http/services/ebi-http-master
  uid: 20efbf2b-5be2-11e9-a1aa-005056ab7186
spec:
  clusterIP: 10.104.205.173
  externalTrafficPolicy: Local
  ports:
  - name: http
    nodePort: 32542
    port: 80
    protocol: TCP
    targetPort: 80
  selector:
    k8s-app: http
  sessionAffinity: None
  type: NodePort
status:
  loadBalancer: {}

##kubectl -n http get federatedservice http-master -o yaml

apiVersion: types.federation.k8s.io/v1alpha1
kind: FederatedService
metadata:
  annotations:
    k8s.v1.cni.cncf.io/networks: '[ { "name" : "http-net", "interfaceRequest" : "net1",
      "namespace": "http" } ]'
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"types.federation.k8s.io/v1alpha1","kind":"FederatedService","metadata":{"annotations":{"k8s.v1.cni.cncf.io/networks":"[ { \"name\" : \"http-net\", \"interfaceRequest\" : \"net1\", \"namespace\": \"http\" } ]"},"name":"http-master","namespace":"http"},"spec":{"placement":{"clusterNames":["cluster2","cluster1"]},"template":{"spec":{"externalTrafficPolicy":"Local","ports":[{"name":"http","port":80,"targetPort":80}],"selector":{"k8s-app":"http"},"type":"NodePort"}}}}
  creationTimestamp: 2019-04-10T18:22:20Z
  finalizers:
  - federation.kubernetes.io/delete-from-underlying-clusters
  - orphan
  generation: 1
  name: http-master
  namespace: http
  resourceVersion: "5265918"
  selfLink: /apis/types.federation.k8s.io/v1alpha1/namespaces/http/federatedservices/http-master
  uid: 9412207c-5bbd-11e9-a1aa-005056ab7186
spec:
  placement:
    clusterNames:
    - cluster2
    - cluster1
  template:
    spec:
      externalTrafficPolicy: Local
      ports:
      - name: http
        port: 80
        targetPort: 80
      selector:
        k8s-app: http
      type: NodePort

Do not work at all

I'm using kubernetes v1.20.4, it doesn't work for me. I completely followed the README, but the endpoint never changes to the ip of the secondary address

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.