Commit Graph

199 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
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
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
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 2ab6db46c2
explicitly pass import provider for edit import
rancher/rancher#31547
2021-03-01 17:14:52 -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 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 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
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
Westly Wright c2d84f3ad9
update rotate encryption key logs for new requirements
exposes the kubeApi Secrets config enabled property which allows users to rotate keys
disable rotate action when prop is not set, we are rotating or, the cluster is transitioning

rancher/rancher#30077
2020-12-17 11:42:33 -07:00
Westly Wright e5fb9b1102
lint 2020-12-16 16:44:42 -07:00
Westly Wright 6c459cc8d0
Expose rotate encryption keys action and modal
rancher/rancher#30077
2020-12-16 16:18:47 -07:00
Westly Wright 128c07e7d7
Use double bang comparitor and add provisioning to pending state eksv2
rancher/rancher#30403
2020-12-15 14:10:18 -07:00
Westly Wright 9f39a0bb6c
fix logic to show Add Host command when in the correct cluster
rancher/rancher#30447
2020-12-14 09:42:14 -07:00
Westly Wright e454ddd38f
Update display provider to account for RKE windows
rancher/rancher#30046
2020-12-03 15:52:47 -07:00
Anton Kachurin 9008a43584
Add OTC CCE label translation 2020-12-03 22:38:26 +03:00
Westly Wright 78ff7f8a96
EKS import cluster command only on priv true pub false
rancher/rancher#30332
2020-12-03 11:00:43 -07:00
Westly Wright 1eb0e8301f
lint 2020-12-02 13:17:15 -07:00
Westly Wright 9a38d546f7
Expose Import Command for EKS v2 Clusters with Private Access
rancher/rancher#28356
2020-12-02 12:09:33 -07:00
Westly Wright 09187d8a45
Add imported check to name check eks v2 clusters
rancher/rancher#30262
2020-11-30 13:54:19 -07:00
Westly Wright 084bc17488
Merge pull request #4270 from westlywright/feature.rancherd.displaydriver
RancherD Display Provider
2020-11-12 13:59:42 -07:00
Westly Wright ed21f3ffbc
Add rancherd to displayproviders
rancher/rancher#28651
2020-11-02 09:53:56 -07:00