Skip to content

Commit

Permalink
Issue 607: add toleration support for controller and segmentStore pods (
Browse files Browse the repository at this point in the history
#608)

* add toleration support for controller and segmentStore pods

Signed-off-by: Alfred Landrum <[email protected]>

* run make manifests

Signed-off-by: Alfred Landrum <[email protected]>

* run controller-gen object ...

updates by running:

controller-gen object paths="./..."

Signed-off-by: Alfred Landrum <[email protected]>
  • Loading branch information
alfred-landrum authored May 18, 2022
1 parent ed18236 commit 43108bf
Show file tree
Hide file tree
Showing 10 changed files with 190 additions and 51 deletions.
23 changes: 1 addition & 22 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions api/v1beta1/pravega.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,12 @@ type PravegaSpec struct {
// SegmentStoreProbes specifies the values for configurable fields of Readiness and Liveness Probes
// for the segmentstore pods.
SegmentStoreProbes *Probes `json:"segmentStoreProbes,omitempty"`

// Tolerations for the Controller pods.
ControllerPodTolerations []corev1.Toleration `json:"controllerPodTolerations,omitempty"`

// Tolerations for the SegmentStore pods.
SegmentStorePodTolerations []corev1.Toleration `json:"segmentStorePodTolerations,omitempty"`
}

type Probes struct {
Expand Down
42 changes: 17 additions & 25 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43108bf

Please sign in to comment.