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

Consider the missing APIs that are not implemented #24

Open
matheuscscp opened this issue Dec 30, 2023 · 0 comments
Open

Consider the missing APIs that are not implemented #24

matheuscscp opened this issue Dec 30, 2023 · 0 comments
Labels
enhancement New feature or request needs investigation nice to have Something nice to have but without a high priority.

Comments

@matheuscscp
Copy link
Owner

matheuscscp commented Dec 30, 2023

Most of the APIs of the GKE Metadata Server that are not implemented yet cannot be trivially mapped in a generic Kuberntes cluster.

A few ideas:

/computeMetadata/v1/instance/hostname and /computeMetadata/v1/instance/id could return the same as /computeMetadata/v1/instance/name (GCE docs for /name are here).

The remaining APIs under /computeMetadata/v1/project/ and /computeMetadata/v1/instance/attributes/ refer to GCP resources and concepts that may not necessarily exist in the context of a generic Kubernetes cluster. What if for those APIs there was some sort of static configuration in the emulator? Another option is retrieving this info from Node annotations.

@matheuscscp matheuscscp added good first issue Good for newcomers nice to have Something nice to have but without a high priority. needs investigation enhancement New feature or request and removed good first issue Good for newcomers labels Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs investigation nice to have Something nice to have but without a high priority.
Projects
None yet
Development

No branches or pull requests

1 participant