Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about ETCD spec #12

Open
lengrongfu opened this issue Jul 26, 2022 · 1 comment
Open

about ETCD spec #12

lengrongfu opened this issue Jul 26, 2022 · 1 comment
Labels

Comments

@lengrongfu
Copy link

  • current spec is
type ETCD struct {
	// TODO: support external etcd.
	// StorageMode etcd data storage mode(emptyDir,hostPath, PVC), default "emptyDir"
	// +optional
	StorageMode string `json:"storageMode,omitempty"`

	// If specified StorageMode is PVC, StorageClass must be set.
	// +optional
	StorageClass string `json:"storageClass,omitempty"`

	// If specified StorageMode is PVC, Size must be set.
	// +optional
	Size string `json:"size,omitempty"`
}
  • advice spec is
type ETCD struct {
	// Storage about etcd data storage config
	// +optional
	Storage corev1.Volume `json:"storage,omitempty"`

	// Servers is config external etcd
	// +optional
	Servers string `json:"servers,omitempty"`
}
@calvin0327
Copy link
Contributor

@lengrongfu thanks for your opinion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants