Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The K8S cluster is not working #10

Open
HUAYAN999 opened this issue Nov 19, 2024 · 7 comments
Open

The K8S cluster is not working #10

HUAYAN999 opened this issue Nov 19, 2024 · 7 comments

Comments

@HUAYAN999
Copy link

I am experiencing the following problem when using, the K8S cluster cannot run normally, and the following error is displayed, how can I continue the configuration?
屏幕截图 2024-11-19 112945

Then I checked the operation of the K8S cluster, and it was indeed not running, how to solve this situation?
屏幕截图 2024-11-19 113335

I looked up the previous issue page and there was one guy who had a similar issue to me, he solved the apt update issue by importing the GPG key, I used the same method but I still can't use the K8S cluster. How do I continue working?

@onehouwong
Copy link
Contributor

Could you provide more information here? For example, what's the error after you run apt update and what's the output of the GPG key import command.

Due to these compatibility reasons, we won't recommend using the artifact anymore since it's based on an old ubuntu version. Instead we recommend to instantiate a fresh ubuntu 20.04 vm and follow this guide (https://github.com/5GSEC/5G-Spector/wiki/O%E2%80%90RAN-SC-RIC-Deployment-Guide) to deploy the 5G network and RIC from scratch.

@HUAYAN999
Copy link
Author

The result of the run is as shown in the image, but the K8S cluster still doesn't work, even though I've tried importing the GPG key
屏幕截图 2024-11-20 104456
屏幕截图 2024-11-20 105012
Also, my goal is to try to build this system as well as reproduce the attack detection process, if I try to deploy from scratch using the link you gave, can I successfully get similar results to deploying that artifact, how do I successfully reproduce the attack detection process?

@onehouwong
Copy link
Contributor

It seems your apt update was running successfully so it's not likely the issue of GPG keys. The kubectl connection refused can have many causes, you may want to further debug this through existing solutions, such as https://discuss.kubernetes.io/t/the-connection-to-the-server-host-6443-was-refused-did-you-specify-the-right-host-or-port/552/4.

@HUAYAN999
Copy link
Author

Unfortunately, I tried many things, but none of them worked. Can your team try to run the artifact as provided and how to use it and find a workaround? Thank you very much

@HUAYAN999
Copy link
Author

In addition, if the K8S cluster fails to connect properly, if I redeploy the K8S cluster in the virtual image of the artifact, will it have a significant impact on the artifact? Is this possible?

@HUAYAN999
Copy link
Author

HUAYAN999 commented Nov 27, 2024 via email

@onehouwong
Copy link
Contributor

Can you try deploy 5G-Spector from scratch to avoid the k8s issue? We also have provided corresponding attack implementations for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants