Commit Graph

70 Commits

Author SHA1 Message Date
n313893254 d4dcb40dce HARVESTER: Add ipam on create workload page 2022-01-27 18:34:22 +08:00
Richard Cox c26579bc62
Merge pull request #4816 from richard-cox/cypress-library
Update E2E tests with Page Object components, improve structuring
2022-01-07 18:42:40 +00:00
n313893254 a7fe06c58f Add i18n 2021-12-31 16:20:47 +08:00
Richard Cox aa446d72bb Update E2E tests with Page Objects, improve structuring
- Tests are now in their own folder and more suitably organised / named
- E2E Page Object components have been added and used everywhere applicable (not every test has been updated to have POs, though where they exist they're used). For more info on POs see the changes to the `development.md` doc
- Some examples of PO functionality
  ```
  HomePage.gotTo()
  new HomePagePo().checkIsCurrentPage()
  new BurgerMenuPo().clusters()
  new AsyncButtonPO('.my-button').isDisabled()
  new LoginPagePo().username().set('admin');)
  ```
TODO
- Majorly expand tests and POs
- Separate tests into short, smoke test style groups and longer more time consuming tests. The smoke tests could run on PRs and the full suite nightly.
- The existing tests could be sped up by avoiding a page navigation before each individual test, though this comes with a higher chance of bleeding state.
2021-12-23 10:08:43 +00:00
Richard Cox 92bdbc3aef
Merge pull request #4760 from richard-cox/align-pod-states
Use same metric for pod state in workload list, workload detail and pod lists
2021-12-14 10:29:35 +00:00
Vincent Fiduccia 8cceb09b86
Oops 2021-12-13 10:37:34 -07:00
Richard Cox bcd6fb84a7 Use same metric for pod state in workload list, workload detail and pod
lists
- previously workload list and detail used pod status phase
- pod status phase can sometimes appear contradictory to pod state (#4745)
- so show the same in all three locations
- Note - Job related workloads remain unchanged

Also
- Workload detail count gauges... don't show percentage doughnut if they're
  all just circles (all in one state). Without variance these are confusing
2021-12-13 13:40:23 +00:00
Vincent Fiduccia cca9ae8d29
Workload exec shell action 2021-12-09 12:48:19 -07:00
Nancy Butler 00c8af8ab0 fix listeningPort reactivity 2021-11-24 12:05:40 -07:00
Richard Cox 32c7ba1401 Add Health (Pod/Job) and Scaling column to Workload table/s
- Show a new column in workload table which indicates pod/job state and allows user to scale if possible
- Pod/job state matches that shown in the workload type detail pages
- Pod/job state requires we fetch these resources, in order to show the list quickly we don't block on these
- Also show tooltip for columns supplied by kube schemas (this makes it easier to understand some of the workload columns)

Generic changes added to support drop down
- Allow columns to block selection of row
- Added generic PlusMinus component (this will eventually make it on to the workload detail page)
- In order to make room for the new column some columns (image + endpoint) will be removed as the screen shrinks
2021-11-23 15:10:24 +00:00
Jordon Leach d099f9298d
Merge pull request #4572 from jordojordo/4398-service-name
Add warning banner for existing workload port service names
2021-11-19 13:03:22 -05:00
Jordon Leach c03b51629b PR changes - removed outdated logic, added conditional for existing _serviceType in workload ports 2021-11-18 16:30:28 -05:00
Catherine Luse e4783ea1b6
Merge pull request #4357 from catherineluse/pause-orchestration
Add pause orchestration button for workloads
2021-11-09 10:05:24 -07:00
Catherine Luse 416b03857a Add pause orchestration button for workloads 2021-11-01 13:01:23 -07:00
Vincent Fiduccia 14c6f0c222
_standardActions -> super._availableActions 2021-10-29 11:13:57 -07:00
Vincent Fiduccia a7b555c81b
Need update to add sidecar 2021-10-28 16:48:01 -07:00
Vincent Fiduccia 7b03c3748f
Add Run Now action to CronJobs (#1377) 2021-10-28 14:39:17 -07:00
Vincent Fiduccia 20268df923
Cronjob suspend/resume, organize workload actions 2021-10-28 13:35:40 -07:00
Vincent Fiduccia e12eae56f4
Drop .class since it's the only type now 2021-10-25 10:20:35 -07:00
Vincent Fiduccia d606158808
Rename models 2021-09-14 02:37:49 -07:00
Phillip Rak b3d392dfb7 Add guard to disable redeploy action for cron jobs 2021-08-19 10:28:26 -07:00
Phillip Rak beaac83ebe Revert previous change 2021-08-19 10:28:03 -07:00
Phillip Rak 9932b3f08d Check for template before attempting to assign metadata 2021-08-18 13:12:00 -07:00
Vincent Fiduccia 2d0ce37191
Bulkable redeploy (#3378) 2021-08-11 23:25:35 -07:00
Nancy 0ac575524d
Merge pull request #2862 from mantis-toboggan-md/2.6-bugfix-sidecar-init
[2.6] fix init container updating, command args formatting
2021-04-30 10:30:21 -07:00
Vincent Fiduccia 9b7c9b2526
Filter out index.docker.io in image names 2021-04-29 14:33:09 -07:00
Nancy Butler 9ceb0d73e1 fix init container updating, shellinput 2021-04-28 12:29:05 -07:00
Nancy Butler 93d40a5230 sidecar pr feedback 2021-04-12 07:08:21 -07:00
Nancy Butler 6a8c619559 fix svc ports for sidecars 2021-04-12 07:08:21 -07:00
Nancy Butler f0e002a8af create/edit/remove sidecars init container 2021-04-12 07:08:21 -07:00
Nancy Butler 217be8e2fc make svc after workload 2021-04-05 12:25:03 -07:00
Nancy Butler 34da229109 fix create service before save hook 2021-04-05 11:12:07 -07:00
Nancy db04cd43f3
Merge pull request #2370 from mantis-toboggan-md/workload-detail
workload details pod list update
2021-02-23 09:18:33 -07:00
Neil MacDougall 7548259aac
Merge pull request #2332 from mantis-toboggan-md/workload-service
use listening port field for nodeport
2021-02-23 09:17:47 +00:00
Vincent Fiduccia dafa06cf33
Fix workload filtering 2021-02-22 16:26:53 -07:00
Nancy Butler 64a1d2b03e workload details pod list update 2021-02-22 08:17:47 -07:00
Nancy Butler 33db5d15a8 use listening port field for nodeport 2021-02-19 11:43:47 -07:00
Dan Bason 2aaff1db0a Filter ownerReferences to standard kinds 2021-02-15 14:15:29 +13:00
Nancy Butler ff73a64714 remove unused workload endpoints 2021-02-05 06:52:36 -07:00
Nancy Butler d9b6a09579 fix endpoints table formatter 2021-02-05 06:52:36 -07:00
Nancy Butler 3aabe7defe namespace workload pods method 2021-02-02 16:01:28 -07:00
Vincent Fiduccia 82764050cd
Merge branch 'master' into workload-service 2021-01-25 18:49:25 -07:00
Vincent Fiduccia f2decad4b7
Set redeploy annotation on the right part of workload (#1810) 2021-01-25 15:34:55 -07:00
Nancy Butler b053e62a17 add annotation for ui services 2021-01-20 08:14:04 -07:00
Nancy Butler 23dd260f62 edit workload ports also edit service 2021-01-14 14:30:04 -07:00
Nancy Butler ff84cf804f add lb creation to workload ports 2021-01-14 09:17:59 -07:00
Nancy Butler d153ec54ce make nodeport for workload container ports
fix workloadendpoints if none found

delete services if workload creation fails
2021-01-13 14:44:55 -07:00
Nancy Butler ac70a26e9c create service with workload ports
add owner ref to svc created

endpoints in list view
2020-12-23 17:49:58 -07:00
Nancy Butler 3a4d18f9d7 fix replica display in config 2020-12-15 15:50:32 -07:00
Nancy Butler 196674a075 allow 0 replicas
clear env var fields when type changed

fix stdin/tty in workload create

no clone job

node/pod affinity re-do
2020-12-03 16:26:56 -07:00