Skip to content

Support disabling creation of runtime components for etcd cluster #1106

@shreyas-s-rao

Description

@shreyas-s-rao

How to categorize this issue?

/area usability
/kind enhancement

What would you like to be added:
As part of #1071 , we need to allow specifying to druid to provision an etcd cluster with the correct expected configuration, but without running any of the etcd pods. Additionally, the etcd-backup-restore sidecar should be configured to disable lease renewal, since the pods do not have access to the same kube-apiserver that druid talks to to create the member leases and snapshot leases. Since lease renewal is disabled, druid need not create components such as member leases, snapshot leases, RBAC (serviceaccount, role, rolebinding) resources required by the backup sidecar to renew these leases. Since etcd-druid derives many of the Etcd status fields and conditions from these leases, these checks will also need to be disabled.

Why is this needed:
This is a replacement of #1087, which introduced the ability to disable renewal of member leases and snapshot leases by the etcd-backup-restore sidecar, but requires the additional changes mentioned above.

Metadata

Metadata

Assignees

Labels

area/usabilityUsability relatedkind/enhancementEnhancement, improvement, extensionstatus/closedIssue is closed (either delivered or triaged)

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions