Commit Graph

1198 Commits

Author SHA1 Message Date
Nancy Butler 126703f1f7 add ability to select custom node role during eks creation 2022-12-08 15:11:45 -07:00
Jordon Leach 52e0c850c8 Update default image for gke nodes 2022-09-12 15:50:27 -04:00
Catherine Luse 1cfb7a195b Can upgrade legacy apps after upgrading to v2.6.3 2021-12-16 00:40:38 -07:00
Cody Jackson 6564d1349c Inform the user that Logging, CIS Scans, Istio and Pipelines aren't supported in k8s 1.21+
https://github.com/rancher/dashboard/issues/3589
2021-08-04 11:28:18 -07:00
wujun 029e77f097 feat: harvester nodeDriver rke1 2021-07-29 12:27:13 +08:00
Westly Wright 5c97ce36b1
Expose gke node tags
rancher/rancher#33416
2021-07-01 16:43:09 -07:00
Westly Wright 3b0c1d3c71
remove auto scaling defaults for aks nps 2021-06-04 14:49:31 -07:00
Westly Wright e416275d36
exclude nodeGroups & nodePools from json string check 2021-06-04 14:49:02 -07:00
Westly Wright a875466186
Azure AKS v2
WIP - Initial creation of AKS v2 cluster

add cloud cred component to aks

location and availablity zone changes aks v2

remove tenant id and fix bug is missing driver for new aks

Cloud creds proxy calls and wip auth networks

update input cidr to move error to tool tip

this accounts for help text below the input

aks v2 networking and use input-cidr

convert tooltip around input cidr to info icon tooltip

fixups

Initial aks node pools

system node pools remove and radio buttons logic

hide primary/user logic for now

markup and node availablity zones

sync aks config

import aks

state logic for authorizedIpRanges and Private Cluster AKS v2

kubenet and azure cni networking setup

advanced networking

default version aks v2

aks edit modes

windows profiles changes

new proxy calls for region, vm size, and clusters aks v2

fix ups

import mode edit and failed cluster edit

add disabled options to searchable select

network policy fixups

node pool versions

save fixes

match import link order with v2 create order on select page

aks v2 set resourceGroup from proxy call not input

testing fixes

editing state steps for aks v2

translations and defaults

version bugs
2021-06-01 12:06:23 -07:00
Westly Wright 27618e8e67
change defaults for clusterIpv4Cidr & maintenanceWindow GKEv2
rancher/rancher#32770
2021-05-25 15:01:46 -07:00
Westly Wright 8638f50301
catch labels case for gke config syncing
added labels to the diffUpstreamSpec comparision exclusion. we already check for equality (eg no changes) in the JSON string compare higher in the function so that handeld the labels that were equal but we need to exclude the labels from further comparison becuase if they are different in the user config, meaning the user changed them, then we know we need to send the entire labels object to update. If we didn't do this the comparison fails because we're only comparing the differences one way not both and removals on the map shorts the comparison functions further on in the function.

rancher/rancher#32433
2021-05-04 14:01:33 -07:00
Westly Wright 852e589130
Fix bug in v2 cluster config compare
if the upstream spec is not an empty object but our config is then we need to send the empty object because this indicates the user removed contents of a map.

rancher/rancher#32433
2021-05-03 14:56:30 -07:00
Westly Wright 5bb0ebe73d
Merge pull request #4605 from westlywright/bug.eks.gke.partial.updates
V2 Clusters Changed Deltas
2021-04-30 14:25:32 -07:00
Westly Wright 38c345424d
fix partial diff updates for v2 clusters
When I refactored the save logic that performed a diff to provide only the changed deltas for GKE I missed the returning the options and supering that to the parent save which in turn only sends those updates.

rancher/rancher#32441
2021-04-30 14:12:52 -07:00
Westly Wright ff34d90fb8
Expose cluster labels on gke v2 create
rancher/rancher#32433
2021-04-30 10:46:06 -07:00
Westly Wright a105ef6476
Min/Max Node counts should be null 2021-04-27 11:00:06 -07:00
Westly Wright ac0cea1f07
Fix typo in displaying the import/reg command for GKE v2 private cluster
rancher/rancher#32303
2021-04-23 11:12:45 -07:00
Westly Wright 69cd83b906
set autoRepair and autoUpgrade on gke node pool default true 2021-04-21 15:32:26 -07:00
Westly Wright 9517b5f698
Only show registration command if imported cluster or private cluster
rancher/rancher#32150
2021-04-16 16:54:11 -07:00
Westly Wright 8e95ca821b
more node pool autoscale changes 2021-04-16 16:54:11 -07:00
Westly Wright 72bf5f58c1
Show warning if on edit either logging or monitoring is changed gkev2
rancher/rancher#32148
2021-04-16 16:52:39 -07:00
Westly Wright 20b2b518e9
change defaults on gke v2 np autoscale config to 1, 3
rancher/rancher#32169
2021-04-16 16:52:38 -07:00
Cody Jackson ba97eb64f1 Updating the principal logicalType to account for okta
rancher/rancher#30401
2021-04-15 15:30:46 -07:00
Westly Wright 89d9d943a1
Show registration command regardless of node count
rancher/rancher#31529
rancher/rancher#32031
2021-04-13 14:55:51 -07:00
Westly Wright 2541240ed9
node version update 2021-04-13 13:51:20 -07:00
Westly Wright 0b77c0f6e4
change default location type to zone for gke v2 clusters
rancher/rancher#32098
2021-04-13 11:46:27 -07:00
Westly Wright 58a8260d55
fix edit sync upstream config
rancher/rancher#32060
rancher/rancher#32068
2021-04-13 11:12:46 -07:00
Westly Wright 575cf0c897
remove logic that auto-sets secondary range names on gke cluster
rancher/rancher#32046
2021-04-12 16:47:17 -07:00
Westly Wright 657737657c
GKE V2 Provisioner
rancher/rancher#31221

initial creation of gke driver

create shared google service for v1/v2 driver

wip

all fetch methods for google to shared service

cluster/kubernetes options

ippolicy conditionals

private nodes observer so can force ipaliases true

subnetwork logic

cru-private-cluster for gke

initial values

gke node pools

default configs and service cleanup

node group changes

subnet work

hide private nodes config if not enabled

useIpAliases work

 master authorized network component

loggings

no initial master version

gke node pool fixups

input-cidr component and validation

wip - new np logic

node pool updates

fix ups from launching

edit mode changes

more edit updates

more fix ups

node pool edits

import gke

reset auto-scale

implment cloud credentials in gke v2

Cloud cred changes for gke nice to haves

imp fetch clusters

Implement Shared Subnets

cleanup

Import private cluster work and other fixes

private cluster changes

More import/register changes

Null values and node pool version changes

gke private networks warning

fixups
2021-04-09 15:03:26 -07:00
Westly Wright 075a6f49f9
Added extra logic for excluding docker cluster from edit/upgrade
k3s clusters that do not have a config should not allow editing of items on the config.
A null k3s config indicates a docker installed cluster so I've added extra logic
to check if the config exists and if it does not we don't show the manage import cluster info component.

I also added logic to the final save method in cru cluster to only show the registration step if the cluster is pending
and not a null k3s config.

rancher/rancher#30977
2021-04-07 08:50:17 -07:00
Westly Wright 7046e4cf33
add google cc to display type on cc model 2021-03-17 11:29:52 -07:00
Westly Wright 2ab6db46c2
explicitly pass import provider for edit import
rancher/rancher#31547
2021-03-01 17:14:52 -07:00
Westly Wright 5626cc1be4
account for missing actions links object on can scale check
rancher/rancher#31452
2021-02-24 09:22:23 -07:00
Westly Wright 7ef8f46566
disable node scale down when last node in pool
rancher/rancher#31424
2021-02-23 13:38:58 -07:00
Luther Monson c71901f9bb
adding scale down buttons 2021-02-16 09:18:00 -07:00
Westly Wright c6ad401988
refactor public and private access checks for eks imported clusters
rancher/rancher#31258
2021-02-12 14:45:41 -07:00
Westly Wright 509e41d448
rework the spot instance types ux
updated the spot instance to make spot instance types required along with adding a default row
during the process I also found that the nodegroups data was being reset on a failure so added some wrappers around the observer for this.

rancher/rancher#31213
rancher/rancher#31288
2021-02-12 14:45:41 -07:00
Westly Wright 25616d5264
Merge pull request #4415 from westlywright/bug.node.display.name
display prefix of node name (drop domain)
2021-02-11 11:24:35 -07:00
Westly Wright 9b2648458f
do not show edit if there is no configname
when adding RancherD as a display provider, for some reason the check for configName got removed.
this caused a regression in the form of users being able to edit local clusters
2021-02-05 15:37:21 -07:00
Westly Wright 8b25066a54
lint 2021-02-04 15:24:20 -07:00
Westly Wright 0d06a3e90b
display prefix of node name (drop domain)
rancher/rancher#27873
2021-02-03 10:19:00 -07:00
Westly Wright ca45166add
Subnets can not be undefined
rancher/rancher#31087
2021-02-02 09:01:24 -07:00
Westly Wright 5caabc7f38
Don't overwrite node group details to defaults when cycling lts
these details are not loaded from EKS

rancher/rancher#31078
2021-02-01 15:59:06 -07:00
Westly Wright 36e3fca379
change add host label to registration command
rancher/rancher#30920
2021-02-01 15:13:16 -07:00
Westly Wright 7c2327e191
reset nodegroup schema when moving id/version changes
rancher/rancher#31064
2021-02-01 10:31:49 -07:00
Westly Wright e56fb69396
EKS Launch Templates
rancher/rancher#30613

Initial seperation of the node instance info and group info EKS v2

Template versions

inputs enabled for eks launch templates

build files

Resource instance tags

resource template cleanup

lint fix

dont disable gpu or spot during create

launch template pr feedback

Add example user data and removal on save logic
2021-01-26 15:52:24 -07:00
Westly Wright 2057b9ac08
remove dynamicComputeKeyName from node template
it was added to deal with a lint error about not using arrow functions, but it never needed to be added. The watched keys are sufficient dependent keys for the computed property.

rancher/rancher#30506
2021-01-21 15:36:42 -07:00
pajuga eb1abb00f0
Cloud credentials support and UI built in implementation for phoenixNAP node driver (#4380)
* Cloud credentials support for phoenixNAP driver.

* space added

* code formatting

* init function removed, name param removed from the arrays that populate
dropdowns

Co-authored-by: pavlej <pavlej@NSDT-PAVLEJ.ccbill-hq.local>
2021-01-13 12:57:13 -07:00
Phillip Campbell 960da87b24
Bring Linode UI in tree (#4386)
* Add LKE string constants

Supersedes https://github.com/rancher/ui/pull/4298

* New cluster driver boilerplate

* Pull assets from from https://github.com/linode/ui-cluster-driver-lke

* Convert from skeleton format

* Add LKE to build_in_ui

- refactored to have the two locations match

* Replace " with '

* Translations for labels

* Language was moved to translations file

* Linter errors

* replace multiple sets with setProperties

* Move bare strings to translations

* Swap this.setProperties for ember/object's version

* Remove custom language change reactions

* remove dollar sign in favor of format-number

* Convert node pool list to a sortable table

Co-authored-by: Tamal Saha <tamal@appscode.com>
2021-01-13 11:03:02 -07:00
Westly Wright 82d85545b6
add isActive to computed check for canRotateEncryptionKey
Transtion doesn't always update as often or as fast and is active. I dont see a downside to checking both though its unlikely we'd ever get into a state where they are both not true or false.

rancher/rancher#30552
2020-12-18 15:01:51 -07:00