github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/config/crd/preflight/troubleshoot.sh_hostpreflights.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.9.0 7 creationTimestamp: null 8 name: hostpreflights.troubleshoot.sh 9 spec: 10 group: troubleshoot.sh 11 names: 12 kind: HostPreflight 13 listKind: HostPreflightList 14 plural: hostpreflights 15 singular: hostpreflight 16 scope: Namespaced 17 versions: 18 - name: v1beta2 19 schema: 20 openAPIV3Schema: 21 description: HostPreflight is the Schema for the hostpreflights API 22 properties: 23 apiVersion: 24 description: 'APIVersion defines the versioned schema of this representation 25 of an object. Servers should convert recognized schemas to the latest 26 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 27 type: string 28 kind: 29 description: 'Kind is a string value representing the REST resource this 30 object represents. Servers may infer this from the endpoint the client 31 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 32 type: string 33 metadata: 34 type: object 35 spec: 36 description: HostPreflightSpec defines the desired state of HostPreflight 37 properties: 38 analyzers: 39 items: 40 properties: 41 blockDevices: 42 properties: 43 annotations: 44 additionalProperties: 45 type: string 46 type: object 47 checkName: 48 type: string 49 collectorName: 50 type: string 51 exclude: 52 type: BoolString 53 includeUnmountedPartitions: 54 type: boolean 55 minimumAcceptableSize: 56 format: int64 57 type: integer 58 outcomes: 59 items: 60 properties: 61 fail: 62 properties: 63 message: 64 type: string 65 uri: 66 type: string 67 when: 68 type: string 69 type: object 70 pass: 71 properties: 72 message: 73 type: string 74 uri: 75 type: string 76 when: 77 type: string 78 type: object 79 warn: 80 properties: 81 message: 82 type: string 83 uri: 84 type: string 85 when: 86 type: string 87 type: object 88 type: object 89 type: array 90 strict: 91 type: BoolString 92 required: 93 - includeUnmountedPartitions 94 - minimumAcceptableSize 95 - outcomes 96 type: object 97 certificate: 98 properties: 99 annotations: 100 additionalProperties: 101 type: string 102 type: object 103 checkName: 104 type: string 105 collectorName: 106 type: string 107 exclude: 108 type: BoolString 109 outcomes: 110 items: 111 properties: 112 fail: 113 properties: 114 message: 115 type: string 116 uri: 117 type: string 118 when: 119 type: string 120 type: object 121 pass: 122 properties: 123 message: 124 type: string 125 uri: 126 type: string 127 when: 128 type: string 129 type: object 130 warn: 131 properties: 132 message: 133 type: string 134 uri: 135 type: string 136 when: 137 type: string 138 type: object 139 type: object 140 type: array 141 strict: 142 type: BoolString 143 required: 144 - outcomes 145 type: object 146 cpu: 147 properties: 148 annotations: 149 additionalProperties: 150 type: string 151 type: object 152 checkName: 153 type: string 154 collectorName: 155 type: string 156 exclude: 157 type: BoolString 158 outcomes: 159 items: 160 properties: 161 fail: 162 properties: 163 message: 164 type: string 165 uri: 166 type: string 167 when: 168 type: string 169 type: object 170 pass: 171 properties: 172 message: 173 type: string 174 uri: 175 type: string 176 when: 177 type: string 178 type: object 179 warn: 180 properties: 181 message: 182 type: string 183 uri: 184 type: string 185 when: 186 type: string 187 type: object 188 type: object 189 type: array 190 strict: 191 type: BoolString 192 required: 193 - outcomes 194 type: object 195 diskUsage: 196 properties: 197 annotations: 198 additionalProperties: 199 type: string 200 type: object 201 checkName: 202 type: string 203 collectorName: 204 type: string 205 exclude: 206 type: BoolString 207 outcomes: 208 items: 209 properties: 210 fail: 211 properties: 212 message: 213 type: string 214 uri: 215 type: string 216 when: 217 type: string 218 type: object 219 pass: 220 properties: 221 message: 222 type: string 223 uri: 224 type: string 225 when: 226 type: string 227 type: object 228 warn: 229 properties: 230 message: 231 type: string 232 uri: 233 type: string 234 when: 235 type: string 236 type: object 237 type: object 238 type: array 239 strict: 240 type: BoolString 241 required: 242 - outcomes 243 type: object 244 filesystemPerformance: 245 properties: 246 annotations: 247 additionalProperties: 248 type: string 249 type: object 250 checkName: 251 type: string 252 collectorName: 253 type: string 254 exclude: 255 type: BoolString 256 outcomes: 257 items: 258 properties: 259 fail: 260 properties: 261 message: 262 type: string 263 uri: 264 type: string 265 when: 266 type: string 267 type: object 268 pass: 269 properties: 270 message: 271 type: string 272 uri: 273 type: string 274 when: 275 type: string 276 type: object 277 warn: 278 properties: 279 message: 280 type: string 281 uri: 282 type: string 283 when: 284 type: string 285 type: object 286 type: object 287 type: array 288 strict: 289 type: BoolString 290 required: 291 - outcomes 292 type: object 293 hostOS: 294 properties: 295 annotations: 296 additionalProperties: 297 type: string 298 type: object 299 checkName: 300 type: string 301 collectorName: 302 type: string 303 exclude: 304 type: BoolString 305 outcomes: 306 items: 307 properties: 308 fail: 309 properties: 310 message: 311 type: string 312 uri: 313 type: string 314 when: 315 type: string 316 type: object 317 pass: 318 properties: 319 message: 320 type: string 321 uri: 322 type: string 323 when: 324 type: string 325 type: object 326 warn: 327 properties: 328 message: 329 type: string 330 uri: 331 type: string 332 when: 333 type: string 334 type: object 335 type: object 336 type: array 337 strict: 338 type: BoolString 339 required: 340 - outcomes 341 type: object 342 hostServices: 343 properties: 344 annotations: 345 additionalProperties: 346 type: string 347 type: object 348 checkName: 349 type: string 350 collectorName: 351 type: string 352 exclude: 353 type: BoolString 354 outcomes: 355 items: 356 properties: 357 fail: 358 properties: 359 message: 360 type: string 361 uri: 362 type: string 363 when: 364 type: string 365 type: object 366 pass: 367 properties: 368 message: 369 type: string 370 uri: 371 type: string 372 when: 373 type: string 374 type: object 375 warn: 376 properties: 377 message: 378 type: string 379 uri: 380 type: string 381 when: 382 type: string 383 type: object 384 type: object 385 type: array 386 strict: 387 type: BoolString 388 required: 389 - outcomes 390 type: object 391 http: 392 properties: 393 annotations: 394 additionalProperties: 395 type: string 396 type: object 397 checkName: 398 type: string 399 collectorName: 400 type: string 401 exclude: 402 type: BoolString 403 outcomes: 404 items: 405 properties: 406 fail: 407 properties: 408 message: 409 type: string 410 uri: 411 type: string 412 when: 413 type: string 414 type: object 415 pass: 416 properties: 417 message: 418 type: string 419 uri: 420 type: string 421 when: 422 type: string 423 type: object 424 warn: 425 properties: 426 message: 427 type: string 428 uri: 429 type: string 430 when: 431 type: string 432 type: object 433 type: object 434 type: array 435 strict: 436 type: BoolString 437 required: 438 - outcomes 439 type: object 440 httpLoadBalancer: 441 properties: 442 annotations: 443 additionalProperties: 444 type: string 445 type: object 446 checkName: 447 type: string 448 collectorName: 449 type: string 450 exclude: 451 type: BoolString 452 outcomes: 453 items: 454 properties: 455 fail: 456 properties: 457 message: 458 type: string 459 uri: 460 type: string 461 when: 462 type: string 463 type: object 464 pass: 465 properties: 466 message: 467 type: string 468 uri: 469 type: string 470 when: 471 type: string 472 type: object 473 warn: 474 properties: 475 message: 476 type: string 477 uri: 478 type: string 479 when: 480 type: string 481 type: object 482 type: object 483 type: array 484 strict: 485 type: BoolString 486 required: 487 - outcomes 488 type: object 489 ipv4Interfaces: 490 properties: 491 annotations: 492 additionalProperties: 493 type: string 494 type: object 495 checkName: 496 type: string 497 collectorName: 498 type: string 499 exclude: 500 type: BoolString 501 outcomes: 502 items: 503 properties: 504 fail: 505 properties: 506 message: 507 type: string 508 uri: 509 type: string 510 when: 511 type: string 512 type: object 513 pass: 514 properties: 515 message: 516 type: string 517 uri: 518 type: string 519 when: 520 type: string 521 type: object 522 warn: 523 properties: 524 message: 525 type: string 526 uri: 527 type: string 528 when: 529 type: string 530 type: object 531 type: object 532 type: array 533 strict: 534 type: BoolString 535 required: 536 - outcomes 537 type: object 538 kernelModules: 539 properties: 540 annotations: 541 additionalProperties: 542 type: string 543 type: object 544 checkName: 545 type: string 546 collectorName: 547 type: string 548 exclude: 549 type: BoolString 550 outcomes: 551 items: 552 properties: 553 fail: 554 properties: 555 message: 556 type: string 557 uri: 558 type: string 559 when: 560 type: string 561 type: object 562 pass: 563 properties: 564 message: 565 type: string 566 uri: 567 type: string 568 when: 569 type: string 570 type: object 571 warn: 572 properties: 573 message: 574 type: string 575 uri: 576 type: string 577 when: 578 type: string 579 type: object 580 type: object 581 type: array 582 strict: 583 type: BoolString 584 required: 585 - outcomes 586 type: object 587 memory: 588 properties: 589 annotations: 590 additionalProperties: 591 type: string 592 type: object 593 checkName: 594 type: string 595 collectorName: 596 type: string 597 exclude: 598 type: BoolString 599 outcomes: 600 items: 601 properties: 602 fail: 603 properties: 604 message: 605 type: string 606 uri: 607 type: string 608 when: 609 type: string 610 type: object 611 pass: 612 properties: 613 message: 614 type: string 615 uri: 616 type: string 617 when: 618 type: string 619 type: object 620 warn: 621 properties: 622 message: 623 type: string 624 uri: 625 type: string 626 when: 627 type: string 628 type: object 629 type: object 630 type: array 631 strict: 632 type: BoolString 633 required: 634 - outcomes 635 type: object 636 systemPackages: 637 properties: 638 annotations: 639 additionalProperties: 640 type: string 641 type: object 642 checkName: 643 type: string 644 collectorName: 645 type: string 646 exclude: 647 type: BoolString 648 outcomes: 649 items: 650 properties: 651 fail: 652 properties: 653 message: 654 type: string 655 uri: 656 type: string 657 when: 658 type: string 659 type: object 660 pass: 661 properties: 662 message: 663 type: string 664 uri: 665 type: string 666 when: 667 type: string 668 type: object 669 warn: 670 properties: 671 message: 672 type: string 673 uri: 674 type: string 675 when: 676 type: string 677 type: object 678 type: object 679 type: array 680 strict: 681 type: BoolString 682 required: 683 - outcomes 684 type: object 685 tcpConnect: 686 properties: 687 annotations: 688 additionalProperties: 689 type: string 690 type: object 691 checkName: 692 type: string 693 collectorName: 694 type: string 695 exclude: 696 type: BoolString 697 outcomes: 698 items: 699 properties: 700 fail: 701 properties: 702 message: 703 type: string 704 uri: 705 type: string 706 when: 707 type: string 708 type: object 709 pass: 710 properties: 711 message: 712 type: string 713 uri: 714 type: string 715 when: 716 type: string 717 type: object 718 warn: 719 properties: 720 message: 721 type: string 722 uri: 723 type: string 724 when: 725 type: string 726 type: object 727 type: object 728 type: array 729 strict: 730 type: BoolString 731 required: 732 - outcomes 733 type: object 734 tcpLoadBalancer: 735 properties: 736 annotations: 737 additionalProperties: 738 type: string 739 type: object 740 checkName: 741 type: string 742 collectorName: 743 type: string 744 exclude: 745 type: BoolString 746 outcomes: 747 items: 748 properties: 749 fail: 750 properties: 751 message: 752 type: string 753 uri: 754 type: string 755 when: 756 type: string 757 type: object 758 pass: 759 properties: 760 message: 761 type: string 762 uri: 763 type: string 764 when: 765 type: string 766 type: object 767 warn: 768 properties: 769 message: 770 type: string 771 uri: 772 type: string 773 when: 774 type: string 775 type: object 776 type: object 777 type: array 778 strict: 779 type: BoolString 780 required: 781 - outcomes 782 type: object 783 tcpPortStatus: 784 properties: 785 annotations: 786 additionalProperties: 787 type: string 788 type: object 789 checkName: 790 type: string 791 collectorName: 792 type: string 793 exclude: 794 type: BoolString 795 outcomes: 796 items: 797 properties: 798 fail: 799 properties: 800 message: 801 type: string 802 uri: 803 type: string 804 when: 805 type: string 806 type: object 807 pass: 808 properties: 809 message: 810 type: string 811 uri: 812 type: string 813 when: 814 type: string 815 type: object 816 warn: 817 properties: 818 message: 819 type: string 820 uri: 821 type: string 822 when: 823 type: string 824 type: object 825 type: object 826 type: array 827 strict: 828 type: BoolString 829 required: 830 - outcomes 831 type: object 832 time: 833 properties: 834 annotations: 835 additionalProperties: 836 type: string 837 type: object 838 checkName: 839 type: string 840 collectorName: 841 type: string 842 exclude: 843 type: BoolString 844 outcomes: 845 items: 846 properties: 847 fail: 848 properties: 849 message: 850 type: string 851 uri: 852 type: string 853 when: 854 type: string 855 type: object 856 pass: 857 properties: 858 message: 859 type: string 860 uri: 861 type: string 862 when: 863 type: string 864 type: object 865 warn: 866 properties: 867 message: 868 type: string 869 uri: 870 type: string 871 when: 872 type: string 873 type: object 874 type: object 875 type: array 876 strict: 877 type: BoolString 878 required: 879 - outcomes 880 type: object 881 udpPortStatus: 882 properties: 883 annotations: 884 additionalProperties: 885 type: string 886 type: object 887 checkName: 888 type: string 889 collectorName: 890 type: string 891 exclude: 892 type: BoolString 893 outcomes: 894 items: 895 properties: 896 fail: 897 properties: 898 message: 899 type: string 900 uri: 901 type: string 902 when: 903 type: string 904 type: object 905 pass: 906 properties: 907 message: 908 type: string 909 uri: 910 type: string 911 when: 912 type: string 913 type: object 914 warn: 915 properties: 916 message: 917 type: string 918 uri: 919 type: string 920 when: 921 type: string 922 type: object 923 type: object 924 type: array 925 strict: 926 type: BoolString 927 required: 928 - outcomes 929 type: object 930 type: object 931 type: array 932 collectors: 933 items: 934 properties: 935 blockDevices: 936 properties: 937 collectorName: 938 type: string 939 exclude: 940 type: BoolString 941 type: object 942 certificate: 943 properties: 944 certificatePath: 945 type: string 946 collectorName: 947 type: string 948 exclude: 949 type: BoolString 950 keyPath: 951 type: string 952 required: 953 - certificatePath 954 - keyPath 955 type: object 956 cpu: 957 properties: 958 collectorName: 959 type: string 960 exclude: 961 type: BoolString 962 type: object 963 diskUsage: 964 properties: 965 collectorName: 966 type: string 967 exclude: 968 type: BoolString 969 path: 970 type: string 971 required: 972 - path 973 type: object 974 filesystemPerformance: 975 description: FilesystemPerformance benchmarks sequential write 976 latency on a single file. The optional background IOPS feature 977 attempts to mimic real-world conditions by running read and 978 write workloads prior to and during benchmark execution. 979 properties: 980 backgroundIOPSWarmupSeconds: 981 description: How long to run the background IOPS read and 982 write workloads prior to starting the benchmarks. 983 type: integer 984 backgroundReadIOPS: 985 description: The target read IOPS to run while benchmarking. 986 This is a limit and there is no guarantee it will be reached. 987 This is the total IOPS for all background read jobs. 988 type: integer 989 backgroundReadIOPSJobs: 990 description: Number of threads to use for background read 991 IOPS. This should be set high enough to reach the target 992 specified in BackgrounReadIOPS. 993 type: integer 994 backgroundWriteIOPS: 995 description: The target write IOPS to run while benchmarking. 996 This is a limit and there is no guarantee it will be reached. 997 This is the total IOPS for all background write jobs. 998 type: integer 999 backgroundWriteIOPSJobs: 1000 description: 'Number of threads to use for background write 1001 IOPS. This should be set high enough to reach the target 1002 specified in BackgroundWriteIOPS. Example: If BackgroundWriteIOPS 1003 is 100 and write latency is 10ms then a single job would 1004 barely be able to reach 100 IOPS so this should be at 1005 least 2.' 1006 type: integer 1007 collectorName: 1008 type: string 1009 datasync: 1010 description: Whether to call datasync on the file after 1011 each write. Skipped if Sync is also true. Does not apply 1012 to background IOPS task. 1013 type: boolean 1014 directory: 1015 description: The directory where the benchmark will create 1016 files. 1017 type: string 1018 enableBackgroundIOPS: 1019 description: Enable the background IOPS feature. 1020 type: boolean 1021 exclude: 1022 type: BoolString 1023 fileSize: 1024 description: The size of the file used in the benchmark. 1025 The number of IO operations for the benchmark will be 1026 FileSize / OperationSizeBytes. Accepts valid Kubernetes 1027 resource units such as Mi. 1028 type: string 1029 operationSize: 1030 description: The size of each write operation performed 1031 while benchmarking. This does not apply to the background 1032 IOPS feature if enabled, since those must be fixed at 1033 4096. 1034 format: int64 1035 type: integer 1036 sync: 1037 description: Whether to call sync on the file after each 1038 write. Does not apply to background IOPS task. 1039 type: boolean 1040 timeout: 1041 description: Total timeout, including background IOPS setup 1042 and warmup if enabled. 1043 type: string 1044 required: 1045 - backgroundIOPSWarmupSeconds 1046 - backgroundReadIOPS 1047 - backgroundReadIOPSJobs 1048 - backgroundWriteIOPS 1049 - backgroundWriteIOPSJobs 1050 - enableBackgroundIOPS 1051 type: object 1052 hostOS: 1053 properties: 1054 collectorName: 1055 type: string 1056 exclude: 1057 type: BoolString 1058 type: object 1059 hostServices: 1060 properties: 1061 collectorName: 1062 type: string 1063 exclude: 1064 type: BoolString 1065 type: object 1066 http: 1067 properties: 1068 collectorName: 1069 type: string 1070 exclude: 1071 type: BoolString 1072 get: 1073 properties: 1074 headers: 1075 additionalProperties: 1076 type: string 1077 type: object 1078 insecureSkipVerify: 1079 type: boolean 1080 url: 1081 type: string 1082 required: 1083 - url 1084 type: object 1085 post: 1086 properties: 1087 body: 1088 type: string 1089 headers: 1090 additionalProperties: 1091 type: string 1092 type: object 1093 insecureSkipVerify: 1094 type: boolean 1095 url: 1096 type: string 1097 required: 1098 - url 1099 type: object 1100 put: 1101 properties: 1102 body: 1103 type: string 1104 headers: 1105 additionalProperties: 1106 type: string 1107 type: object 1108 insecureSkipVerify: 1109 type: boolean 1110 url: 1111 type: string 1112 required: 1113 - url 1114 type: object 1115 type: object 1116 httpLoadBalancer: 1117 properties: 1118 address: 1119 type: string 1120 collectorName: 1121 type: string 1122 exclude: 1123 type: BoolString 1124 path: 1125 type: string 1126 port: 1127 type: integer 1128 timeout: 1129 type: string 1130 required: 1131 - address 1132 - path 1133 - port 1134 type: object 1135 ipv4Interfaces: 1136 properties: 1137 collectorName: 1138 type: string 1139 exclude: 1140 type: BoolString 1141 type: object 1142 kernelModules: 1143 properties: 1144 collectorName: 1145 type: string 1146 exclude: 1147 type: BoolString 1148 type: object 1149 kubernetes: 1150 properties: 1151 collectorName: 1152 type: string 1153 exclude: 1154 type: BoolString 1155 type: object 1156 memory: 1157 properties: 1158 collectorName: 1159 type: string 1160 exclude: 1161 type: BoolString 1162 type: object 1163 run: 1164 properties: 1165 args: 1166 items: 1167 type: string 1168 type: array 1169 collectorName: 1170 type: string 1171 command: 1172 type: string 1173 exclude: 1174 type: BoolString 1175 required: 1176 - args 1177 - command 1178 type: object 1179 systemPackages: 1180 properties: 1181 amzn: 1182 items: 1183 type: string 1184 type: array 1185 amzn2: 1186 items: 1187 type: string 1188 type: array 1189 centos: 1190 items: 1191 type: string 1192 type: array 1193 centos7: 1194 items: 1195 type: string 1196 type: array 1197 centos8: 1198 items: 1199 type: string 1200 type: array 1201 collectorName: 1202 type: string 1203 exclude: 1204 type: BoolString 1205 ol: 1206 items: 1207 type: string 1208 type: array 1209 ol7: 1210 items: 1211 type: string 1212 type: array 1213 ol8: 1214 items: 1215 type: string 1216 type: array 1217 rhel: 1218 items: 1219 type: string 1220 type: array 1221 rhel7: 1222 items: 1223 type: string 1224 type: array 1225 rhel8: 1226 items: 1227 type: string 1228 type: array 1229 ubuntu: 1230 items: 1231 type: string 1232 type: array 1233 ubuntu16: 1234 items: 1235 type: string 1236 type: array 1237 ubuntu18: 1238 items: 1239 type: string 1240 type: array 1241 ubuntu20: 1242 items: 1243 type: string 1244 type: array 1245 type: object 1246 tcpConnect: 1247 properties: 1248 address: 1249 type: string 1250 collectorName: 1251 type: string 1252 exclude: 1253 type: BoolString 1254 timeout: 1255 type: string 1256 required: 1257 - address 1258 type: object 1259 tcpLoadBalancer: 1260 properties: 1261 address: 1262 type: string 1263 collectorName: 1264 type: string 1265 exclude: 1266 type: BoolString 1267 port: 1268 type: integer 1269 timeout: 1270 type: string 1271 required: 1272 - address 1273 - port 1274 type: object 1275 tcpPortStatus: 1276 properties: 1277 collectorName: 1278 type: string 1279 exclude: 1280 type: BoolString 1281 interface: 1282 type: string 1283 port: 1284 type: integer 1285 required: 1286 - port 1287 type: object 1288 time: 1289 properties: 1290 collectorName: 1291 type: string 1292 exclude: 1293 type: BoolString 1294 type: object 1295 udpPortStatus: 1296 properties: 1297 collectorName: 1298 type: string 1299 exclude: 1300 type: BoolString 1301 interface: 1302 type: string 1303 port: 1304 type: integer 1305 required: 1306 - port 1307 type: object 1308 type: object 1309 type: array 1310 remoteCollectors: 1311 items: 1312 properties: 1313 blockDevices: 1314 properties: 1315 collectorName: 1316 type: string 1317 exclude: 1318 type: BoolString 1319 type: object 1320 certificate: 1321 properties: 1322 certificatePath: 1323 type: string 1324 collectorName: 1325 type: string 1326 exclude: 1327 type: BoolString 1328 keyPath: 1329 type: string 1330 required: 1331 - certificatePath 1332 - keyPath 1333 type: object 1334 cpu: 1335 properties: 1336 collectorName: 1337 type: string 1338 exclude: 1339 type: BoolString 1340 type: object 1341 diskUsage: 1342 properties: 1343 collectorName: 1344 type: string 1345 exclude: 1346 type: BoolString 1347 path: 1348 type: string 1349 required: 1350 - path 1351 type: object 1352 filesystemPerformance: 1353 description: RemoteFilesystemPerformance benchmarks sequential 1354 write latency on a single file. The optional background IOPS 1355 feature attempts to mimic real-world conditions by running 1356 read and write workloads prior to and during benchmark execution. 1357 properties: 1358 backgroundIOPSWarmupSeconds: 1359 description: How long to run the background IOPS read and 1360 write workloads prior to starting the benchmarks. 1361 type: integer 1362 backgroundReadIOPS: 1363 description: The target read IOPS to run while benchmarking. 1364 This is a limit and there is no guarantee it will be reached. 1365 This is the total IOPS for all background read jobs. 1366 type: integer 1367 backgroundReadIOPSJobs: 1368 description: Number of threads to use for background read 1369 IOPS. This should be set high enough to reach the target 1370 specified in BackgrounReadIOPS. 1371 type: integer 1372 backgroundWriteIOPS: 1373 description: The target write IOPS to run while benchmarking. 1374 This is a limit and there is no guarantee it will be reached. 1375 This is the total IOPS for all background write jobs. 1376 type: integer 1377 backgroundWriteIOPSJobs: 1378 description: 'Number of threads to use for background write 1379 IOPS. This should be set high enough to reach the target 1380 specified in BackgroundWriteIOPS. Example: If BackgroundWriteIOPS 1381 is 100 and write latency is 10ms then a single job would 1382 barely be able to reach 100 IOPS so this should be at 1383 least 2.' 1384 type: integer 1385 collectorName: 1386 type: string 1387 datasync: 1388 description: Whether to call datasync on the file after 1389 each write. Skipped if Sync is also true. Does not apply 1390 to background IOPS task. 1391 type: boolean 1392 directory: 1393 description: The directory where the benchmark will create 1394 files. 1395 type: string 1396 enableBackgroundIOPS: 1397 description: Enable the background IOPS feature. 1398 type: boolean 1399 exclude: 1400 type: BoolString 1401 fileSize: 1402 description: The size of the file used in the benchmark. 1403 The number of IO operations for the benchmark will be 1404 FileSize / OperationSizeBytes. Accepts valid Kubernetes 1405 resource units such as Mi. 1406 type: string 1407 operationSize: 1408 description: The size of each write operation performed 1409 while benchmarking. This does not apply to the background 1410 IOPS feature if enabled, since those must be fixed at 1411 4096. 1412 format: int64 1413 type: integer 1414 sync: 1415 description: Whether to call sync on the file after each 1416 write. Does not apply to background IOPS task. 1417 type: boolean 1418 timeout: 1419 description: Total timeout, including background IOPS setup 1420 and warmup if enabled. 1421 type: string 1422 required: 1423 - backgroundIOPSWarmupSeconds 1424 - backgroundReadIOPS 1425 - backgroundReadIOPSJobs 1426 - backgroundWriteIOPS 1427 - backgroundWriteIOPSJobs 1428 - enableBackgroundIOPS 1429 type: object 1430 hostServices: 1431 properties: 1432 collectorName: 1433 type: string 1434 exclude: 1435 type: BoolString 1436 type: object 1437 http: 1438 properties: 1439 collectorName: 1440 type: string 1441 exclude: 1442 type: BoolString 1443 get: 1444 properties: 1445 headers: 1446 additionalProperties: 1447 type: string 1448 type: object 1449 insecureSkipVerify: 1450 type: boolean 1451 url: 1452 type: string 1453 required: 1454 - url 1455 type: object 1456 post: 1457 properties: 1458 body: 1459 type: string 1460 headers: 1461 additionalProperties: 1462 type: string 1463 type: object 1464 insecureSkipVerify: 1465 type: boolean 1466 url: 1467 type: string 1468 required: 1469 - url 1470 type: object 1471 put: 1472 properties: 1473 body: 1474 type: string 1475 headers: 1476 additionalProperties: 1477 type: string 1478 type: object 1479 insecureSkipVerify: 1480 type: boolean 1481 url: 1482 type: string 1483 required: 1484 - url 1485 type: object 1486 type: object 1487 httpLoadBalancer: 1488 properties: 1489 address: 1490 type: string 1491 collectorName: 1492 type: string 1493 exclude: 1494 type: BoolString 1495 path: 1496 type: string 1497 port: 1498 type: integer 1499 timeout: 1500 type: string 1501 required: 1502 - address 1503 - path 1504 - port 1505 type: object 1506 ipv4Interfaces: 1507 properties: 1508 collectorName: 1509 type: string 1510 exclude: 1511 type: BoolString 1512 type: object 1513 kernelModules: 1514 properties: 1515 collectorName: 1516 type: string 1517 exclude: 1518 type: BoolString 1519 type: object 1520 memory: 1521 properties: 1522 collectorName: 1523 type: string 1524 exclude: 1525 type: BoolString 1526 type: object 1527 systemPackages: 1528 properties: 1529 collectorName: 1530 type: string 1531 exclude: 1532 type: BoolString 1533 type: object 1534 tcpConnect: 1535 properties: 1536 address: 1537 type: string 1538 collectorName: 1539 type: string 1540 exclude: 1541 type: BoolString 1542 timeout: 1543 type: string 1544 required: 1545 - address 1546 type: object 1547 tcpLoadBalancer: 1548 properties: 1549 address: 1550 type: string 1551 collectorName: 1552 type: string 1553 exclude: 1554 type: BoolString 1555 port: 1556 type: integer 1557 timeout: 1558 type: string 1559 required: 1560 - address 1561 - port 1562 type: object 1563 tcpPortStatus: 1564 properties: 1565 collectorName: 1566 type: string 1567 exclude: 1568 type: BoolString 1569 interface: 1570 type: string 1571 port: 1572 type: integer 1573 required: 1574 - port 1575 type: object 1576 time: 1577 properties: 1578 collectorName: 1579 type: string 1580 exclude: 1581 type: BoolString 1582 type: object 1583 udpPortStatus: 1584 properties: 1585 collectorName: 1586 type: string 1587 exclude: 1588 type: BoolString 1589 interface: 1590 type: string 1591 port: 1592 type: integer 1593 required: 1594 - port 1595 type: object 1596 type: object 1597 type: array 1598 type: object 1599 status: 1600 description: HostPreflightStatus defines the observed state of HostPreflight 1601 type: object 1602 type: object 1603 served: true 1604 storage: true 1605 subresources: 1606 status: {} 1607 - name: v1beta2 1608 schema: 1609 openAPIV3Schema: 1610 description: HostPreflight is the Schema for the hostpreflights API 1611 properties: 1612 apiVersion: 1613 description: 'APIVersion defines the versioned schema of this representation 1614 of an object. Servers should convert recognized schemas to the latest 1615 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 1616 type: string 1617 kind: 1618 description: 'Kind is a string value representing the REST resource this 1619 object represents. Servers may infer this from the endpoint the client 1620 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 1621 type: string 1622 metadata: 1623 type: object 1624 spec: 1625 description: HostPreflightSpec defines the desired state of HostPreflight 1626 properties: 1627 analyzers: 1628 items: 1629 properties: 1630 blockDevices: 1631 properties: 1632 annotations: 1633 additionalProperties: 1634 type: string 1635 type: object 1636 checkName: 1637 type: string 1638 collectorName: 1639 type: string 1640 exclude: 1641 type: BoolString 1642 includeUnmountedPartitions: 1643 type: boolean 1644 minimumAcceptableSize: 1645 format: int64 1646 type: integer 1647 outcomes: 1648 items: 1649 properties: 1650 fail: 1651 properties: 1652 message: 1653 type: string 1654 uri: 1655 type: string 1656 when: 1657 type: string 1658 type: object 1659 pass: 1660 properties: 1661 message: 1662 type: string 1663 uri: 1664 type: string 1665 when: 1666 type: string 1667 type: object 1668 warn: 1669 properties: 1670 message: 1671 type: string 1672 uri: 1673 type: string 1674 when: 1675 type: string 1676 type: object 1677 type: object 1678 type: array 1679 strict: 1680 type: BoolString 1681 required: 1682 - includeUnmountedPartitions 1683 - minimumAcceptableSize 1684 - outcomes 1685 type: object 1686 certificate: 1687 properties: 1688 annotations: 1689 additionalProperties: 1690 type: string 1691 type: object 1692 checkName: 1693 type: string 1694 collectorName: 1695 type: string 1696 exclude: 1697 type: BoolString 1698 outcomes: 1699 items: 1700 properties: 1701 fail: 1702 properties: 1703 message: 1704 type: string 1705 uri: 1706 type: string 1707 when: 1708 type: string 1709 type: object 1710 pass: 1711 properties: 1712 message: 1713 type: string 1714 uri: 1715 type: string 1716 when: 1717 type: string 1718 type: object 1719 warn: 1720 properties: 1721 message: 1722 type: string 1723 uri: 1724 type: string 1725 when: 1726 type: string 1727 type: object 1728 type: object 1729 type: array 1730 strict: 1731 type: BoolString 1732 required: 1733 - outcomes 1734 type: object 1735 cpu: 1736 properties: 1737 annotations: 1738 additionalProperties: 1739 type: string 1740 type: object 1741 checkName: 1742 type: string 1743 collectorName: 1744 type: string 1745 exclude: 1746 type: BoolString 1747 outcomes: 1748 items: 1749 properties: 1750 fail: 1751 properties: 1752 message: 1753 type: string 1754 uri: 1755 type: string 1756 when: 1757 type: string 1758 type: object 1759 pass: 1760 properties: 1761 message: 1762 type: string 1763 uri: 1764 type: string 1765 when: 1766 type: string 1767 type: object 1768 warn: 1769 properties: 1770 message: 1771 type: string 1772 uri: 1773 type: string 1774 when: 1775 type: string 1776 type: object 1777 type: object 1778 type: array 1779 strict: 1780 type: BoolString 1781 required: 1782 - outcomes 1783 type: object 1784 diskUsage: 1785 properties: 1786 annotations: 1787 additionalProperties: 1788 type: string 1789 type: object 1790 checkName: 1791 type: string 1792 collectorName: 1793 type: string 1794 exclude: 1795 type: BoolString 1796 outcomes: 1797 items: 1798 properties: 1799 fail: 1800 properties: 1801 message: 1802 type: string 1803 uri: 1804 type: string 1805 when: 1806 type: string 1807 type: object 1808 pass: 1809 properties: 1810 message: 1811 type: string 1812 uri: 1813 type: string 1814 when: 1815 type: string 1816 type: object 1817 warn: 1818 properties: 1819 message: 1820 type: string 1821 uri: 1822 type: string 1823 when: 1824 type: string 1825 type: object 1826 type: object 1827 type: array 1828 strict: 1829 type: BoolString 1830 required: 1831 - outcomes 1832 type: object 1833 filesystemPerformance: 1834 properties: 1835 annotations: 1836 additionalProperties: 1837 type: string 1838 type: object 1839 checkName: 1840 type: string 1841 collectorName: 1842 type: string 1843 exclude: 1844 type: BoolString 1845 outcomes: 1846 items: 1847 properties: 1848 fail: 1849 properties: 1850 message: 1851 type: string 1852 uri: 1853 type: string 1854 when: 1855 type: string 1856 type: object 1857 pass: 1858 properties: 1859 message: 1860 type: string 1861 uri: 1862 type: string 1863 when: 1864 type: string 1865 type: object 1866 warn: 1867 properties: 1868 message: 1869 type: string 1870 uri: 1871 type: string 1872 when: 1873 type: string 1874 type: object 1875 type: object 1876 type: array 1877 strict: 1878 type: BoolString 1879 required: 1880 - outcomes 1881 type: object 1882 hostOS: 1883 properties: 1884 annotations: 1885 additionalProperties: 1886 type: string 1887 type: object 1888 checkName: 1889 type: string 1890 collectorName: 1891 type: string 1892 exclude: 1893 type: BoolString 1894 outcomes: 1895 items: 1896 properties: 1897 fail: 1898 properties: 1899 message: 1900 type: string 1901 uri: 1902 type: string 1903 when: 1904 type: string 1905 type: object 1906 pass: 1907 properties: 1908 message: 1909 type: string 1910 uri: 1911 type: string 1912 when: 1913 type: string 1914 type: object 1915 warn: 1916 properties: 1917 message: 1918 type: string 1919 uri: 1920 type: string 1921 when: 1922 type: string 1923 type: object 1924 type: object 1925 type: array 1926 strict: 1927 type: BoolString 1928 required: 1929 - outcomes 1930 type: object 1931 hostServices: 1932 properties: 1933 annotations: 1934 additionalProperties: 1935 type: string 1936 type: object 1937 checkName: 1938 type: string 1939 collectorName: 1940 type: string 1941 exclude: 1942 type: BoolString 1943 outcomes: 1944 items: 1945 properties: 1946 fail: 1947 properties: 1948 message: 1949 type: string 1950 uri: 1951 type: string 1952 when: 1953 type: string 1954 type: object 1955 pass: 1956 properties: 1957 message: 1958 type: string 1959 uri: 1960 type: string 1961 when: 1962 type: string 1963 type: object 1964 warn: 1965 properties: 1966 message: 1967 type: string 1968 uri: 1969 type: string 1970 when: 1971 type: string 1972 type: object 1973 type: object 1974 type: array 1975 strict: 1976 type: BoolString 1977 required: 1978 - outcomes 1979 type: object 1980 http: 1981 properties: 1982 annotations: 1983 additionalProperties: 1984 type: string 1985 type: object 1986 checkName: 1987 type: string 1988 collectorName: 1989 type: string 1990 exclude: 1991 type: BoolString 1992 outcomes: 1993 items: 1994 properties: 1995 fail: 1996 properties: 1997 message: 1998 type: string 1999 uri: 2000 type: string 2001 when: 2002 type: string 2003 type: object 2004 pass: 2005 properties: 2006 message: 2007 type: string 2008 uri: 2009 type: string 2010 when: 2011 type: string 2012 type: object 2013 warn: 2014 properties: 2015 message: 2016 type: string 2017 uri: 2018 type: string 2019 when: 2020 type: string 2021 type: object 2022 type: object 2023 type: array 2024 strict: 2025 type: BoolString 2026 required: 2027 - outcomes 2028 type: object 2029 httpLoadBalancer: 2030 properties: 2031 annotations: 2032 additionalProperties: 2033 type: string 2034 type: object 2035 checkName: 2036 type: string 2037 collectorName: 2038 type: string 2039 exclude: 2040 type: BoolString 2041 outcomes: 2042 items: 2043 properties: 2044 fail: 2045 properties: 2046 message: 2047 type: string 2048 uri: 2049 type: string 2050 when: 2051 type: string 2052 type: object 2053 pass: 2054 properties: 2055 message: 2056 type: string 2057 uri: 2058 type: string 2059 when: 2060 type: string 2061 type: object 2062 warn: 2063 properties: 2064 message: 2065 type: string 2066 uri: 2067 type: string 2068 when: 2069 type: string 2070 type: object 2071 type: object 2072 type: array 2073 strict: 2074 type: BoolString 2075 required: 2076 - outcomes 2077 type: object 2078 ipv4Interfaces: 2079 properties: 2080 annotations: 2081 additionalProperties: 2082 type: string 2083 type: object 2084 checkName: 2085 type: string 2086 collectorName: 2087 type: string 2088 exclude: 2089 type: BoolString 2090 outcomes: 2091 items: 2092 properties: 2093 fail: 2094 properties: 2095 message: 2096 type: string 2097 uri: 2098 type: string 2099 when: 2100 type: string 2101 type: object 2102 pass: 2103 properties: 2104 message: 2105 type: string 2106 uri: 2107 type: string 2108 when: 2109 type: string 2110 type: object 2111 warn: 2112 properties: 2113 message: 2114 type: string 2115 uri: 2116 type: string 2117 when: 2118 type: string 2119 type: object 2120 type: object 2121 type: array 2122 strict: 2123 type: BoolString 2124 required: 2125 - outcomes 2126 type: object 2127 kernelModules: 2128 properties: 2129 annotations: 2130 additionalProperties: 2131 type: string 2132 type: object 2133 checkName: 2134 type: string 2135 collectorName: 2136 type: string 2137 exclude: 2138 type: BoolString 2139 outcomes: 2140 items: 2141 properties: 2142 fail: 2143 properties: 2144 message: 2145 type: string 2146 uri: 2147 type: string 2148 when: 2149 type: string 2150 type: object 2151 pass: 2152 properties: 2153 message: 2154 type: string 2155 uri: 2156 type: string 2157 when: 2158 type: string 2159 type: object 2160 warn: 2161 properties: 2162 message: 2163 type: string 2164 uri: 2165 type: string 2166 when: 2167 type: string 2168 type: object 2169 type: object 2170 type: array 2171 strict: 2172 type: BoolString 2173 required: 2174 - outcomes 2175 type: object 2176 memory: 2177 properties: 2178 annotations: 2179 additionalProperties: 2180 type: string 2181 type: object 2182 checkName: 2183 type: string 2184 collectorName: 2185 type: string 2186 exclude: 2187 type: BoolString 2188 outcomes: 2189 items: 2190 properties: 2191 fail: 2192 properties: 2193 message: 2194 type: string 2195 uri: 2196 type: string 2197 when: 2198 type: string 2199 type: object 2200 pass: 2201 properties: 2202 message: 2203 type: string 2204 uri: 2205 type: string 2206 when: 2207 type: string 2208 type: object 2209 warn: 2210 properties: 2211 message: 2212 type: string 2213 uri: 2214 type: string 2215 when: 2216 type: string 2217 type: object 2218 type: object 2219 type: array 2220 strict: 2221 type: BoolString 2222 required: 2223 - outcomes 2224 type: object 2225 systemPackages: 2226 properties: 2227 annotations: 2228 additionalProperties: 2229 type: string 2230 type: object 2231 checkName: 2232 type: string 2233 collectorName: 2234 type: string 2235 exclude: 2236 type: BoolString 2237 outcomes: 2238 items: 2239 properties: 2240 fail: 2241 properties: 2242 message: 2243 type: string 2244 uri: 2245 type: string 2246 when: 2247 type: string 2248 type: object 2249 pass: 2250 properties: 2251 message: 2252 type: string 2253 uri: 2254 type: string 2255 when: 2256 type: string 2257 type: object 2258 warn: 2259 properties: 2260 message: 2261 type: string 2262 uri: 2263 type: string 2264 when: 2265 type: string 2266 type: object 2267 type: object 2268 type: array 2269 strict: 2270 type: BoolString 2271 required: 2272 - outcomes 2273 type: object 2274 tcpConnect: 2275 properties: 2276 annotations: 2277 additionalProperties: 2278 type: string 2279 type: object 2280 checkName: 2281 type: string 2282 collectorName: 2283 type: string 2284 exclude: 2285 type: BoolString 2286 outcomes: 2287 items: 2288 properties: 2289 fail: 2290 properties: 2291 message: 2292 type: string 2293 uri: 2294 type: string 2295 when: 2296 type: string 2297 type: object 2298 pass: 2299 properties: 2300 message: 2301 type: string 2302 uri: 2303 type: string 2304 when: 2305 type: string 2306 type: object 2307 warn: 2308 properties: 2309 message: 2310 type: string 2311 uri: 2312 type: string 2313 when: 2314 type: string 2315 type: object 2316 type: object 2317 type: array 2318 strict: 2319 type: BoolString 2320 required: 2321 - outcomes 2322 type: object 2323 tcpLoadBalancer: 2324 properties: 2325 annotations: 2326 additionalProperties: 2327 type: string 2328 type: object 2329 checkName: 2330 type: string 2331 collectorName: 2332 type: string 2333 exclude: 2334 type: BoolString 2335 outcomes: 2336 items: 2337 properties: 2338 fail: 2339 properties: 2340 message: 2341 type: string 2342 uri: 2343 type: string 2344 when: 2345 type: string 2346 type: object 2347 pass: 2348 properties: 2349 message: 2350 type: string 2351 uri: 2352 type: string 2353 when: 2354 type: string 2355 type: object 2356 warn: 2357 properties: 2358 message: 2359 type: string 2360 uri: 2361 type: string 2362 when: 2363 type: string 2364 type: object 2365 type: object 2366 type: array 2367 strict: 2368 type: BoolString 2369 required: 2370 - outcomes 2371 type: object 2372 tcpPortStatus: 2373 properties: 2374 annotations: 2375 additionalProperties: 2376 type: string 2377 type: object 2378 checkName: 2379 type: string 2380 collectorName: 2381 type: string 2382 exclude: 2383 type: BoolString 2384 outcomes: 2385 items: 2386 properties: 2387 fail: 2388 properties: 2389 message: 2390 type: string 2391 uri: 2392 type: string 2393 when: 2394 type: string 2395 type: object 2396 pass: 2397 properties: 2398 message: 2399 type: string 2400 uri: 2401 type: string 2402 when: 2403 type: string 2404 type: object 2405 warn: 2406 properties: 2407 message: 2408 type: string 2409 uri: 2410 type: string 2411 when: 2412 type: string 2413 type: object 2414 type: object 2415 type: array 2416 strict: 2417 type: BoolString 2418 required: 2419 - outcomes 2420 type: object 2421 time: 2422 properties: 2423 annotations: 2424 additionalProperties: 2425 type: string 2426 type: object 2427 checkName: 2428 type: string 2429 collectorName: 2430 type: string 2431 exclude: 2432 type: BoolString 2433 outcomes: 2434 items: 2435 properties: 2436 fail: 2437 properties: 2438 message: 2439 type: string 2440 uri: 2441 type: string 2442 when: 2443 type: string 2444 type: object 2445 pass: 2446 properties: 2447 message: 2448 type: string 2449 uri: 2450 type: string 2451 when: 2452 type: string 2453 type: object 2454 warn: 2455 properties: 2456 message: 2457 type: string 2458 uri: 2459 type: string 2460 when: 2461 type: string 2462 type: object 2463 type: object 2464 type: array 2465 strict: 2466 type: BoolString 2467 required: 2468 - outcomes 2469 type: object 2470 udpPortStatus: 2471 properties: 2472 annotations: 2473 additionalProperties: 2474 type: string 2475 type: object 2476 checkName: 2477 type: string 2478 collectorName: 2479 type: string 2480 exclude: 2481 type: BoolString 2482 outcomes: 2483 items: 2484 properties: 2485 fail: 2486 properties: 2487 message: 2488 type: string 2489 uri: 2490 type: string 2491 when: 2492 type: string 2493 type: object 2494 pass: 2495 properties: 2496 message: 2497 type: string 2498 uri: 2499 type: string 2500 when: 2501 type: string 2502 type: object 2503 warn: 2504 properties: 2505 message: 2506 type: string 2507 uri: 2508 type: string 2509 when: 2510 type: string 2511 type: object 2512 type: object 2513 type: array 2514 strict: 2515 type: BoolString 2516 required: 2517 - outcomes 2518 type: object 2519 type: object 2520 type: array 2521 collectors: 2522 items: 2523 properties: 2524 blockDevices: 2525 properties: 2526 collectorName: 2527 type: string 2528 exclude: 2529 type: BoolString 2530 type: object 2531 certificate: 2532 properties: 2533 certificatePath: 2534 type: string 2535 collectorName: 2536 type: string 2537 exclude: 2538 type: BoolString 2539 keyPath: 2540 type: string 2541 required: 2542 - certificatePath 2543 - keyPath 2544 type: object 2545 cpu: 2546 properties: 2547 collectorName: 2548 type: string 2549 exclude: 2550 type: BoolString 2551 type: object 2552 diskUsage: 2553 properties: 2554 collectorName: 2555 type: string 2556 exclude: 2557 type: BoolString 2558 path: 2559 type: string 2560 required: 2561 - path 2562 type: object 2563 filesystemPerformance: 2564 description: FilesystemPerformance benchmarks sequential write 2565 latency on a single file. The optional background IOPS feature 2566 attempts to mimic real-world conditions by running read and 2567 write workloads prior to and during benchmark execution. 2568 properties: 2569 backgroundIOPSWarmupSeconds: 2570 description: How long to run the background IOPS read and 2571 write workloads prior to starting the benchmarks. 2572 type: integer 2573 backgroundReadIOPS: 2574 description: The target read IOPS to run while benchmarking. 2575 This is a limit and there is no guarantee it will be reached. 2576 This is the total IOPS for all background read jobs. 2577 type: integer 2578 backgroundReadIOPSJobs: 2579 description: Number of threads to use for background read 2580 IOPS. This should be set high enough to reach the target 2581 specified in BackgrounReadIOPS. 2582 type: integer 2583 backgroundWriteIOPS: 2584 description: The target write IOPS to run while benchmarking. 2585 This is a limit and there is no guarantee it will be reached. 2586 This is the total IOPS for all background write jobs. 2587 type: integer 2588 backgroundWriteIOPSJobs: 2589 description: 'Number of threads to use for background write 2590 IOPS. This should be set high enough to reach the target 2591 specified in BackgroundWriteIOPS. Example: If BackgroundWriteIOPS 2592 is 100 and write latency is 10ms then a single job would 2593 barely be able to reach 100 IOPS so this should be at 2594 least 2.' 2595 type: integer 2596 collectorName: 2597 type: string 2598 datasync: 2599 description: Whether to call datasync on the file after 2600 each write. Skipped if Sync is also true. Does not apply 2601 to background IOPS task. 2602 type: boolean 2603 directory: 2604 description: The directory where the benchmark will create 2605 files. 2606 type: string 2607 enableBackgroundIOPS: 2608 description: Enable the background IOPS feature. 2609 type: boolean 2610 exclude: 2611 type: BoolString 2612 fileSize: 2613 description: The size of the file used in the benchmark. 2614 The number of IO operations for the benchmark will be 2615 FileSize / OperationSizeBytes. Accepts valid Kubernetes 2616 resource units such as Mi. 2617 type: string 2618 operationSize: 2619 description: The size of each write operation performed 2620 while benchmarking. This does not apply to the background 2621 IOPS feature if enabled, since those must be fixed at 2622 4096. 2623 format: int64 2624 type: integer 2625 sync: 2626 description: Whether to call sync on the file after each 2627 write. Does not apply to background IOPS task. 2628 type: boolean 2629 timeout: 2630 description: Total timeout, including background IOPS setup 2631 and warmup if enabled. 2632 type: string 2633 required: 2634 - backgroundIOPSWarmupSeconds 2635 - backgroundReadIOPS 2636 - backgroundReadIOPSJobs 2637 - backgroundWriteIOPS 2638 - backgroundWriteIOPSJobs 2639 - enableBackgroundIOPS 2640 type: object 2641 hostOS: 2642 properties: 2643 collectorName: 2644 type: string 2645 exclude: 2646 type: BoolString 2647 type: object 2648 hostServices: 2649 properties: 2650 collectorName: 2651 type: string 2652 exclude: 2653 type: BoolString 2654 type: object 2655 http: 2656 properties: 2657 collectorName: 2658 type: string 2659 exclude: 2660 type: BoolString 2661 get: 2662 properties: 2663 headers: 2664 additionalProperties: 2665 type: string 2666 type: object 2667 insecureSkipVerify: 2668 type: boolean 2669 url: 2670 type: string 2671 required: 2672 - url 2673 type: object 2674 post: 2675 properties: 2676 body: 2677 type: string 2678 headers: 2679 additionalProperties: 2680 type: string 2681 type: object 2682 insecureSkipVerify: 2683 type: boolean 2684 url: 2685 type: string 2686 required: 2687 - url 2688 type: object 2689 put: 2690 properties: 2691 body: 2692 type: string 2693 headers: 2694 additionalProperties: 2695 type: string 2696 type: object 2697 insecureSkipVerify: 2698 type: boolean 2699 url: 2700 type: string 2701 required: 2702 - url 2703 type: object 2704 type: object 2705 httpLoadBalancer: 2706 properties: 2707 address: 2708 type: string 2709 collectorName: 2710 type: string 2711 exclude: 2712 type: BoolString 2713 path: 2714 type: string 2715 port: 2716 type: integer 2717 timeout: 2718 type: string 2719 required: 2720 - address 2721 - path 2722 - port 2723 type: object 2724 ipv4Interfaces: 2725 properties: 2726 collectorName: 2727 type: string 2728 exclude: 2729 type: BoolString 2730 type: object 2731 kernelModules: 2732 properties: 2733 collectorName: 2734 type: string 2735 exclude: 2736 type: BoolString 2737 type: object 2738 kubernetes: 2739 properties: 2740 collectorName: 2741 type: string 2742 exclude: 2743 type: BoolString 2744 type: object 2745 memory: 2746 properties: 2747 collectorName: 2748 type: string 2749 exclude: 2750 type: BoolString 2751 type: object 2752 run: 2753 properties: 2754 args: 2755 items: 2756 type: string 2757 type: array 2758 collectorName: 2759 type: string 2760 command: 2761 type: string 2762 exclude: 2763 type: BoolString 2764 required: 2765 - args 2766 - command 2767 type: object 2768 systemPackages: 2769 properties: 2770 amzn: 2771 items: 2772 type: string 2773 type: array 2774 amzn2: 2775 items: 2776 type: string 2777 type: array 2778 centos: 2779 items: 2780 type: string 2781 type: array 2782 centos7: 2783 items: 2784 type: string 2785 type: array 2786 centos8: 2787 items: 2788 type: string 2789 type: array 2790 collectorName: 2791 type: string 2792 exclude: 2793 type: BoolString 2794 ol: 2795 items: 2796 type: string 2797 type: array 2798 ol7: 2799 items: 2800 type: string 2801 type: array 2802 ol8: 2803 items: 2804 type: string 2805 type: array 2806 rhel: 2807 items: 2808 type: string 2809 type: array 2810 rhel7: 2811 items: 2812 type: string 2813 type: array 2814 rhel8: 2815 items: 2816 type: string 2817 type: array 2818 ubuntu: 2819 items: 2820 type: string 2821 type: array 2822 ubuntu16: 2823 items: 2824 type: string 2825 type: array 2826 ubuntu18: 2827 items: 2828 type: string 2829 type: array 2830 ubuntu20: 2831 items: 2832 type: string 2833 type: array 2834 type: object 2835 tcpConnect: 2836 properties: 2837 address: 2838 type: string 2839 collectorName: 2840 type: string 2841 exclude: 2842 type: BoolString 2843 timeout: 2844 type: string 2845 required: 2846 - address 2847 type: object 2848 tcpLoadBalancer: 2849 properties: 2850 address: 2851 type: string 2852 collectorName: 2853 type: string 2854 exclude: 2855 type: BoolString 2856 port: 2857 type: integer 2858 timeout: 2859 type: string 2860 required: 2861 - address 2862 - port 2863 type: object 2864 tcpPortStatus: 2865 properties: 2866 collectorName: 2867 type: string 2868 exclude: 2869 type: BoolString 2870 interface: 2871 type: string 2872 port: 2873 type: integer 2874 required: 2875 - port 2876 type: object 2877 time: 2878 properties: 2879 collectorName: 2880 type: string 2881 exclude: 2882 type: BoolString 2883 type: object 2884 udpPortStatus: 2885 properties: 2886 collectorName: 2887 type: string 2888 exclude: 2889 type: BoolString 2890 interface: 2891 type: string 2892 port: 2893 type: integer 2894 required: 2895 - port 2896 type: object 2897 type: object 2898 type: array 2899 extendAnalyzers: 2900 description: extendAnalyzers extends user defined hostAnalyzers by 2901 ApeCloud. 2902 items: 2903 properties: 2904 hostUtility: 2905 description: hostUtility is to analyze the presence of target 2906 utility. 2907 properties: 2908 annotations: 2909 additionalProperties: 2910 type: string 2911 type: object 2912 checkName: 2913 type: string 2914 collectorName: 2915 description: collectorName indicates which collect data 2916 will be analyzed 2917 type: string 2918 exclude: 2919 type: BoolString 2920 outcomes: 2921 description: outcomes are expected user defined results. 2922 items: 2923 properties: 2924 fail: 2925 properties: 2926 message: 2927 type: string 2928 uri: 2929 type: string 2930 when: 2931 type: string 2932 type: object 2933 pass: 2934 properties: 2935 message: 2936 type: string 2937 uri: 2938 type: string 2939 when: 2940 type: string 2941 type: object 2942 warn: 2943 properties: 2944 message: 2945 type: string 2946 uri: 2947 type: string 2948 when: 2949 type: string 2950 type: object 2951 type: object 2952 type: array 2953 strict: 2954 type: BoolString 2955 required: 2956 - outcomes 2957 type: object 2958 type: object 2959 type: array 2960 extendCollectors: 2961 description: extendCollectors extends user defined hostCollectors 2962 by ApeCloud. 2963 items: 2964 properties: 2965 hostUtility: 2966 description: hostUtility is to collect the info of target utility. 2967 properties: 2968 collectorName: 2969 type: string 2970 exclude: 2971 type: BoolString 2972 utilityName: 2973 description: utilityName will be checked in local host. 2974 type: string 2975 required: 2976 - utilityName 2977 type: object 2978 type: object 2979 type: array 2980 remoteCollectors: 2981 items: 2982 properties: 2983 blockDevices: 2984 properties: 2985 collectorName: 2986 type: string 2987 exclude: 2988 type: BoolString 2989 type: object 2990 certificate: 2991 properties: 2992 certificatePath: 2993 type: string 2994 collectorName: 2995 type: string 2996 exclude: 2997 type: BoolString 2998 keyPath: 2999 type: string 3000 required: 3001 - certificatePath 3002 - keyPath 3003 type: object 3004 cpu: 3005 properties: 3006 collectorName: 3007 type: string 3008 exclude: 3009 type: BoolString 3010 type: object 3011 diskUsage: 3012 properties: 3013 collectorName: 3014 type: string 3015 exclude: 3016 type: BoolString 3017 path: 3018 type: string 3019 required: 3020 - path 3021 type: object 3022 filesystemPerformance: 3023 description: RemoteFilesystemPerformance benchmarks sequential 3024 write latency on a single file. The optional background IOPS 3025 feature attempts to mimic real-world conditions by running 3026 read and write workloads prior to and during benchmark execution. 3027 properties: 3028 backgroundIOPSWarmupSeconds: 3029 description: How long to run the background IOPS read and 3030 write workloads prior to starting the benchmarks. 3031 type: integer 3032 backgroundReadIOPS: 3033 description: The target read IOPS to run while benchmarking. 3034 This is a limit and there is no guarantee it will be reached. 3035 This is the total IOPS for all background read jobs. 3036 type: integer 3037 backgroundReadIOPSJobs: 3038 description: Number of threads to use for background read 3039 IOPS. This should be set high enough to reach the target 3040 specified in BackgrounReadIOPS. 3041 type: integer 3042 backgroundWriteIOPS: 3043 description: The target write IOPS to run while benchmarking. 3044 This is a limit and there is no guarantee it will be reached. 3045 This is the total IOPS for all background write jobs. 3046 type: integer 3047 backgroundWriteIOPSJobs: 3048 description: 'Number of threads to use for background write 3049 IOPS. This should be set high enough to reach the target 3050 specified in BackgroundWriteIOPS. Example: If BackgroundWriteIOPS 3051 is 100 and write latency is 10ms then a single job would 3052 barely be able to reach 100 IOPS so this should be at 3053 least 2.' 3054 type: integer 3055 collectorName: 3056 type: string 3057 datasync: 3058 description: Whether to call datasync on the file after 3059 each write. Skipped if Sync is also true. Does not apply 3060 to background IOPS task. 3061 type: boolean 3062 directory: 3063 description: The directory where the benchmark will create 3064 files. 3065 type: string 3066 enableBackgroundIOPS: 3067 description: Enable the background IOPS feature. 3068 type: boolean 3069 exclude: 3070 type: BoolString 3071 fileSize: 3072 description: The size of the file used in the benchmark. 3073 The number of IO operations for the benchmark will be 3074 FileSize / OperationSizeBytes. Accepts valid Kubernetes 3075 resource units such as Mi. 3076 type: string 3077 operationSize: 3078 description: The size of each write operation performed 3079 while benchmarking. This does not apply to the background 3080 IOPS feature if enabled, since those must be fixed at 3081 4096. 3082 format: int64 3083 type: integer 3084 sync: 3085 description: Whether to call sync on the file after each 3086 write. Does not apply to background IOPS task. 3087 type: boolean 3088 timeout: 3089 description: Total timeout, including background IOPS setup 3090 and warmup if enabled. 3091 type: string 3092 required: 3093 - backgroundIOPSWarmupSeconds 3094 - backgroundReadIOPS 3095 - backgroundReadIOPSJobs 3096 - backgroundWriteIOPS 3097 - backgroundWriteIOPSJobs 3098 - enableBackgroundIOPS 3099 type: object 3100 hostServices: 3101 properties: 3102 collectorName: 3103 type: string 3104 exclude: 3105 type: BoolString 3106 type: object 3107 http: 3108 properties: 3109 collectorName: 3110 type: string 3111 exclude: 3112 type: BoolString 3113 get: 3114 properties: 3115 headers: 3116 additionalProperties: 3117 type: string 3118 type: object 3119 insecureSkipVerify: 3120 type: boolean 3121 url: 3122 type: string 3123 required: 3124 - url 3125 type: object 3126 post: 3127 properties: 3128 body: 3129 type: string 3130 headers: 3131 additionalProperties: 3132 type: string 3133 type: object 3134 insecureSkipVerify: 3135 type: boolean 3136 url: 3137 type: string 3138 required: 3139 - url 3140 type: object 3141 put: 3142 properties: 3143 body: 3144 type: string 3145 headers: 3146 additionalProperties: 3147 type: string 3148 type: object 3149 insecureSkipVerify: 3150 type: boolean 3151 url: 3152 type: string 3153 required: 3154 - url 3155 type: object 3156 type: object 3157 httpLoadBalancer: 3158 properties: 3159 address: 3160 type: string 3161 collectorName: 3162 type: string 3163 exclude: 3164 type: BoolString 3165 path: 3166 type: string 3167 port: 3168 type: integer 3169 timeout: 3170 type: string 3171 required: 3172 - address 3173 - path 3174 - port 3175 type: object 3176 ipv4Interfaces: 3177 properties: 3178 collectorName: 3179 type: string 3180 exclude: 3181 type: BoolString 3182 type: object 3183 kernelModules: 3184 properties: 3185 collectorName: 3186 type: string 3187 exclude: 3188 type: BoolString 3189 type: object 3190 memory: 3191 properties: 3192 collectorName: 3193 type: string 3194 exclude: 3195 type: BoolString 3196 type: object 3197 systemPackages: 3198 properties: 3199 collectorName: 3200 type: string 3201 exclude: 3202 type: BoolString 3203 type: object 3204 tcpConnect: 3205 properties: 3206 address: 3207 type: string 3208 collectorName: 3209 type: string 3210 exclude: 3211 type: BoolString 3212 timeout: 3213 type: string 3214 required: 3215 - address 3216 type: object 3217 tcpLoadBalancer: 3218 properties: 3219 address: 3220 type: string 3221 collectorName: 3222 type: string 3223 exclude: 3224 type: BoolString 3225 port: 3226 type: integer 3227 timeout: 3228 type: string 3229 required: 3230 - address 3231 - port 3232 type: object 3233 tcpPortStatus: 3234 properties: 3235 collectorName: 3236 type: string 3237 exclude: 3238 type: BoolString 3239 interface: 3240 type: string 3241 port: 3242 type: integer 3243 required: 3244 - port 3245 type: object 3246 time: 3247 properties: 3248 collectorName: 3249 type: string 3250 exclude: 3251 type: BoolString 3252 type: object 3253 udpPortStatus: 3254 properties: 3255 collectorName: 3256 type: string 3257 exclude: 3258 type: BoolString 3259 interface: 3260 type: string 3261 port: 3262 type: integer 3263 required: 3264 - port 3265 type: object 3266 type: object 3267 type: array 3268 type: object 3269 status: 3270 description: HostPreflightStatus defines the observed state of HostPreflight 3271 type: object 3272 type: object 3273 served: true 3274 storage: false