Skip to content

kubectl ModifyConfig doesn't prevent concurrent access #23964

Closed
@cjcullen

Description

https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L193

If multiple kubectl's run kubectl set ... at the same time, they might leave the file in a bad state. This is probably an edge case now, but if some of the ideas from #23066 get implemented, it could be a slightly worse problem.

@jlowdermilk @deads2k

Metadata

Assignees

Labels

area/kubectlpriority/critical-urgentHighest priority. Must be actively worked on as someone's top priority right now.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions