GithubHelp home page GithubHelp logo

Comments (5)

k8spacket avatar k8spacket commented on May 30, 2024

Hi @durant0819
Could you share logs of the init-k8spacket container:

k -n k8spacket logs <k8spacket-pod-name> -f -c init-k8spacket 

and whole logs from the k8spacket container as well:

k -n k8spacket logs <k8spacket-pod-name> -f -c k8spacket

from k8spacket.

durant0819 avatar durant0819 commented on May 30, 2024

Dear,

It's my Pod status

[root@k8s-aio k8spacket-helm]# kubectl get po -A NAMESPACE NAME READY STATUS RESTARTS AGE k8spacket k8spacket-9btzh 1/1 Running 13 (4m39s ago) 116m

And Actually I found that:
[root@k8s-aio k8spacket-helm]# kubectl -n k8spacket logs k8spacket-9btzh -f -c init-k8spacket
Connecting to github.com (20.205.243.166:443)
wget: note: TLS certificate validation not implemented
wget: short read, have only 0: Connection reset by peer
wget: error getting response: Connection reset by peer

The whole log here,
[root@k8s-aio k8spacket-helm]# kubectl -n k8spacket logs k8spacket-9btzh -f -c k8spacket
2023/01/18 11:34:37 Serving requests on port 6676
2023/01/18 11:34:37 Refreshing interfaces for capturing...
Getting k8s resources
2023/01/18 11:34:37 Starting capture on interface "cali7added6fba2"
2023/01/18 11:34:37 Starting capture on interface "cali1421c7edebd"
2023/01/18 11:34:37 Starting capture on interface "tunl0"
2023/01/18 11:34:37 Starting capture on interface "cali122f70eab85"
2023/01/18 11:34:37 Starting capture on interface "caliee991d03a8a"
2023/01/18 11:34:37 Starting capture on interface "cali3f0b4533ac1"
2023/01/18 11:34:37 reading in packets
2023/01/18 11:34:37 reading in packets
2023/01/18 11:34:37 reading in packets
2023/01/18 11:34:37 reading in packets
2023/01/18 11:34:37 reading in packets
2023/01/18 11:34:37 reading in packets
Found 12 pods
Found 5 services
2023/01/18 11:34:47 Refreshing interfaces for capturing...
2023/01/18 11:34:57 Refreshing interfaces for capturing...
2023/01/18 11:35:07 Refreshing interfaces for capturing...

and it is a loop (Refreshing interfaces for capturing...) till now~

Thank you very much for you support~~~

from k8spacket.

k8spacket avatar k8spacket commented on May 30, 2024

@durant0819

Logs from the k8spacket container look great. Refreshing interfaces for capturing... means that every 10 seconds k8spacket check if there are new network interfaces to listen to. (See: https://github.com/k8spacket/k8spacket-helm-chart/blob/master/charts/k8spacket/values.yaml#L73)

The problem is in the init-k8spacket container. It's hard to say why you got wget: error getting response: Connection reset by peer
Is the GitHub page possibly blocked somehow from your Kubernetes cluster area?
If yes, You can download plugins, expose them somewhere visible for the K8S cluster, and change links in values for the helm, similar to this: #15 (comment)

from k8spacket.

durant0819 avatar durant0819 commented on May 30, 2024

Dear,
Maybe I could only say that because some indescribable reason in "天(和谐)朝", github can be used all depends.... whatever...
Thanks a lot, I will tried the lower edition....

from k8spacket.

k8spacket avatar k8spacket commented on May 30, 2024

Hi @durant0819

I found that issue.
Indeed it wasn't a problem with your environment. The problem was in the busybox image.
It is fixed, and you can try it once again with updated helm repo:

helm repo update k8spacket
helm install k8spacket --namespace k8spacket k8spacket/k8spacket --create-namespace

from k8spacket.

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.