Skip to content

Increase GCE metadata timeout for GKE workload identity #186

@jmcarp

Description

@jmcarp

When authenticating via GKE workload identity, the GCE metadata server isn't available for the first few seconds of the pod's existence. Since gargle uses a default timeout of 0.8s for the GCE metadata server, authentication often fails with workload identity enabled if it's the first step of a command. I think it would be useful to either increase the default timeout in line with the GKE docs, or if that would cause other problems, include a note in the docs. Happy to submit a patch for either option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions