Commit Graph

75 Commits

Author SHA1 Message Date
Richard Cox 6746ed830a Scale down specific RKE2 machine
- Adds the scale down action to an RKE2 machine
- Cater for case where at lease one machine with a role of Control Plane must exist
2022-01-26 09:53:01 +00:00
Vincent Fiduccia 17d15136a3
Things are sometimes null 2022-01-13 14:57:39 -07:00
Neill Somerville 177043fbe9 labels update 2022-01-04 08:32:24 -07:00
Neill Somerville 31ea26c284 restore snapshot promptrestore modal 2021-12-14 06:14:35 -07:00
Nancy de21ec97da
Merge pull request #4617 from mantis-toboggan-md/bugfix-rke1-edit-yaml
Prevent edit-as-yaml for RKE1 clusters
2021-11-23 08:54:16 -07:00
Richard Cox 23fa8060fc Fix missing action label for download kubeconfig
- Cluster Management --> Clusters list --> second(ish) action
2021-11-22 18:34:01 +00:00
Nancy Butler d72c5579ee no edit yaml for rke1 sadface 2021-11-22 09:16:14 -07:00
Neil MacDougall b99c43ce2a Fix visibility of some cluster actions 2021-11-10 12:17:33 +00:00
Vincent Fiduccia 14c6f0c222
_standardActions -> super._availableActions 2021-10-29 11:13:57 -07:00
Richard Cox 26c8475028 Fix issue by ensuring provisioning cluster model always looks at mgmt store 2021-10-27 11:29:30 +01:00
Vincent Fiduccia e12eae56f4
Drop .class since it's the only type now 2021-10-25 10:20:35 -07:00
Vincent Fiduccia 570c4650e9
Now with more classes and no proxies 2021-10-25 10:20:34 -07:00
n313893254 9360522c86 Chinese translation 2021-10-19 22:52:36 +08:00
wujun 06a519c142 Fix harvester node driver (don"t fetch kubeconfig when edit cluster) 2021-09-23 14:25:42 +08:00
n313893254 cdb45175b2 Add harvester cloud provider
Fix credentail lackof clusterId

https://github.com/harvester/harvester/issues/1019
2021-09-22 17:09:51 +08:00
Richard Cox b95f6d6200 Fix missing actions for in harvester clusters list 2021-09-17 14:39:16 +01:00
Richard Cox 037fa5cfe6 Fix erroneous warning on harvester cluster list 2021-09-17 14:33:29 +01:00
Neil MacDougall 8fbe6f815f Fix lint issue 2021-09-17 14:32:28 +01:00
Vincent Fiduccia 6522fd7659
Separate Norman and Steve base classes 2021-09-14 02:37:50 -07:00
Vincent Fiduccia be9473d190
rke2.windows provider 2021-08-24 12:47:41 -07:00
Vincent Fiduccia 0526f9b5a8
Only try to create a registrationToken if you can update the cluster (#3852) 2021-08-20 02:55:58 -07:00
Vincent Fiduccia cc5133093d
Need edit to take snapshots 2021-08-17 02:16:39 -07:00
Vincent Fiduccia 3ad95772db
Edit yaml for !rke2 cluster should show mgmt cluster 2021-08-17 02:16:37 -07:00
Vincent Fiduccia b39d0491e0
Use Cloud Creds for etcd s3 backups 2021-08-11 23:24:06 -07:00
Richard Cox c10f66b03c Fix create cluster by template for admins
- This will unblock some QA use cases when creating as admin (non-admins will still be in same broken state)
- Ensure that if we have access to the local cluster use it
- For non-admins they're still in a broken state, this is tracked in another issue

Also fixed issue where returning to the provisioning cluster too early would fail
2021-08-11 11:38:10 +01:00
Richard Cox 3ad4d0d641 Fix a number of issues around having no access to a cluster 2021-08-09 13:55:24 +01:00
Richard Cox dea7b53c5e Ensure we wait for requried resources before leaving cluster import / create rke2
- Previously nav away was occurring inside `this.save` before we could wait for the mgmt cluster
- This meant some info was missing when we arrived at the next page
- So move wait and role change into after hook and rely on native nav in this.save again
2021-08-08 11:56:10 +01:00
Vincent Fiduccia 87875fbfd3
Disable cluster clone for now, needs to clone machine configs to work right 2021-08-06 17:49:49 -07:00
Vincent Fiduccia 9f8ed5ab67
Inline credential create 2021-08-04 11:51:37 -07:00
Vincent Fiduccia fcf07ed106
Merge pull request #3620 from mantis-toboggan-md/bugfix-projects-delete-master
[master] cluster name validation
2021-08-04 01:31:10 -07:00
Vincent Fiduccia 2713c9713c
Send generation for rke2 snapshot 2021-08-04 01:14:19 -07:00
Nancy Butler f3a7b9f0d5 validate cluster name for rke2 2021-08-03 16:59:49 -07:00
Vincent Fiduccia a8ad7132b6
Only enable kubeconfig on ready cluster (#3490) 2021-07-20 10:34:34 -07:00
Vincent Fiduccia ced309acaa
RKE1 custom command (#3145) 2021-07-19 01:58:09 -07:00
Vincent Fiduccia d1fa64c5b4
Disable some actions on unready clusters (#3490) 2021-07-19 01:58:09 -07:00
Vincent Fiduccia e85f21214c
Windows registration command 2021-07-14 13:50:49 -07:00
Neil MacDougall 048d8c17db Prevent user from deleting the local cluster 2021-07-08 08:56:48 +01:00
Bastian Hofmann 685b67989d Fix race condition when showing the registration tab while importing a new cluster
When you import an existing cluster, you are redirected to the cluster detail page in the 2nd step. Due to a race condition, this page often does not show the registration tab with the kubectl apply command.

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2021-07-06 16:23:43 +02:00
Westly Wright 85aadc8f26
Merge pull request #3328 from westlywright/bug.unknown.machine.provider
remove machine provider detail header for v2 cloud provider
2021-07-02 08:54:53 -07:00
Richard Cox a3715829ff
Merge pull request #3357 from richard-cox/cluster-node-counts
Show Node counts in Cluster Management's cluster list
2021-07-02 11:26:00 +01:00
Vincent Fiduccia 3883e08f61
Hide registration command for active imported clusters (#3337) 2021-07-02 02:10:48 -04:00
Vincent Fiduccia 4ead77043b
Show registration command for provisioning-v1 imported clusters (#3121) 2021-07-02 02:10:04 -04:00
Westly Wright 4761bd0ab9
Remove machine provider check from mgmt cluster, update provision check 2021-07-01 08:45:02 -07:00
Richard Cox 1d204bcdb4 Show Node counts in Cluster Managament's cluster list
- counts are shown (ready, pending,etc) are already shown for RKE2 machines
- show restricted set of counts for RKE1 nodes
- show basic total node count for non-RKE clusters
- #3028
2021-07-01 11:31:26 +01:00
Richard Cox 8fe34b4778 Changes following review
- Tweak some translations
- Remove used alwaysGroup
- Fix RKE1 scale pool & reactivity
- Show management pool table if rke2 or have machines
- Show node pool table if not management pool and have nodes
- Cleaned up `roles()` function (and made common fn)
- Converted some 'clusterId' property names to 'mgmtClusterId'
2021-06-29 14:11:36 +01:00
Richard Cox ec2e1c6ca4 Update Cluster Manager Node/Machine Lists
- Add a Node list grouped by Node Pools
  - Both Node/Node Pools are of type 'management'
  - For pools...
    - Show node count next to pool label
    - Show description of pool underneath pool label
    - Show convenience scale down/up buttons (normally scale by cluster config)
    - Show node pool action menu
  - For nodes
    - Link to kube node
    - Show node role/s
- Update Machine/Machine Pool List
  - For pools
    - Like Node Pools add a description of machine pool underneath label
    - Like Node Pools Show convienience scale down/up buttons (normally scale by cluster config)
  - For machines
    - Like Nodes link to kube node
    - Like Nodes show node machine role/s
- Add resource descriptions (shown on lists) for machine, machine deployment and machine set
- Addresses #3291
  - Includes #3016, #493
2021-06-28 15:40:25 +01:00
Nancy Butler 447eac19b2 fix rotate certs and rotate encryption key conditional logic 2021-06-24 09:39:11 -07:00
Westly Wright d6f8858696
remove machine provider detail header for v2 cloud prov legacy
aks, eks, and gke v2 providers do not have a machine provider so lets drop it from the details

rancher/dashboard#2985
2021-06-23 16:17:01 -07:00
Vincent Fiduccia a0b55a6bdc
Redirect to import 2021-06-22 23:35:09 -07:00
Vincent Fiduccia f5145d1d73
Snapshot [bulk]action on Clusters 2021-06-22 23:35:08 -07:00