resources_test.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  1. suite: container resources test
  2. templates:
  3. - common.yaml
  4. tests:
  5. - it: should create the resources correctly
  6. set:
  7. image: &image
  8. repository: nginx
  9. tag: 1.19.0
  10. pullPolicy: IfNotPresent
  11. workload:
  12. workload-name1:
  13. enabled: true
  14. primary: true
  15. type: Deployment
  16. podSpec:
  17. containers:
  18. container-name1:
  19. enabled: true
  20. primary: true
  21. imageSelector: image
  22. probes: &probes
  23. liveness:
  24. enabled: false
  25. readiness:
  26. enabled: false
  27. startup:
  28. enabled: false
  29. asserts:
  30. - documentIndex: &deploymentDoc 0
  31. isKind:
  32. of: Deployment
  33. - documentIndex: *deploymentDoc
  34. isAPIVersion:
  35. of: apps/v1
  36. - documentIndex: *deploymentDoc
  37. isSubset:
  38. path: spec.template.spec.containers[0]
  39. content:
  40. resources:
  41. limits:
  42. cpu: 4000m
  43. memory: 8Gi
  44. requests:
  45. cpu: 10m
  46. memory: 50Mi
  47. - it: should override the default limits
  48. set:
  49. image: *image
  50. workload:
  51. workload-name1:
  52. enabled: true
  53. primary: true
  54. type: Deployment
  55. podSpec:
  56. containers:
  57. container-name1:
  58. enabled: true
  59. primary: true
  60. imageSelector: image
  61. probes: *probes
  62. resources:
  63. limits:
  64. cpu: 2000m
  65. memory: 4Gi
  66. asserts:
  67. - documentIndex: &deploymentDoc 0
  68. isKind:
  69. of: Deployment
  70. - documentIndex: *deploymentDoc
  71. isAPIVersion:
  72. of: apps/v1
  73. - documentIndex: *deploymentDoc
  74. isSubset:
  75. path: spec.template.spec.containers[0]
  76. content:
  77. resources:
  78. limits:
  79. cpu: 2000m
  80. memory: 4Gi
  81. requests:
  82. cpu: 10m
  83. memory: 50Mi
  84. - it: should override the default limits.cpu
  85. set:
  86. image: *image
  87. workload:
  88. workload-name1:
  89. enabled: true
  90. primary: true
  91. type: Deployment
  92. podSpec:
  93. containers:
  94. container-name1:
  95. enabled: true
  96. primary: true
  97. imageSelector: image
  98. probes: *probes
  99. resources:
  100. limits:
  101. cpu: 2000m
  102. asserts:
  103. - documentIndex: &deploymentDoc 0
  104. isKind:
  105. of: Deployment
  106. - documentIndex: *deploymentDoc
  107. isAPIVersion:
  108. of: apps/v1
  109. - documentIndex: *deploymentDoc
  110. isSubset:
  111. path: spec.template.spec.containers[0]
  112. content:
  113. resources:
  114. limits:
  115. cpu: 2000m
  116. memory: 8Gi
  117. requests:
  118. cpu: 10m
  119. memory: 50Mi
  120. - it: should override the default limits.memory
  121. set:
  122. image: *image
  123. workload:
  124. workload-name1:
  125. enabled: true
  126. primary: true
  127. type: Deployment
  128. podSpec:
  129. containers:
  130. container-name1:
  131. enabled: true
  132. primary: true
  133. imageSelector: image
  134. probes: *probes
  135. resources:
  136. limits:
  137. memory: 4Gi
  138. asserts:
  139. - documentIndex: &deploymentDoc 0
  140. isKind:
  141. of: Deployment
  142. - documentIndex: *deploymentDoc
  143. isAPIVersion:
  144. of: apps/v1
  145. - documentIndex: *deploymentDoc
  146. isSubset:
  147. path: spec.template.spec.containers[0]
  148. content:
  149. resources:
  150. limits:
  151. cpu: 4000m
  152. memory: 4Gi
  153. requests:
  154. cpu: 10m
  155. memory: 50Mi
  156. - it: should not render limits.cpu
  157. set:
  158. image: *image
  159. workload:
  160. workload-name1:
  161. enabled: true
  162. primary: true
  163. type: Deployment
  164. podSpec:
  165. containers:
  166. container-name1:
  167. enabled: true
  168. primary: true
  169. imageSelector: image
  170. probes: *probes
  171. resources:
  172. limits:
  173. cpu: 0
  174. asserts:
  175. - documentIndex: &deploymentDoc 0
  176. isKind:
  177. of: Deployment
  178. - documentIndex: *deploymentDoc
  179. isAPIVersion:
  180. of: apps/v1
  181. - documentIndex: *deploymentDoc
  182. isSubset:
  183. path: spec.template.spec.containers[0]
  184. content:
  185. resources:
  186. limits:
  187. memory: 8Gi
  188. requests:
  189. cpu: 10m
  190. memory: 50Mi
  191. - it: should not render limits.memory
  192. set:
  193. image: *image
  194. workload:
  195. workload-name1:
  196. enabled: true
  197. primary: true
  198. type: Deployment
  199. podSpec:
  200. containers:
  201. container-name1:
  202. enabled: true
  203. primary: true
  204. imageSelector: image
  205. probes: *probes
  206. resources:
  207. limits:
  208. memory: 0
  209. asserts:
  210. - documentIndex: &deploymentDoc 0
  211. isKind:
  212. of: Deployment
  213. - documentIndex: *deploymentDoc
  214. isAPIVersion:
  215. of: apps/v1
  216. - documentIndex: *deploymentDoc
  217. isSubset:
  218. path: spec.template.spec.containers[0]
  219. content:
  220. resources:
  221. limits:
  222. cpu: 4000m
  223. requests:
  224. cpu: 10m
  225. memory: 50Mi
  226. - it: should override the default requests
  227. set:
  228. image: *image
  229. workload:
  230. workload-name1:
  231. enabled: true
  232. primary: true
  233. type: Deployment
  234. podSpec:
  235. containers:
  236. container-name1:
  237. enabled: true
  238. primary: true
  239. imageSelector: image
  240. probes: *probes
  241. resources:
  242. requests:
  243. cpu: 200m
  244. memory: 1Gi
  245. asserts:
  246. - documentIndex: &deploymentDoc 0
  247. isKind:
  248. of: Deployment
  249. - documentIndex: *deploymentDoc
  250. isAPIVersion:
  251. of: apps/v1
  252. - documentIndex: *deploymentDoc
  253. isSubset:
  254. path: spec.template.spec.containers[0]
  255. content:
  256. resources:
  257. limits:
  258. cpu: 4000m
  259. memory: 8Gi
  260. requests:
  261. cpu: 200m
  262. memory: 1Gi
  263. - it: should override the default requests.cpu
  264. set:
  265. image: *image
  266. workload:
  267. workload-name1:
  268. enabled: true
  269. primary: true
  270. type: Deployment
  271. podSpec:
  272. containers:
  273. container-name1:
  274. enabled: true
  275. primary: true
  276. imageSelector: image
  277. probes: *probes
  278. resources:
  279. requests:
  280. cpu: 200m
  281. asserts:
  282. - documentIndex: &deploymentDoc 0
  283. isKind:
  284. of: Deployment
  285. - documentIndex: *deploymentDoc
  286. isAPIVersion:
  287. of: apps/v1
  288. - documentIndex: *deploymentDoc
  289. isSubset:
  290. path: spec.template.spec.containers[0]
  291. content:
  292. resources:
  293. limits:
  294. cpu: 4000m
  295. memory: 8Gi
  296. requests:
  297. cpu: 200m
  298. memory: 50Mi
  299. - it: should override the default requests.memory
  300. set:
  301. image: *image
  302. workload:
  303. workload-name1:
  304. enabled: true
  305. primary: true
  306. type: Deployment
  307. podSpec:
  308. containers:
  309. container-name1:
  310. enabled: true
  311. primary: true
  312. imageSelector: image
  313. probes: *probes
  314. resources:
  315. requests:
  316. memory: 1Gi
  317. asserts:
  318. - documentIndex: &deploymentDoc 0
  319. isKind:
  320. of: Deployment
  321. - documentIndex: *deploymentDoc
  322. isAPIVersion:
  323. of: apps/v1
  324. - documentIndex: *deploymentDoc
  325. isSubset:
  326. path: spec.template.spec.containers[0]
  327. content:
  328. resources:
  329. limits:
  330. cpu: 4000m
  331. memory: 8Gi
  332. requests:
  333. cpu: 10m
  334. memory: 1Gi
  335. - it: should assign GPU on the primary pod/container
  336. set:
  337. image: *image
  338. scaleGPU:
  339. - gpu:
  340. nvidia.com/gpu: 1
  341. global:
  342. ixChartContext:
  343. addNvidiaRuntimeClass: true
  344. nvidiaRuntimeClassName: nvidia
  345. workload:
  346. workload-name1:
  347. enabled: true
  348. primary: true
  349. type: Deployment
  350. podSpec:
  351. containers:
  352. container-name1:
  353. enabled: true
  354. primary: true
  355. imageSelector: image
  356. probes: *probes
  357. container-name2:
  358. enabled: true
  359. primary: false
  360. imageSelector: image
  361. probes: *probes
  362. workload-name2:
  363. enabled: true
  364. primary: false
  365. type: Deployment
  366. podSpec:
  367. containers:
  368. container-name1:
  369. enabled: true
  370. primary: true
  371. imageSelector: image
  372. probes: *probes
  373. asserts:
  374. - documentIndex: &deploymentDoc 0
  375. isKind:
  376. of: Deployment
  377. - documentIndex: *deploymentDoc
  378. isAPIVersion:
  379. of: apps/v1
  380. - documentIndex: *deploymentDoc
  381. equal:
  382. path: spec.template.spec.runtimeClassName
  383. value: nvidia
  384. - documentIndex: *deploymentDoc
  385. isSubset:
  386. path: spec.template.spec.containers[0]
  387. content:
  388. resources:
  389. limits:
  390. cpu: 4000m
  391. memory: 8Gi
  392. nvidia.com/gpu: "1"
  393. requests:
  394. cpu: 10m
  395. memory: 50Mi
  396. - documentIndex: *deploymentDoc
  397. isSubset:
  398. path: spec.template.spec.containers[1]
  399. content:
  400. resources:
  401. limits:
  402. cpu: 4000m
  403. memory: 8Gi
  404. requests:
  405. cpu: 10m
  406. memory: 50Mi
  407. - documentIndex: &otherDeploymentDoc 1
  408. isKind:
  409. of: Deployment
  410. - documentIndex: *otherDeploymentDoc
  411. isAPIVersion:
  412. of: apps/v1
  413. - documentIndex: *otherDeploymentDoc
  414. isNull:
  415. path: spec.template.spec.runtimeClassName
  416. - documentIndex: *otherDeploymentDoc
  417. isSubset:
  418. path: spec.template.spec.containers[0]
  419. content:
  420. resources:
  421. limits:
  422. cpu: 4000m
  423. memory: 8Gi
  424. requests:
  425. cpu: 10m
  426. memory: 50Mi
  427. - it: should assign GPU on the selected pod/container
  428. set:
  429. image: *image
  430. global:
  431. ixChartContext:
  432. addNvidiaRuntimeClass: true
  433. nvidiaRuntimeClassName: nvidia
  434. scaleGPU:
  435. - gpu:
  436. nvidia.com/gpu: 1
  437. targetSelector:
  438. workload-name2:
  439. - container-name1
  440. workload:
  441. workload-name1:
  442. enabled: true
  443. primary: true
  444. type: Deployment
  445. podSpec:
  446. containers:
  447. container-name1:
  448. enabled: true
  449. primary: true
  450. imageSelector: image
  451. probes: *probes
  452. container-name2:
  453. enabled: true
  454. primary: false
  455. imageSelector: image
  456. probes: *probes
  457. workload-name2:
  458. enabled: true
  459. primary: false
  460. type: Deployment
  461. podSpec:
  462. containers:
  463. container-name1:
  464. enabled: true
  465. primary: true
  466. imageSelector: image
  467. probes: *probes
  468. asserts:
  469. - documentIndex: &deploymentDoc 0
  470. isKind:
  471. of: Deployment
  472. - documentIndex: *deploymentDoc
  473. isAPIVersion:
  474. of: apps/v1
  475. - documentIndex: *deploymentDoc
  476. isNull:
  477. path: spec.template.spec.runtimeClassName
  478. - documentIndex: *deploymentDoc
  479. isSubset:
  480. path: spec.template.spec.containers[0]
  481. content:
  482. resources:
  483. limits:
  484. cpu: 4000m
  485. memory: 8Gi
  486. requests:
  487. cpu: 10m
  488. memory: 50Mi
  489. - documentIndex: *deploymentDoc
  490. isSubset:
  491. path: spec.template.spec.containers[1]
  492. content:
  493. resources:
  494. limits:
  495. cpu: 4000m
  496. memory: 8Gi
  497. requests:
  498. cpu: 10m
  499. memory: 50Mi
  500. - documentIndex: &otherDeploymentDoc 1
  501. isKind:
  502. of: Deployment
  503. - documentIndex: *otherDeploymentDoc
  504. isAPIVersion:
  505. of: apps/v1
  506. - documentIndex: *otherDeploymentDoc
  507. equal:
  508. path: spec.template.spec.runtimeClassName
  509. value: nvidia
  510. - documentIndex: *otherDeploymentDoc
  511. isSubset:
  512. path: spec.template.spec.containers[0]
  513. content:
  514. resources:
  515. limits:
  516. cpu: 4000m
  517. memory: 8Gi
  518. nvidia.com/gpu: "1"
  519. requests:
  520. cpu: 10m
  521. memory: 50Mi
  522. - it: should assign GPU on the selected pods/containers
  523. set:
  524. image: *image
  525. global:
  526. ixChartContext:
  527. addNvidiaRuntimeClass: true
  528. nvidiaRuntimeClassName: nvidia
  529. scaleGPU:
  530. - gpu:
  531. nvidia.com/gpu: 1
  532. targetSelector:
  533. workload-name1:
  534. - container-name1
  535. - container-name2
  536. workload:
  537. workload-name1:
  538. enabled: true
  539. primary: true
  540. type: Deployment
  541. podSpec:
  542. containers:
  543. container-name1:
  544. enabled: true
  545. primary: true
  546. imageSelector: image
  547. probes: *probes
  548. container-name2:
  549. enabled: true
  550. primary: false
  551. imageSelector: image
  552. probes: *probes
  553. workload-name2:
  554. enabled: true
  555. primary: false
  556. type: Deployment
  557. podSpec:
  558. containers:
  559. container-name1:
  560. enabled: true
  561. primary: true
  562. imageSelector: image
  563. probes: *probes
  564. asserts:
  565. - documentIndex: &deploymentDoc 0
  566. isKind:
  567. of: Deployment
  568. - documentIndex: *deploymentDoc
  569. isAPIVersion:
  570. of: apps/v1
  571. - documentIndex: *deploymentDoc
  572. equal:
  573. path: spec.template.spec.runtimeClassName
  574. value: nvidia
  575. - documentIndex: *deploymentDoc
  576. isSubset:
  577. path: spec.template.spec.containers[0]
  578. content:
  579. resources:
  580. limits:
  581. cpu: 4000m
  582. memory: 8Gi
  583. nvidia.com/gpu: "1"
  584. requests:
  585. cpu: 10m
  586. memory: 50Mi
  587. - documentIndex: *deploymentDoc
  588. isSubset:
  589. path: spec.template.spec.containers[1]
  590. content:
  591. resources:
  592. limits:
  593. cpu: 4000m
  594. memory: 8Gi
  595. nvidia.com/gpu: "1"
  596. requests:
  597. cpu: 10m
  598. memory: 50Mi
  599. - documentIndex: &otherDeploymentDoc 1
  600. isKind:
  601. of: Deployment
  602. - documentIndex: *otherDeploymentDoc
  603. isAPIVersion:
  604. of: apps/v1
  605. - documentIndex: *otherDeploymentDoc
  606. isNull:
  607. path: spec.template.spec.runtimeClassName
  608. - documentIndex: *otherDeploymentDoc
  609. isSubset:
  610. path: spec.template.spec.containers[0]
  611. content:
  612. resources:
  613. limits:
  614. cpu: 4000m
  615. memory: 8Gi
  616. requests:
  617. cpu: 10m
  618. memory: 50Mi
  619. # Failures
  620. - it: should fail with empty requests
  621. set:
  622. image: *image
  623. containerOptions:
  624. resources:
  625. requests:
  626. workload:
  627. workload-name1:
  628. enabled: true
  629. primary: true
  630. type: Deployment
  631. podSpec:
  632. containers:
  633. container-name1:
  634. enabled: true
  635. primary: true
  636. imageSelector: image
  637. probes: *probes
  638. asserts:
  639. - failedTemplate:
  640. errorMessage: Container - Expected non-empty <resources.requests>
  641. - it: should fail with empty requests.cpu
  642. set:
  643. image: *image
  644. containerOptions:
  645. resources:
  646. requests:
  647. cpu: ""
  648. workload:
  649. workload-name1:
  650. enabled: true
  651. primary: true
  652. type: Deployment
  653. podSpec:
  654. containers:
  655. container-name1:
  656. enabled: true
  657. primary: true
  658. imageSelector: image
  659. probes: *probes
  660. asserts:
  661. - failedTemplate:
  662. errorMessage: Container - Expected non-empty <resources.requests.cpu>
  663. - it: should fail with empty requests.memory
  664. set:
  665. image: *image
  666. containerOptions:
  667. resources:
  668. requests:
  669. cpu: 10m
  670. memory: ""
  671. workload:
  672. workload-name1:
  673. enabled: true
  674. primary: true
  675. type: Deployment
  676. podSpec:
  677. containers:
  678. container-name1:
  679. enabled: true
  680. primary: true
  681. imageSelector: image
  682. probes: *probes
  683. asserts:
  684. - failedTemplate:
  685. errorMessage: Container - Expected non-empty <resources.requests.memory>
  686. - it: should fail with invalid format in requests.cpu
  687. set:
  688. image: *image
  689. containerOptions:
  690. resources:
  691. requests:
  692. cpu: 10MB
  693. memory: 50Mi
  694. workload:
  695. workload-name1:
  696. enabled: true
  697. primary: true
  698. type: Deployment
  699. podSpec:
  700. containers:
  701. container-name1:
  702. enabled: true
  703. primary: true
  704. imageSelector: image
  705. probes: *probes
  706. asserts:
  707. - failedTemplate:
  708. errorMessage: Container - Expected <resources.requests.cpu> to have one of the following formats [(Plain Integer - eg. 1), (Float - eg. 0.5), (Milicpu - eg. 500m)], but got [10MB]
  709. - it: should fail with invalid format in limits.cpu
  710. set:
  711. image: *image
  712. containerOptions:
  713. resources:
  714. requests:
  715. cpu: 10m
  716. memory: 50Mi
  717. limits:
  718. cpu: 10MB
  719. memory: 8Gi
  720. workload:
  721. workload-name1:
  722. enabled: true
  723. primary: true
  724. type: Deployment
  725. podSpec:
  726. containers:
  727. container-name1:
  728. enabled: true
  729. primary: true
  730. imageSelector: image
  731. probes: *probes
  732. asserts:
  733. - failedTemplate:
  734. errorMessage: Container - Expected <resources.limits.cpu> to have one of the following formats [(Plain Integer - eg. 1), (Float - eg. 0.5), (Milicpu - eg. 500m)], but got [10MB]
  735. - it: should fail with invalid format in requests.memory
  736. set:
  737. image: *image
  738. containerOptions:
  739. resources:
  740. requests:
  741. cpu: 10m
  742. memory: 50MB
  743. limits:
  744. cpu: 4000m
  745. memory: 8Gi
  746. workload:
  747. workload-name1:
  748. enabled: true
  749. primary: true
  750. type: Deployment
  751. podSpec:
  752. containers:
  753. container-name1:
  754. enabled: true
  755. primary: true
  756. imageSelector: image
  757. probes: *probes
  758. asserts:
  759. - failedTemplate:
  760. errorMessage: Container - Expected <resources.requests.memory> to have one of the following formats [(Suffixed with E/P/T/G/M/K - eg. 1G), (Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi), (Plain Integer in bytes - eg. 1024), (Exponent - eg. 134e6)], but got [50MB]
  761. - it: should fail with invalid format in limits.memory
  762. set:
  763. image: *image
  764. containerOptions:
  765. resources:
  766. requests:
  767. cpu: 10m
  768. memory: 50Mi
  769. limits:
  770. cpu: 4000m
  771. memory: 8GB
  772. workload:
  773. workload-name1:
  774. enabled: true
  775. primary: true
  776. type: Deployment
  777. podSpec:
  778. containers:
  779. container-name1:
  780. enabled: true
  781. primary: true
  782. imageSelector: image
  783. probes: *probes
  784. asserts:
  785. - failedTemplate:
  786. errorMessage: Container - Expected <resources.limits.memory> to have one of the following formats [(Suffixed with E/P/T/G/M/K - eg. 1G), (Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi), (Plain Integer in bytes - eg. 1024), (Exponent - eg. 134e6)], but got [8GB]
  787. - it: should fail with empty gpu in defined entry
  788. set:
  789. image: *image
  790. scaleGPU:
  791. - gpu:
  792. targetSelector:
  793. workload-name1:
  794. - container-name1
  795. workload:
  796. workload-name1:
  797. enabled: true
  798. primary: true
  799. type: Deployment
  800. podSpec:
  801. containers:
  802. container-name1:
  803. enabled: true
  804. primary: true
  805. imageSelector: image
  806. probes: *probes
  807. asserts:
  808. - failedTemplate:
  809. errorMessage: Container - Expected non-empty <scaleGPU.gpu>
  810. - it: should fail with empty list under workload in targetSelector
  811. set:
  812. image: *image
  813. scaleGPU:
  814. - gpu:
  815. key: value
  816. targetSelector:
  817. workload-name1: []
  818. workload:
  819. workload-name1:
  820. enabled: true
  821. primary: true
  822. type: Deployment
  823. podSpec:
  824. containers:
  825. container-name1:
  826. enabled: true
  827. primary: true
  828. imageSelector: image
  829. probes: *probes
  830. asserts:
  831. - failedTemplate:
  832. errorMessage: Container - Expected non-empty list under pod in <scaleGPU.targetSelector>
  833. - it: should fail with empty value in gpu
  834. set:
  835. image: *image
  836. scaleGPU:
  837. - gpu:
  838. key: ""
  839. targetSelector:
  840. workload-name1:
  841. - container-name1
  842. workload:
  843. workload-name1:
  844. enabled: true
  845. primary: true
  846. type: Deployment
  847. podSpec:
  848. containers:
  849. container-name1:
  850. enabled: true
  851. primary: true
  852. imageSelector: image
  853. probes: *probes
  854. asserts:
  855. - failedTemplate:
  856. errorMessage: Container - Expected non-empty <scaleGPU> <value>