Skip to content

Add HA scheme and Kubernetes services to cluster config#141

Merged
eriknordmark merged 2 commits intolf-edge:mainfrom
naiming-zededa:en-cluster-config-change
Mar 12, 2026
Merged

Add HA scheme and Kubernetes services to cluster config#141
eriknordmark merged 2 commits intolf-edge:mainfrom
naiming-zededa:en-cluster-config-change

Conversation

@naiming-zededa
Copy link
Contributor

  • add kubernetes control plane HA scheme, the default is the etcd/raft
    k3s embedded scheme
  • add the kubernetes service block, the first one is load-balancer
  • clarify the existing ClusterType, to be for Native Orchestration or
    for EVE API based. remove the current HA scheme define from it

Copy link

@zedi-pramodh zedi-pramodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

message KubernetesService {
KubernetesServiceType type = 1;

oneof service_config {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The oneof aren't really useful. And since all fields are optional you can just define this is a LoadBalancerService, perhaps with a comment that this is optional.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. updated.

@naiming-zededa naiming-zededa force-pushed the en-cluster-config-change branch from 2bf568e to 313dec1 Compare March 11, 2026 22:15
@eriknordmark
Copy link
Contributor

Looks like check no uncomitted files is failing in
https://github.com/lf-edge/eve-api/actions/runs/22977021089/job/66708015974?pr=141

@eriknordmark
Copy link
Contributor

Also, please squash into two commits (one for the proto files and one for the derived) and zero merge commits.

@naiming-zededa naiming-zededa force-pushed the en-cluster-config-change branch from 313dec1 to 7654024 Compare March 12, 2026 04:53
- add kubernetes control plane HA scheme, the default is the etcd/raft
  k3s embedded scheme
- add the kubernetes service block, the first one is load-balancer
- clarify the existing ClusterType, to be for Native Orchestration or
  for EVE API based. remove the current HA scheme define from it

Signed-off-by: naiming-zededa <naiming@zededa.com>
…onfig

- add generated files

Signed-off-by: naiming-zededa <naiming@zededa.com>
@naiming-zededa naiming-zededa force-pushed the en-cluster-config-change branch from 7654024 to 5897d07 Compare March 12, 2026 05:04
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eriknordmark eriknordmark merged commit c3b6e2f into lf-edge:main Mar 12, 2026
4 checks passed
@naiming-zededa naiming-zededa deleted the en-cluster-config-change branch March 12, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants