Giter VIP home page Giter VIP logo

Comments (7)

jnummelin avatar jnummelin commented on September 25, 2024

The only way for the LB pods to crash without any log entries is on this line: https://github.com/kontena/akrobateo/blob/master/lb-image/entrypoint.sh#L8

And yes, if that is the case it really should log something. :)

The change between loadbalancer and nodeport is currently unhandled as you noticed. We need to handle that too at some point. If possible, could you separate that into another issue to track it properly.

from akrobateo.

infinitydon avatar infinitydon commented on September 25, 2024

Thanks for the reply.. I will check this again.

I have opened a separate case for the Daemonset not been deleted after service type is changed back to NodePort.

from akrobateo.

jnummelin avatar jnummelin commented on September 25, 2024

#23 introduced some logging for the case of ip forwarding not enabled. could you test with the latest image?

from akrobateo.

infinitydon avatar infinitydon commented on September 25, 2024

Hi,

Yes I can see some logs now, but strangely I am seeing 2 containers inside the service-lb pods (echo & echo2)..

service-lb-echoserver-7bltj   2/2     Running   0          13m
service-lb-echoserver-gpjdj   2/2     Running   0          13m
service-lb-echoserver-kw9zk   2/2     Running   0          13m
service-lb-echoserver-rm6hb   2/2     Running   0          13m
service-lb-echoserver-tdqrj   2/2     Running   0          13m

Is this normal?

from akrobateo.

jnummelin avatar jnummelin commented on September 25, 2024

Do you have multiple ports defined in the service? The lb pods have a container per port

from akrobateo.

infinitydon avatar infinitydon commented on September 25, 2024

No I am the test-service template in the git repo (echoserver), I did not modify the file at all

from akrobateo.

jnummelin avatar jnummelin commented on September 25, 2024

The test-service does have two ports defined:

apiVersion: v1
kind: Service
metadata:
  name: echoserver
spec:
  type: LoadBalancer
  ports:
  - name: echo
    port: 8080
    targetPort: 8080
    protocol: TCP
  - name: echo2
    port: 9090
    targetPort: 8080
    protocol: TCP
  selector:
    app: echoserver

So Akrobateo will create the pods so that there's a container for each port, two in this case.

from akrobateo.

Related Issues (17)

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.