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

Kathara with kubernetes #237

Closed
Trourest186 opened this issue Aug 24, 2023 · 5 comments
Closed

Kathara with kubernetes #237

Trourest186 opened this issue Aug 24, 2023 · 5 comments
Assignees
Labels

Comments

@Trourest186
Copy link

As I know, Kathara emulates virtual machines, network devices over containers. I'm researching to see if Kathara can be combined with K8s. For example:

  • Install K8s on Kathara, because I know now there is a "kind" that is able to create k8s on the container platform
  • Or is there another solution I want to install docker on Kathara containers?

Please suggest the feasibility of studying the above issues

Best regards!
Giang

@Skazza94
Copy link
Member

Hi @Trourest186,
surely you can create a Kubernetes cluster with Kathará.

Unfortunately, we do not have a Docker official image with Kubernetes installed. But it should be easy to create. If you manage to do so, you can open a pull request on the Docker Images repository.

If you need any help, feel free to reply to this issue.

Cheers,
Mariano.

@Trourest186
Copy link
Author

Hi @Trourest186, surely you can create a Kubernetes cluster with Kathará.

Unfortunately, we do not have a Docker official image with Kubernetes installed. But it should be easy to create. If you manage to do so, you can open a pull request on the Docker Images repository.

If you need any help, feel free to reply to this issue.

Cheers, Mariano.

Thanks you so much!

@Trourest186
Copy link
Author

Hi @Skazza94, I have read more about Kathara, so far I have two problems that even testing still does not produce results. Would you suggest me:

  • I have read the issue very carefully issuse #167, found it close to my purpose.
    Can you tell me if there is a way that when using the command "kathara lstart --privileged" the system will understand itself as "docker run -v /var/run/docker.sock:/var/run/docker.sock - v /var/run/docker.pid:/var/run/docker.pid ...". I want mount it to containers.
  • Can be modified to allow Kathara to run with other runtimes such as (e.g. with sysbox-runc)?

Please take some time to support me. My knowledge is a bit limited. Thank you very much!

Best regards!
Giang

@Skazza94
Copy link
Member

Skazza94 commented Sep 1, 2023

Hi @Trourest186,
see inline.

Hi @Skazza94, I have read more about Kathara, so far I have two problems that even testing still does not produce results. Would you suggest me:

  • I have read the issue very carefully issuse #167, found it close to my purpose.
    Can you tell me if there is a way that when using the command "kathara lstart --privileged" the system will understand itself as "docker run -v /var/run/docker.sock:/var/run/docker.sock - v /var/run/docker.pid:/var/run/docker.pid ...". I want mount it to containers.

Currently there is no way to do that, but it is something that is planned to be added (something similar is in the inception branch).

  • Can be modified to allow Kathara to run with other runtimes such as (e.g. with sysbox-runc)?

Right now, Kathará is only compatible with the Docker and Kubernetes Python APIs. We have plans to support Podman, but in order to do so, the runtime must have a mature Python API implementation (e.g., the Podman API is still missing a TTY connection that we heavily use to connect to devices). As far as I can see, there is no Python API for sysbox-runc, so I think it is not easy to add support for it (aside from writing the API from scratch).

Hope this answers your questions!

Cheers,
Mariano.

@Trourest186
Copy link
Author

Hi @Skazza94

Thank you for your detailed and careful answer, thanks to which I have the answer for my direction.

Best regards!
Giang.

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

No branches or pull requests

3 participants