Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ pao-functests-updating-profile: cluster-label-worker-cnf pao-functests-update-on
pao-functests-update-only: $(BINDATA)
@echo "Cluster Version"
hack/show-cluster-version.sh
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/2_performance_update test/e2e/performanceprofile/functests/3_performance_status test/e2e/performanceprofile/functests/7_performance_kubelet_node test/e2e/performanceprofile/functests/9_reboot test/e2e/performanceprofile/functests/13_llc" -p "-v -r --fail-fast --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functional Tests"
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/3_performance_status " -p "-v -r --fail-fast --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functional Tests"

# hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/2_performance_update test/e2e/performanceprofile/functests/3_performance_status test/e2e/performanceprofile/functests/7_performance_kubelet_node test/e2e/performanceprofile/functests/9_reboot test/e2e/performanceprofile/functests/13_llc" -p "-v -r --fail-fast --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functional Tests"

.PHONY: pao-functests-update-only-hypershift
pao-functests-update-only-hypershift: $(BINDATA)
Expand Down
6 changes: 5 additions & 1 deletion manifests/20-profile.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,12 @@ spec:
type: object
properties:
reapply_sysctl:
description: 'turn reapply_sysctl functionality on/off for the TuneD daemon: true/false'
description: 'turn reapply_sysctl functionality on/off for the TuneD daemon: true/false (default is true)'
type: boolean
startup_udev_settle_wait:
description: 'configure startup_udev_settle_wait timeout functionality for the TuneD daemon: unsigned integer (default is 20)'
type: integer
format: int64
tunedProfile:
description: TuneD profile to apply
type: string
Expand Down
8 changes: 7 additions & 1 deletion manifests/20-tuned.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,14 @@ spec:
properties:
reapply_sysctl:
description: 'turn reapply_sysctl functionality on/off
for the TuneD daemon: true/false'
for the TuneD daemon: true/false (default is true)'
type: boolean
startup_udev_settle_wait:
description: 'configure startup_udev_settle_wait timeout
functionality for the TuneD daemon: unsigned integer
(default is 20)'
format: int64
type: integer
type: object
verbosity:
description: klog logging verbosity
Expand Down
5 changes: 4 additions & 1 deletion pkg/apis/tuned/v1/tuned_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,12 @@ type OperandConfig struct {

// Global configuration for the TuneD daemon as defined in tuned-main.conf
type TuneDConfig struct {
// turn reapply_sysctl functionality on/off for the TuneD daemon: true/false
// turn reapply_sysctl functionality on/off for the TuneD daemon: true/false (default is true)
// +optional
ReapplySysctl *bool `json:"reapply_sysctl"`
// configure startup_udev_settle_wait timeout functionality for the TuneD daemon: unsigned integer (default is 20)
// +optional
StartupUdevSettleWait *uint64 `json:"startup_udev_settle_wait"`
}

// TunedStatus is the status for a Tuned resource.
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/tuned/v1/zz_generated.deepcopy.go

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

4 changes: 2 additions & 2 deletions pkg/generated/clientset/versioned/clientset.go

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

137 changes: 19 additions & 118 deletions pkg/generated/clientset/versioned/typed/tuned/v1/fake/fake_profile.go

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

137 changes: 19 additions & 118 deletions pkg/generated/clientset/versioned/typed/tuned/v1/fake/fake_tuned.go

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

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

Loading