Commit Graph

169 Commits

Author SHA1 Message Date
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 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
Cody Jackson ef5afd4007 Adding the agent env vars to rke drivers.
rancher/dashboard#31023
2021-02-23 12:44:52 -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 cc83938284
Update PV and PVC pages to allow volume expansion
rancher/rancher#27746
2020-11-30 09:31:52 -07:00
Westly Wright c84090835d
Expose cluster reg token 4 cluster w/o nodes
For imported or custom clusters that never had a host register there was
never a way to get back to the registration command. This exposes a new
modal and button ont he cluster dashboard the allows the user to fetch
this command if the cluster doesn't have any nodes.

rancher/rancher#28548

Add import-command component the import command on imported clusters

this is the first step to exposing the command as an action in the modal for show command

Create CustomCommand component for modal show command

add custom input to show command modal

translations
2020-10-29 15:31:41 -07:00
Westly Wright 4925f54ef7
Expose node group versions on eks v2 node groups
adds both tooltip warning on cluster row and alert warning on cluster dashboard

version can only be updated on edit when cluster version is different from node group version
all other times we set the node group version to the clusters version

rancher/rancher#28335
2020-08-14 16:38:02 -07:00
Westly Wright af16527ff9
Exposes edit for RKE2 imported clusters 2020-07-23 10:24:31 -07:00
Westly Wright 3d13864e53
Amazon EKS V2
error handler

wip - dev for aws cloud creds

wip - refactor aws login

wip - kms key

wip - encrypt secrets

wip - private access & vpcs

wip - translations and formatting

wip - more cleanup

remove unneeded code

wip - node groups

add ability to disable value label

fix double import, fix double negative disable add button and expose
addbuttonenabled

clean up public access and node groups

cleanup variable names and default config

eks regions

wip - eks v2 select

differentiate v1/2 amazon eks providers

clean up node groups, translations

unionize top errors

Consolidate aws util statics

WIP - Import/Cloud Creds

tweak cloud cred events for eks driver

WIP new import selector

drop unneeded variables eks import

kms keys cleanup

allow user to enter if the kms keys call fails

firefox styles

drop vpc selection and group subnets by vpcs

import cluster name input if allClusters fails to load from eks

make eks import a bit more dynamic

fix bug in driver eks for default subnet

more imported cleanup

eks v2 edit

eks v2 vendors

remove use cloud creds temp branchs

push current version to version choices if it doesnt exist

eks v2 rename cloudcred param

fix eks v2 versions

clean up for pr
2020-07-22 16:09:14 -07:00
loganhz a859b0547d Use external UI for Aliyun ACK cluster 2020-05-27 22:49:26 +08:00
jesse.millan 84410805f2
Add Oracle Container Engine (OKE) as a builtin cluster driver. 2020-04-22 12:17:49 -07:00
Westly Wright 2509327067
Add new classifier banner component
rancher/rancher#25694

add ui-banners to allowed settings

move banners to settings

refactor names on settings component

update ui-banners translation text
2020-04-21 14:34:24 -07:00
Cody Jackson 355d592051 Large refectoring of CIS to improve UX
- Added Set Alert button
  - This will set the appropriate options for cis
- Added Set Schedule button
  - This will scroll the settings into view
- Added a modal so profiles can be picked
2020-03-06 12:15:27 -07:00
Westly Wright f718b13afe
add node args component 2020-02-25 14:25:18 -07:00
Westly Wright 4eb82ace5b
Expose k3sConfig on k3s imported cluster edit
rancher/rancher#25401
2020-02-25 12:59:08 -07:00
Cody Jackson 143bbe8738 Add zero downtime upgrade options to rke driver
This required refactoring the drain modal into a reusable component
since these fields were going to be used in more than one place.

rancher/rancher#24110
2020-02-05 12:58:54 -07:00
loganhz 8b892ce009 Support creating storage class for local persistent volumes
https://github.com/rancher/rancher/issues/24082
2019-12-16 17:36:04 +08:00
Westly Wright 87cd611652
Merge pull request #3513 from westlywright/fp.cr8.template.from.cluster
[Forwardport] Convert Existing Cluster to RKE Cluster Template
2019-11-13 15:25:36 -07:00
Cody Jackson 76adaf8658 Notify user of value missing from options
When using an older vsphere node template in the latest version it was
possible that a user entered value would not be a valid option. When
the value isn't a valid option the dropdown has nothing selected. To
improve the UX we now notify the user that the current value is no
longer valid and sask them to select a new value.

rancher/rancher#23920
2019-11-07 16:51:15 -07:00
Westly Wright 281a922cb4
Add save as rke template action to clusters
rancher/rancher#23752
2019-10-29 13:51:31 -07:00
Cody Jackson 4b2c79ea3d Improve vsphere driver UX
-We now prepopulate fields as select component instead of just
free-form text fields.
-We added support for cloning from different sources.
-We also added support for custom attributes and tags.

To implement the above features we also added support for promise
based content for new-select and search-select and created a new
component contextual-select-array which provides a method for
filtering content based on previous selections.

rancher/rancher#21580
2019-10-21 13:19:14 -07:00
Cody Jackson 71a7fb8d2d Include Template/Revision in cluster table
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.

To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.

rancher/rancher#22047
2019-09-26 09:20:45 -07:00
loganhz 9f8acf0d39 Show Kubernetes events in UI 2019-09-12 14:44:30 +08:00
loganhz 8a825860a1 Support search in apps and multi-cluster apps list page 2019-09-11 20:32:43 +08:00
loganhz eeea7ce159 Fix cluster tempalte table text issue
https://github.com/rancher/rancher/issues/22250
2019-08-17 08:50:06 +08:00
lvuch 86d3582688 22163 2019-08-14 13:17:29 -07:00
n313893254 c832f12676 Make sure FluentServer.weight is int
https://github.com/rancher/rancher/issues/20640
2019-08-05 15:57:26 +08:00
loganhz 5be5abfded Support taints 2019-07-26 19:49:31 +08:00
n313893254 c500bff699 Add toleration 2019-07-23 10:50:21 +08:00
loganhz db2488602f Support virtual service and destination rule 2019-07-23 10:50:20 +08:00
n313893254 9ec45e5dbd Access control for Kiali, Jaeger, Grafana and Prometheus UI
https://github.com/rancher/rancher/issues/20899
2019-07-23 10:50:20 +08:00
Westly Wright 87d22bc40e
Fix cancel bug when launching template from cluster index
added parentRoute and moved the cancel action to the controller so we can
access goToPrevious.

rancher/rancher#21626
2019-07-19 16:46:35 -07:00
Westly Wright 531c112539
Add edit action to cluster template 2019-07-17 16:51:10 -07:00
Westly Wright 550ed2b9f0
Expose DeleteNotReadyAfterSecs on node pool
rancher/rancher#20862
2019-07-12 14:59:57 -07:00
Westly Wright 2a66489f83
New cluster launch page
Refactor and decouple launch cluster

adds new routes for selecting cluster, selecting cluter template, and launching
cluster

Add first version of cluster template selection logic

WIP - First version of cluter-template resource pages & components

cluster template index

adds cru-cluster-template

save cluster template and cluster template revision

refactor rke cluster driver and add rke cluster driver to clust temp

add cluster template revision page

template revision changes

more questions

refactor cluster networking into component

cluster template questions components

first itteration of working add question

fixups for ct and ctr's

general fixes

quick revision select on new revision page

Move name, expose ctr name, move ctr source

Refactor ct/ctr table to use grouped form

share member added

single template no revisions rows

translations

translation changes

css toggle

css toggle on all elements

inline override

initial apply cluster template

initial show or lock when applying a cluster template

validation bug

first run at windows support overrides

abstract check override with component that yields

add check for override to most sections

bulk remove cluster template revision

more check override

handle errors better for ctrs

translations

bugs

add toggle to azure cloud provider

auth endpoint fix

computed override check and refactor

fixup question override inputs

remove cluster launch route

review fixups

cluster edit

fixup alias properties for overrides
2019-07-08 14:45:44 -07:00
Westly Wright 530845a91a
Add ui warning about expiring certificates 2019-06-28 15:07:23 -06:00
Logan 039eb879cd Support HPA (#3015)
* Support HPA

* Fix comments

* fix merge issue

* bug fix
2019-06-03 09:45:10 -07:00
Logan 74bbe0171e Registry and Istio (#3014)
* Add vendors for istio

* Add istio lib

* Add kiali UI vendor

* Expose components in shared lib

* Istio css

* Support kiali graph in Rancher UI

* Show traffic metrics from istio

* Enable istio in cluster level

* Toggle for istio sidecar auto injection

* Support add istio config

* Reuse catalog for istio config

* Support enable global registry in local cluster

* Rename traffic rule

* Not upgrade template version for istio

* Fix istio project level routing issue

* Fix comments

* Bug fix

* Add kiali copyright

* App name is not required in schema

* Use cytoscape dagre from npm

* Bug fix

* Hide traffic rule
2019-06-03 09:44:28 -07:00
Westly Wright a5474a4b70
Project level catalog answer yaml->form sync
rancher/rancher#19060

add modal confirmation for yaml -> form editing App Q/A's

validate yaml answers

formatting

more formatting

update custom answers component to handle yaml sync
2019-04-30 09:13:35 -07:00
Westly Wright c4a47f7944
Refactor GDNS project target logic to reduce complexity
rancher/rancher#18954
2019-03-15 15:51:59 -07:00
Westly Wright 209b624ac4
update mc app rbac to allow only 2 roles and def to project-member
rancher/rancher#18326
2019-03-04 10:29:34 -07:00
Westly Wright 01125b63c4
Merge pull request #2534 from n313893254/17040
Add current cpu/memory usage in cluster dashboard
2019-02-22 09:47:56 -07:00
n313893254 8e6e8109e5 Show the current cpu/memory usage in cluster dashboard https://github.com/rancher/rancher/issues/17040 2019-02-22 11:17:04 +08:00
Westly Wright 935521482d
Add Global DNS Provider and Entry RBAC
rancher/rancher#17976
2019-02-14 15:33:48 -07:00
Westly Wright 9eddd4bdd8
Multi cluster app RBAC and Actions features
add roles to mc apps
refector mc apps add target into component
add new project target actions for mc apps

rancher/rancher#17853
rancher/rancher#17975
2019-02-13 15:26:04 -07:00
Westly Wright ee1ad0cbc5
Merge pull request #2541 from n313893254/16412
Add GKE fields
2019-02-13 09:27:21 -07:00
Westly Wright 3df948e9ab
Add cloud credentials page, resource, and add modal
WIP

WIP

WIP

cleanup
2019-02-11 17:37:05 -07:00
n313893254 e0ab35e901 Add form-gke-taints https://github.com/rancher/rancher/issues/16412 2019-02-02 16:26:55 +08:00
n313893254 0c46dcf912 UI: Add option for selecting node image for a node pool in GKE https://github.com/rancher/rancher/issues/16412 2019-02-02 10:57:17 +08:00
Westly Wright 7370401da2
Add authorized cluster endpoint to rke clusters
rancher/rancher#16486

default auth endpoint to true for NEW clusters

Add clusterId to token creation

add scope to api keys table
refactor modal-edit-apikey
2019-01-22 16:28:18 -07:00