Skip to content

Commit

Permalink
feat:support hostNetWork for components
Browse files Browse the repository at this point in the history
Signed-off-by: chenzl204 <[email protected]>
  • Loading branch information
chenzl204 authored and haorenfsa committed Jul 1, 2024
1 parent 592de3d commit e5f665d
Show file tree
Hide file tree
Showing 12 changed files with 359 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apis/milvus.io/v1beta1/components_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ type ComponentSpec struct {
// PriorityClassName indicates the pod's priority.
// +kubebuilder:validation:Optional
PriorityClassName string `json:"priorityClassName,omitempty"`

// HostNetwork indicates whether to use host network
// +kubebuilder:validation:Optional
HostNetwork bool `json:"hostNetwork,omitempty"`

// DNSPolicy indicates the pod's DNS policy
// +kubebuilder:validation:Optional
DNSPolicy corev1.DNSPolicy `json:"dnsPolicy,omitempty"`
}

// ImageUpdateMode is how the milvus components' image should be updated. works only when rolling update is enabled.
Expand Down
Loading

0 comments on commit e5f665d

Please sign in to comment.