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

Create kubectl plugin for commonly required debugging information #204

Open
philbrookes opened this issue Aug 1, 2024 · 0 comments
Open
Assignees

Comments

@philbrookes
Copy link
Collaborator

philbrookes commented Aug 1, 2024

A plugin for kubectl to enable easier debugging of users problems, which could potentially also access the DNS Provider to retrieve extra information, and to test the provider credentials are functional and present.

kubectl dns get-zone-records:

  • by host (e.g. app.pb.hcpapps.net) or DNS Record
  • by dnspolicy CR - every DNS Record owned by the policy

Pull directly from provider API.

Format to use when listing records and connected owners:

zone overview:
  array of yaml output for each endpoint pulled from the zone 

kubectl dns delete-owner

  • create DNS Record with owner ID
  • wait for finalizer
  • delete DNS Record
  • wait for removal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants