Skip to content

Ubernetes: Where to put the code #23557

Closed
@nikhiljindal

Description

We will have ubernetes code that is similar to a lot of kubernetes code in the following directories:

  • cmd/kube-apiserver
  • pkg/apis
  • pkg/client
  • pkg/controller
  • api/swagger-spec
  • docs/api-reference

The current PRs are adding ubernetes code to these directories.

@madhusudancs and I think that creating a new pkg/ubernetes directory and putting all ubernetes code their seems better.
We can have cmd/, apis/, client/, controller/ sub directories under that.
In future, we can move pkg/ubernetes code into a separate repository.

What do others think? I think @lavalamp had also suggested creating a new directory to contain all ubernetes code.

Is pkg/ubernetes the right name? or is pkg/clusterfederation better?

@kubernetes/sig-cluster-federation @kubernetes/sig-api-machinery

Metadata

Assignees

Labels

sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions