Commit Graph

41 Commits

Author SHA1 Message Date
Catherine Luse ad33275538 Set 1.23 as minimum version for GKE and AKS 2022-10-20 13:16:21 -07:00
Catherine Luse ff29f11b72
Merge pull request #4790 from catherineluse/shared-subnet
Shared subnets are shown in dropdown when provisioning GKE clusters
2021-12-15 11:22:00 -07:00
Catherine Luse 5bfd228bda Shared subnets are shown in dropdwon when provisioning GKE clusters 2021-12-14 17:31:14 -07:00
Vincent Fiduccia 87411fce8a
Preserve current ID in case you want to go back to it 2021-12-13 12:42:27 -07:00
Vincent Fiduccia 0d5224ef39
GKE use existing cloud cred 2021-12-07 16:58:35 -07:00
Cody Jackson bb4b52f33d Improving the default selection behavior for network policy in gkev2
When `Network Policy for Nodes` is selected `Network Policy Config (master only)` is also selected when creating a new cluster

https://github.com/rancher/dashboard/issues/3941#issuecomment-877325656
2021-09-08 10:52:28 -07:00
Vincent Fiduccia 601a21922c
Check the right field for useIpAliases 2021-08-24 13:19:40 -07:00
Westly Wright a8d3438b26
reimplement ui validation for gke v2 network policy
rancher/rancher#32998
2021-06-24 11:42:28 -07:00
Westly Wright fc99c0cc97
Expose PNI for GKE clusters
rancher/rancher#33026
2021-06-08 11:03:50 -07:00
Westly Wright 624cfc51b3
GKE V2 Disable correct fields when not useing Ip Aliases
rancher/rancher#32597
2021-06-07 15:16:46 -07:00
Westly Wright 27618e8e67
change defaults for clusterIpv4Cidr & maintenanceWindow GKEv2
rancher/rancher#32770
2021-05-25 15:01:46 -07:00
Westly Wright dd09197281
Expose zones for a regional cluster
adds new label in each node pool under node count to show the total nodes in each zone

rancher/rancher#32345
2021-05-24 10:19:44 -07:00
Westly Wright 727b160b13
update gke proxy calls to send cluster id if editing 2021-05-03 16:58:25 -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 35bcdbc436
fix undefined intermediate value
caught this while editing an imported cluster before the full sync
2021-04-30 14:12:52 -07:00
Westly Wright 2a7a8c69a5
Release channels can be changed on the gke side during edit
so we need to fire the gkeClusters call and logic for finding the channel on every gke cluster edit

rancher/rancher#32360
2021-04-30 10:46:06 -07:00
Westly Wright 854a91ab7e
Rework GKE versions missing initial version logic
put the version in the versions list and sort before we parse the list to a map of labels/values.

rancher/rancher#32360
2021-04-30 09:14:37 -07:00
Westly Wright bab2d5dc31
Lookup imported gke cluster object on edit to find release channels
If the imported cluster is on a release channel we can then limit the versions available to the user for upgrade scenarios to those that exist in the release channel.

rancher/rancher#32360
2021-04-28 17:07:53 -07:00
Westly Wright a4f927f66d
Merge pull request #4576 from westlywright/bug.gke.edit.error.cluster
GKE V2 Add logic to handle error never provisioned editing case
2021-04-28 15:43:17 -07:00
Westly Wright a4c4b134c6
fix minor version label
rancher/rancher#32339
2021-04-27 10:42:27 -07:00
Westly Wright 8674084aa9
Add logic to handle error never provisioned editing case
If a user launches a new GKE cluster but chooses something alignment of options that fails before the cluster ever starts provisioning
we now allow them to edit the cluster and all its fields.

rancher/rancher#32207
2021-04-26 15:04:52 -07:00
Westly Wright 3b4398cd11
Move cluster and service ranges back out of conditional
they should only be disabled when a range name exists or a shared subnet is selected
2021-04-26 14:14:11 -07:00
Westly Wright bb1bbe2ef4
Update GKE version dropdowns to match EKS on edit 2021-04-26 10:31:21 -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 66da4b523b
revert min/max range changing for cidr input
out of scope of the ui requirements
2021-04-21 15:32:26 -07:00
Westly Wright c962c348b8
add min max check to clusterIpv4CidrBlock 2021-04-19 15:35:34 -07:00
Westly Wright eaa5e76775
Add validation logic surrounding ipAllocationPolicy min/max cidr ranges
rancher/rancher#32207
2021-04-19 15:27:50 -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 4c30fcb9b5
Remove unneeded case to set createSubnet true
rancher/rancher#32082
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 25645a90b8
Fix is new node pool check to avoid locking up name field on nodepool
rancher/rancher#32172
2021-04-16 16:52:38 -07:00
Westly Wright 670f8adcc5
fix duplicate object reference for node pools
the default nodePool object was not being cloned properly when creating a new record so the second np object was just referencing the first one.
renamed model to nodePool because I find it less confusing.

rancher/rancher#32167
2021-04-16 16:52:38 -07:00
Westly Wright 46589bc644
Fix bug with node upgrage checkbox not showing up when should
Versioned the parseCloudeProviderVersion choices for a more robust and native implmentation.
Discards coerce versions and just passes the raw versions around because semver can handle this.
Adds include prerelease input as well.
2021-04-14 16:30:13 -07:00
Westly Wright f1209d5e83
set gke network to default if it exists
rancher/rancher#32136
2021-04-14 12:00:17 -07:00
Westly Wright 11aea27668
Refactor GKE v2 version choices to remove unneeded watcher
which caused the version choices to recompute and add anything less that then selected version to the can't downgrade list before the cluster was saved

rancher/rancher#32135
2021-04-14 11:44:30 -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 d6736d7e42
update secondary range dropdowns when subnet updates
this updates the old gke UI (for upgrades going forward) and the new v2 prvisioner UI.

rancher/rancher#27696
2021-04-12 16:47:17 -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 cb6d89391b
ensure masterIpv4CidrBlock is required when creting priv gke cluster
rancher/rancher#32032
2021-04-12 16:47:17 -07:00
Westly Wright cc723f7d5d
fix import command for gke v2 private cluster 2021-04-09 16:30:09 -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