Jim Minter
35a6471cd5
Merge pull request #447 from sjkingo/feature/91-cluster-creation-metric
...
Improve cluster creation metric
2020-05-11 21:40:56 -05:00
Jim Minter
2ae34f5050
Merge pull request #624 from asalkeld/better-multi-kind-error
...
Add a better message when the groupKind matches multiple
2020-05-11 18:41:12 -05:00
Jim Minter
283518fa9d
Merge pull request #629 from mjudeikis/vm.status.geneva
...
Enirch vm status
2020-05-11 16:51:48 -05:00
Jim Minter
864e319966
measure cluster creation/deletion time
2020-05-11 15:44:06 -05:00
Jim Minter
9a36a94095
prevent admin updates from changing cluster provisioning state
2020-05-07 10:10:01 -05:00
Jim Minter
7771d6dc0d
remove postAdminOpenShiftClusterUpgrade geneva action
2020-05-06 13:16:49 -05:00
Mangirdas Judeikis
341d17c97d
enrich geneva vm status
2020-05-04 07:31:41 +01:00
Angus Salkeld
d4bafd01af
Add a better message when the groupKind matches multiple
2020-04-30 09:46:08 +10:00
Kenny Woodson
efcd91109c
Do not perform the timed portion of the frontend checkReady on dev environment
2020-04-27 11:15:56 -04:00
Jim Minter
15ea1e3be6
ensure that our emitted health metrics match our /healthz behaviour
...
We saw a transient on upgrade where /healthz had indicated OK, so upgrade
proceeded, but the health *metric* had not yet indicated OK. This caused a
false alarm on Geneva.
2020-04-25 12:07:53 -05:00
Jim Minter
7f459a89b9
Merge pull request #569 from asalkeld/have-you-tried-turning-it-off-and-on-again
...
Change restart to redeploy
2020-04-23 16:00:56 -05:00
Jim Minter
5bae92370a
complete restart->redeploy rename
2020-04-23 14:56:56 -05:00
Angus Salkeld
80f73b4153
Change restart to redeploy
...
restart seems to be too polite
redeploy also has the added side effect of moving the vm to a new host
2020-04-23 11:40:24 +10:00
Jim Minter
a9f4c5c325
remove values wrapping object from list clusters json
2020-04-22 19:30:46 -05:00
Jim Minter
7277f35485
Merge pull request #539 from asalkeld/kubeactions-errors
...
handle errors in findGVR()
2020-04-22 09:24:26 -05:00
Olga Mirensky
9264590f4a
Do not persist email information to database
2020-04-22 17:02:12 +10:00
Angus Salkeld
588336921f
handle errors in findGVR()
2020-04-22 10:28:28 +10:00
Jim Minter
b3976e064c
Merge pull request #533 from mjudeikis/cluster.monitor
...
add more cluster monitoring
2020-04-21 16:10:41 -05:00
Mangirdas Judeikis
b463e3ffea
add cluster monitoring
2020-04-21 15:48:22 -05:00
Jim Minter
aed35c028a
Merge pull request #528 from asalkeld/fix-oc-get
...
Fix kubeactions.findGVR
2020-04-21 15:47:16 -05:00
Jim Minter
45b6df7bbd
Update pkg/frontend/kubeactions/kubeactions_test.go
2020-04-21 15:28:57 -05:00
Jim Minter
0c29626f8c
use restart terminology to match azure and add validation
2020-04-21 15:20:54 -05:00
Angus Salkeld
5771bd21c9
add admin vm restart operation
2020-04-21 13:43:51 -05:00
Jim Minter
3824807857
remove jmeErrorToCloudError and rename functions
2020-04-21 08:46:53 -05:00
Jim Minter
8acf375642
move adminJmespathFilterValidate to validate
2020-04-21 08:46:01 -05:00
Jim Minter
110e3a4585
move validateAdminKubernetesObjects* to validate.go
2020-04-21 08:23:16 -05:00
Angus Salkeld
974fb5d333
Add jmespath "filter" to admin kubernetes.List
2020-04-21 08:22:35 -05:00
Angus Salkeld
fe2ca7dc01
Fix kubeactions.findGVR
...
Note: apiresource object very seldom actually has .Group and .Version set.
from what I logged, it seemed like only a handful had them set.
The most consistently provided Group and Version is in the "apiresources"
object and in the form of GroupVersion that needs to be parsed out.
2020-04-21 12:09:21 +10:00
Nils Elde
43d8b4d0e0
use kubeActionsFactory
2020-04-20 15:06:23 -04:00
Nils Elde
44219ffeff
Add logging to MustGather
2020-04-20 15:06:23 -04:00
Elana Hashman
0ef856256c
Admin action for listing all clusters ( #507 )
...
* Expose List db query for listing all clusters
* Add admin list action based on public list API
* Don't bother enriching for now
* Don't bother with pagination for now
* Address PR feedback
* Fix signature of db List()
2020-04-17 16:57:57 -05:00
Jim Minter
c88d55b27b
use ServerGroupsAndResources to walk dynamic groups and resources
...
This API maintains the preferred version order, which allows us to prefer the
server-preferred version but fall back in order to other versions if necessary.
An example of where this is necessary is when querying
ImageContentSourcePolicys: at least in 4.3 these are not included in the server
preferred version, but only an older version.
2020-04-16 16:00:44 -05:00
Nils Elde
06a7d83766
remove WriteTimeout
2020-04-16 13:18:44 -04:00
Jim Minter
ca96fae556
allow "." in groupkinds
2020-04-15 21:58:09 -05:00
Jim Minter
af41557fab
only log client principal name for admin actions
2020-04-15 21:57:48 -05:00
Jim Minter
fbcff8c479
fix: create on failed update rather than vice-versa, so that resourceVersion is honoured
2020-04-15 21:57:48 -05:00
Jim Minter
3434c40396
fix: respect apiVersion of submitted document
2020-04-15 21:57:48 -05:00
Jim Minter
00fcab0567
largely rename kind to GroupKind
2020-04-15 21:57:48 -05:00
Jim Minter
09044bcdb6
log x-ms-client-principal-name
2020-04-15 18:33:11 -05:00
Jim Minter
fcfdb4cb89
use same validation for POST as for GET and DELETE
...
prevent POST and DELETE on customer namespaces
for now, remove kubeactions unit test - definitely needed, but step 1 is to put the client in the struct
2020-04-15 17:26:46 -05:00
Angus Salkeld
b81135334e
Add a KubernetesObject Delete admin action
2020-04-15 16:02:38 -05:00
Angus Salkeld
1fbcd2cc4c
Add post kubernetesObjects admin action
2020-04-15 16:02:38 -05:00
Jim Minter
6701e87bde
Merge pull request #475 from m1kola/simplify_validateTerminalProvisioningState
...
Simplifies validateTerminalProvisioningState
2020-04-14 22:23:13 -05:00
Jim Minter
4d5887dddf
don't allow clusters to be created with Standard_D2s_v3 in prod -- too small
2020-04-14 13:10:48 -05:00
Mikalai Radchuk
fcdcb22777
Simplifies validateTerminalProvisioningState
2020-04-14 14:10:35 +01:00
Jim Minter
740c13a97e
Merge pull request #469 from jim-minter/geterror
...
return user-facing error on kind mismatch in geneva action
2020-04-13 09:56:11 -05:00
Jim Minter
79c2d57eef
Merge pull request #467 from jim-minter/nameroutes
...
ensure all routes are named so that they appear in Geneva
2020-04-13 09:43:44 -05:00
Jim Minter
b9b72b28b0
return user-facing error on kind mismatch in geneva action
2020-04-11 19:25:21 -05:00
Jim Minter
0656bb0212
ensure all routes are named so that they appear in Geneva
2020-04-10 19:59:47 -05:00
Jim Minter
23f4caa6cd
marshal all resource fields returned by geneva action
2020-04-10 10:12:50 -05:00