Commit Graph

2216 Commits

Author SHA1 Message Date
Westly Wright 2145a8e743
fix missing node version on a new node pool for gke 2021-04-13 16:00:17 -07:00
Westly Wright 2541240ed9
node version update 2021-04-13 13:51:20 -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 afcfb8fee4
location type observer should only observe locationType
to prevent reseting the region or zone when changing those params and allow users to switch locations

rancher/rancher#32044
2021-04-12 16:47:16 -07:00
Westly Wright cc723f7d5d
fix import command for gke v2 private cluster 2021-04-09 16:30:09 -07:00
Westly Wright 2b33123ade
translation help block 2021-04-09 15:21:03 -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 31e65617c2
ensure spot instance types and instance type are set correctly eksv2
rancher/rancher#31908
2021-04-05 11:13:22 -07:00
Westly Wright 9fdea17b1a
Google GCP cloud credentials
rancher/rancher#31346
2021-03-16 15:49:25 -07:00
Westly Wright 9b6ce16bcc
Fix edit custom cluster step 2 btn state and two way bindings 2021-03-15 16:04:14 -07:00
Westly Wright 6e4dde97f5
change post save logic for custom clusters to be able to have postsave 2021-03-15 15:42:28 -07:00
Westly Wright 444937a4aa
Refactor logic for showing CustomCommand and ImportCommand 4 env var
Since the env vars have to be saved on a cluster there is no easy way of dynamically updating the cluster command without trying to split the string and do all kinds of nasty things.
I refactored the logic for when we show the command for both Custom and Import clusters until after the cluster has been saved. This ensures the user is required to save the cluster before fetching the command on an edit action

rancher/rancher#31529
2021-03-15 14:48:14 -07:00
Cody Jackson bd43d8d63a Updating the verbiage of the vsphere out-of-tree messaging 2021-03-03 11:39:31 -07:00
Westly Wright 059aa1a08f
Merge pull request #4481 from codyrancher/envvar-k3s
Switching over to having the envVars just be keyValues
2021-03-01 18:12:53 -07:00
Cody Jackson c96c4e1828 Switching over to having the envVars just be keyValues
After some discussions we decided to simplify things since all that's actually needed are keyValues.

I made the changes within the existing component instead of switching to keyValue to reduce risk at this stage of the release.

rancher/rancher#31545
2021-03-01 17:56:26 -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 300cbaee40
enable save on edit if cluster is generic import
rancher/rancher#31547
2021-03-01 14:21:35 -07:00
Cody Jackson fa989bd394 Disabling all reference types on rke create for agentenvvar and marking variable name field as required
Since the reference types can't exist until the cluster is created I added an option to disable all reference types and use it during RKE create

Even though the backend doesn't indicate the variable name is required we're marking it as such because it casues cluster to fail. No validation will be done at this time.

rancher/rancher#31528
2021-03-01 12:45:08 -07:00
Cody Jackson 5adfae361f Adding agent env vars to import cluster
rancher/rancher#31505
2021-02-26 10:12:43 -07:00
Cody Jackson a6156fa4ed Fixing several issues with agentEnvVars
- Fixed issues with determining the provider when editing clusters that are still provisioning.
- Fixed empty values causing problems
- Fixed an issue where the default value wasn't getting set properly for configmaps and secrets when selecting the type and nothing else

https://github.com/rancher/rancher/issues/31023#issuecomment-784717552
2021-02-26 02:45:38 -07:00
Westly Wright 17c508d6b0
Merge pull request #4467 from codyrancher/agent-env-vars
Adding the agent env vars to rke drivers.
2021-02-23 13:14:43 -07:00
Cody Jackson ef5afd4007 Adding the agent env vars to rke drivers.
rancher/dashboard#31023
2021-02-23 12:44:52 -07:00
Cody Jackson 0059b8a951 Removing in-tree deprecating messaging and adding out-of-tree indicator
https://github.com/rancher/rancher/issues/31162#issuecomment-783636347
https://github.com/rancher/rancher/issues/31162#issuecomment-783638299
2021-02-22 13:06:01 -07:00
Westly Wright cee4ecb63d
lint 2021-02-22 11:12:15 -07:00
Westly Wright 887b02eefd
allow set on managed fields with a rancher launch templates
rancher/rancher#31415
2021-02-22 11:05:34 -07:00
jesse.millan e5b23b1a21
Ensure latest version of k8s first and picked by default. 2021-02-19 11:55:32 -08:00
jesse.millan 9e98d480d4
Add support for custom boot volume size and setting oCPUs for flexible node shapes (OKE cluster driver). 2021-02-19 11:53:10 -08:00
Westly Wright 1ddaff8d87
fix incorrect lt name display and resource tags 2021-02-18 17:13:02 -07:00
Westly Wright bda3dbd716
refactor node group row to handle new data source when lt is used 2021-02-18 15:29:43 -07:00
Westly Wright 695ce8737f
refactor filteredLaunchTemplates to remove unnecessary mapping 2021-02-17 15:30:24 -07:00
Westly Wright f654f057ac
remove docker 1.13 from nt eng options
rancher/rancher#31340
2021-02-17 10:29:16 -07:00
Westly Wright c1badf2456
lint 2021-02-17 09:32:34 -07:00
Westly Wright 5403a4990a
Add dns options to excluded keys to camel list
rancher/rancher#31230
2021-02-16 16:07:41 -07:00
Westly Wright 96e908b9eb
Merge pull request #4448 from westlywright/feature.node.drain.b4.delete
Node Pools - drainBeforeDelete
2021-02-16 15:47:11 -07:00
Westly Wright 27c133c2e5
expose drainBeforeDelete option on node groups
rancher/rancher#31308
2021-02-16 14:06:47 -07:00
Westly Wright 43b7dff7e1
update spot instance ux for wider instance type selects
rancher/rancher#31322
2021-02-16 11:42:29 -07:00
Westly Wright 3676682494
Merge pull request #4444 from codyrancher/cloud-provider
Provide more context around in-tree and out-of-tree cloud providers
2021-02-16 09:16:44 -07:00
Cody Jackson cdf45cad2d Provide more context around in-tree and out-of-tree cloud providers
- Add helper text to help people find the out-of-tree providers for vsphere
- Label each in-tree provider with (In-tree) label
- Show a deprecated message for each in-tree option

rancher/rancher#31162
2021-02-12 15:58:01 -07:00
Westly Wright 6025b9cfb3
change spot instnace type read only check
spot instance types should only be available when adding new rows regardless of user template or rancher managed
2021-02-12 14:45:41 -07:00
Westly Wright a53c885cbd
only count rancher launch template if matching version
rancher/rancher#31279
2021-02-12 14:45:41 -07:00
Westly Wright 6b3cc56ab6
swap schedule once for later to ensure that the area is inited
rancher/rancher#31197
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 a57342b542
Ensure correct launch template name is selected
rancher/rancher#31205
2021-02-10 11:08:17 -07:00
Westly Wright 235784a91e
ensure textarea-autogrow grows when component is loaded
rancher/rancher#31197
2021-02-09 11:55:22 -07:00
Westly Wright eb7c7ab06d
node group doesn't have sshKey it has ec2SshKey
rancher/rancher#31191
2021-02-09 11:32:21 -07:00
Westly Wright a2dc6b4aef
create computed for launchTemplate.version
since the property has to be an int and the select component doesn't work with anything but strings

rancher/rancher#31190
2021-02-09 09:36:01 -07:00