Commit Graph

3214 Commits

Author SHA1 Message Date
momesgin 714f2be4d5
Syncing node version with cluster version (#5099)
* make node version synced with cluster version + minor refactor

* update naming of controlPlaneVersion to clusterVersion

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2024-01-12 13:51:26 -08:00
Michal Jura 505a22d8f4
Add v1.28 k8s versions to EKS hardcoded list (#5094) 2023-12-19 11:42:18 -08:00
Neil MacDougall b6d3b26e80 Fix external aws banners 2023-11-01 17:31:38 +00:00
momesgin b9e011173b
Show error message from AKS locations endpoint properly (#5068)
* return error message instead of the whole error object

* removed extra space

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2023-10-27 09:18:43 -07:00
Nancy bc13e6a720
set useInstanceMetadataHostname when selecting external-aws provider (#5079) 2023-10-25 06:45:29 -07:00
Nancy b404b9993c
Set cloud provider to external-aws when upgrading from <1.27 (#5078)
* set cloud provider to external-aws when upgrading to >=1.27

* update cloud provider capitalization
2023-10-24 08:51:38 -07:00
Nancy Butler 2a013a5bb0 update constructConfig to handle external-aws cloud provider 2023-10-19 08:15:57 -07:00
Nancy a37930f0e8
add external-aws cloudProvider option (#5074) 2023-10-16 19:25:24 -07:00
Michal Jura c1f9116ed8
Remove support for K8s v1.23-v1.24 AKS/GKE for Rancher v2.8 (#5072)
AKS Issue: https://github.com/rancher/aks-operator/issues/281
GKE Issue: https://github.com/rancher/gke-operator/issues/186

Signed-off-by: Michal Jura <mjura@suse.com>
2023-10-02 11:44:21 +01:00
Michal Jura b8f8a4a947
Remove K8s v1.23 and v1.24 from EKS hardcoded list (#5071)
Signed-off-by: Michal Jura <mjura@suse.com>
2023-09-28 09:48:03 +01:00
Neil MacDougall 48f5aa49a5
Merge pull request #5066 from nwmac/fix-gke-zone-error
Fix issue handling error from GKE zone list request
2023-09-27 18:44:56 +01:00
Michal Jura aa021f664c
Add v1.27 k8s versions to EKS hardcoded list (#5070) 2023-09-27 10:11:39 +01:00
Nancy Butler 7b46c89543 update isdevbuild to include -alpha versions 2023-09-20 14:08:45 -07:00
momesgin 3bb1884a72
9507 - [GKE] Fixed inconsistency between node and cluster versions (#5061)
* set initial node version to max version + disable upgradeVersion when cluster version is higher than max

* include the case where the cluster version is equal to the max version

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2023-09-18 16:25:14 -07:00
Neil MacDougall 17117de893 Fix issue handling error from GKE zone list request 2023-09-13 10:55:39 +01:00
Nancy 340330b883
Remove support for aws in-tree provider for k8s >=1.27 (#5064)
* disable aws in tree on 1.27 upgrade

* disallow creating 1.27 rke1 clusters with aws provider

* allow editing cloud provider when current selectionis no longer supported
2023-09-12 12:58:05 -07:00
Neil MacDougall 2bb516b9ef Remove unused code 2023-09-05 17:01:07 +01:00
Neil MacDougall f85ed8c4f5 Fix k8s version to 1.27 2023-09-05 17:00:24 +01:00
Neil MacDougall b35ef2f5f5 Simplify by using computed property 2023-09-05 16:58:02 +01:00
Neil MacDougall a68506c54f Show banner that Weave is deprecated for k8s >= 1.27 2023-09-01 17:23:58 +01:00
Nancy bea822195e
Add Data-testid attributes to support agent config e2e tests (#5046)
* update window.top and window.postMessage to work with e2e tests for iFramed pages

* .

* add more data-testid

* add data-testid

* update agent config t match rke2

* fix pod affinity/antiaffinity toggle and remove

* update agent config accordion selectors

* update custom cluster name data-testid

* clean up agent config commented code

* node selector term match expression/field swap
2023-07-31 09:57:02 -07:00
Nancy 34b17e74f5
Bugfix agent config (#5052)
* overrideresourcerequirements edit;

* fix pod match exp

* fix pod affinity required/preferred switch

* fix agent config clear all re-add

* clean up match exp template
2023-07-26 11:16:30 -07:00
Nancy b9e548cce8
add aks node resource group input field and length validation (#5049)
* add aks node resource group input field and length validation

* add more node resource group validation

* add rg validation to cluster resource group too

* fix aks resource group validation
2023-07-18 09:25:41 -07:00
Furkat Gofurov d7d02384dd
Fix Azure Nodepool name length validation (#5034) 2023-07-14 09:28:16 -07:00
Neil MacDougall c30a8fbb3e
Remove unused credit card/stripe code and dependencies (#5043)
* Remove unused credit card/stripe code and dependencies

* Fix lint isue
2023-07-12 10:28:08 -07:00
Neil MacDougall 0f285c1c24
Add docker 23.0.x support (#5045) 2023-07-12 10:27:48 -07:00
Richard Cox 7438f313cb
Merge pull request #5035 from rancher/fix-cypress
Ensure embedded ember pages in dashboard work with cypress / e2e
2023-06-23 17:16:30 +01:00
Richard Cox 9ad133564c Add new regions
- This means users can validate their creds against one of these when creating creds in the EKS context
- This also means users can select these creds when creating EC2 based RKE1 clusters
2023-06-22 18:59:29 +01:00
Furkat Gofurov 0e86c02e0e
Add missing regions to the EKS_REGIONS list 2023-06-14 16:45:13 +03:00
Richard Cox 3ae48a9cab Sneak in some identifiers needed for a related e2e test 2023-06-07 15:45:53 +01:00
Richard Cox 3349beba87 Ensure embedded ember pages in dashboard work with cypress / e2e
- Create helper functions to determine if running in embedded mode, and the target window for dashboard messages
  - Wasn't sure where to put this, hopefully choice the right location
- isEmbedded `window.top !== window` weirdly didn't work in cypress runner, so now we check if window.top has ember available (only scenario where isEmbedded is false)
- window used for messaging dashboard is now window.parent, window.top can be cypress runner
2023-06-06 17:11:57 +01:00
Richard Cox 216925702a Enable editing of members in a k3s cluster
- Button was disbaled via 'editing' = false
- I've gone through the history trying to find out why editing members of a k3s cluster (and previously imported rke2) was disabled
  - There's no info in any of the PRs or issues
  - Going to take the plunge and say we're find doing this
  - K3S editing disabled via https://github.com/rancher/ui/pull/3766/files
  - RKE2 editing disabled via https://github.com/rancher/ui/pull/4074/files
  - RKE2 editing enabled via https://github.com/rancher/ui/pull/4866
2023-05-23 17:18:49 +01:00
Nancy c336414f19
update agent config tolerations translations (#5025) 2023-05-19 11:41:58 -07:00
Neil MacDougall 635d9ac8b7 Fix lint 2023-05-19 17:20:10 +01:00
Neil MacDougall d398a3d89d Fix for edit of imported AKS cluster 2023-05-19 14:47:17 +01:00
Neil MacDougall 0b4663aa19 Fix lint 2023-05-16 16:31:55 +01:00
Neil MacDougall 3d1f143c9e AKS MaxSurge fixes 2023-05-16 11:47:11 +01:00
Nancy 6f465e3543
fix agent config cpu req unit formatting (#5022) 2023-05-15 16:07:49 -07:00
Nancy e488323476
Correct agent config matchExpressions values (#5021)
* correct matchexpression field from value to values

* update matchexp values label
2023-05-11 16:03:44 -07:00
Nancy ed4229b467
update agent config banners following review (#5020) 2023-05-11 15:31:55 -07:00
Neil MacDougall 11b75d88bc
Merge pull request #5019 from nwmac/aks-updates
AKS MaxSurge: Address QA feedback
2023-05-11 22:24:17 +01:00
Richard Cox b6ee026b4d
Merge pull request #5009 from furkatgofurov7/add-new-available-eks-k8s-versions
Add new available EKS k8s versions to hardcoded list
2023-05-11 15:29:26 +01:00
Neil MacDougall b2715a4b71 AKS MaxSurge: Address QA feedback 2023-05-11 05:43:32 +01:00
Nancy Butler 6a9cec19cf set eks default kubernetes version to highest supported version per ui-k8s-default-version-range setting 2023-05-10 11:30:24 -07:00
Nancy 64033c89e8
Merge pull request #5011 from mantis-toboggan-md/agent-configuration
RKE1 Agent configuration
2023-05-09 15:49:54 -07:00
Nancy Butler b8d8cc27f8 agent config clean up following review 2023-05-09 15:18:20 -07:00
Nancy Butler 54782bcd2d fix tolerations select padding issue 2023-05-09 13:23:27 -07:00
Nancy Butler 3cabca5ba0 add agent config to eks and imported eks 2023-05-08 14:09:25 -07:00
Nancy Butler 54708f9795 fix cluster and fleet agent config field 2023-05-08 12:32:23 -07:00
Nancy Butler 406071d768 fix node affinity spec 2023-04-26 13:41:52 -07:00