Skip to content
New issue

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

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

Already on GitHub? # to your account

[TECH DEBT] Remove k8s execution module #13

Open
djivey opened this issue Jan 14, 2025 · 1 comment
Open

[TECH DEBT] Remove k8s execution module #13

djivey opened this issue Jan 14, 2025 · 1 comment

Comments

@djivey
Copy link
Contributor

djivey commented Jan 14, 2025

Description of the tech debt to be addressed, include links and screenshots

Looking through the history of the k8s module and comparing it to the kubernetesmod module. k8s has similar functionality to kubernetesmod, but has not been updated with any meaningful contributions since 2016. Most of the functionality of k8s can be found in kubernetesmod. It looks like k8s was created first, but kubernetesmod is a lot more robust as a module and has a corresponding state module.

Common functions in both modules:

  • namespaces
  • secrets
  • node labels
  • Both use the Kubernetes API for operations

Differences in both modules:

  • kubernetesmod:

    • Also manages (deployments, pods, services, and configmaps)
    • Uses the official kubernetes python client library
    • More comprehensive error handling
    • Supports newer Kubernetes features
    • Has better authentication handling
  • k8s:

    • More basic implementation
    • Uses direct http requests
    • May lack support for newer Kubernetes features
@djivey
Copy link
Contributor Author

djivey commented Jan 14, 2025

Kubeadm may also be worth scrapping unless someone has a desire/need to update it.

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

No branches or pull requests

1 participant