Bharath Vedartham
424ab3734e
validate_cluster_test: enhance validatePodFailure tests
...
We are now able to identify the instance group associated with a pod.
Add an extra layer to the validatePodFailure to the test where we
create a mock InstanceGroup and associate the pod failures with the
instance group to which the pod belongs to.
2020-11-15 11:07:21 +05:30
Kubernetes Prow Robot
01b17be97e
Merge pull request #10221 from eddycharly/fix-validation
...
Fix cluster validation dependency on local kubeconfig
2020-11-14 14:17:03 -08:00
Charles-Edouard Brétéché
116af0c74b
pass host only instead of the whole config
2020-11-12 08:37:51 +01:00
Charles-Edouard Brétéché
709e1b6cbd
Fix cluster validation dependency on local kubeconfig
2020-11-11 21:11:54 +01:00
John Gardiner Myers
c2434a2e08
Remove components from cluster validation
2020-11-10 23:36:46 -08:00
Bharath Vedartham
f99c04fafa
validate_cluster_test: Update validate_cluster_tests
...
This commit fixes the unit tests for validate_cluster to reflect the addition of the new
InstanceGroup field in struct ValidationError
2020-10-31 19:16:54 +05:30
Ole Markus With
0ec71686b9
Refactor cloudinstancegroupmember in a more independent cloud instance representation
...
Apply suggestions from code review
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-08-30 21:37:03 +02:00
Kubernetes Prow Robot
a454f0ff83
Merge pull request #9118 from johngmyers/validate-missing-asg
...
Return cluster validation failure if ASG missing
2020-05-13 14:36:23 -07:00
John Gardiner Myers
154833e652
Fail cluster validation if too few nodes for ig's target size
2020-05-12 22:28:26 -07:00
John Gardiner Myers
23d48f01d6
Return cluster validation failure if ASG missing
2020-05-11 21:19:02 -07:00
John Gardiner Myers
06376302e4
Don't test static pods on non-ready nodes
2020-05-02 22:09:53 -07:00
John Gardiner Myers
c524290f9e
Test more static pods during cluster validation
2020-05-02 22:09:53 -07:00
Kubernetes Prow Robot
a210ec9649
Merge pull request #8446 from johngmyers/validate-priority
...
Use PriorityClassName instead of namespace in cluster validation
2020-03-11 10:09:37 -07:00
John Gardiner Myers
1b7c5139e0
Merge branch 'master' into surge
2020-03-03 17:53:18 -08:00
John Gardiner Myers
a99ef7c8d2
Handle Unknown pod phase in cluster validation
2020-02-25 21:04:40 -08:00
John Gardiner Myers
c557289c4b
Use PriorityClassName instead of namespace in cluster validation
2020-02-25 21:04:37 -08:00
John Gardiner Myers
8148f2da69
Fail cluster validation if a master missing kube-controller-manager
2020-02-20 21:50:11 -08:00
John Gardiner Myers
be12d88cc3
Detached instances don't count against instancegroup minimums
2020-01-27 20:15:11 -08:00
John Gardiner Myers
80dc001b23
Determine node role from instancegroup spec
2019-12-18 21:47:16 -08:00
John Gardiner Myers
92e8545902
Increase validation test coverage
2019-12-03 15:56:56 -08:00
John Gardiner Myers
21694bd545
Make validation assertions more concise
2019-12-03 15:56:53 -08:00
John Gardiner Myers
fa2a651666
Test validation through the public interface
2019-12-03 15:56:08 -08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
4f0169bb79
codegen
2019-01-16 09:30:40 -07:00
Justin Santa Barbara
875942ae64
Validation: don't expect bastion nodes to join
...
Fix #4761
2018-03-24 13:59:29 -04:00
Justin Santa Barbara
63e51337c0
Validation: treat as error if insufficient nodes
...
We switch to use the rolling update logic, which gives us nodes by
InstanceGroup.
2018-03-20 23:28:27 -04:00
chrislovecnm
07674fa846
Updating to use CoreV1 in unit tests
2018-03-10 13:53:50 -07:00
Tim Hockin
79d5f793e7
Convert registry to k8s.gcr.io
2018-02-14 10:08:41 -08:00
Justin Santa Barbara
3478031533
API types changed package
2017-10-01 14:03:56 -04:00
Justin Santa Barbara
7c8dcc4a0d
Code changes for 1.7
2017-07-02 13:10:28 -04:00
Thomas Hahn
df0482c6eb
Test for having fewer nodes than minimum count
2017-04-19 06:40:50 +00:00
Ted Hahn
395c7428ad
add a second, always ready node. Having healthy nodes shouldn't be a
...
problem for validation.
2017-04-18 18:50:08 -07:00
ryane
526b8d166a
run gofmt -s -w pkg/validation/validate_cluster.go
2017-03-21 08:30:29 -04:00
ryane
0f75b22c82
validate cluster considers pods with PodPhase Succeeded as valid
...
fixes #2137
2017-03-21 08:05:35 -04:00
Justin Santa Barbara
cb4641fea3
Code updates
2017-03-16 02:40:50 -04:00
Shane Starcher
d914e24e7d
adding component and kube-system validation
2017-02-10 11:14:34 -05:00
Justin Santa Barbara
a375b1af82
Updates for k8s 1.6 code
2017-01-03 20:32:48 -05:00
Justin Santa Barbara
cdacc15dce
Import tidying
2016-12-02 11:24:09 -05:00
Justin Santa Barbara
5674b8c2ce
Move to pkg/validation and tidy up
2016-12-02 11:13:06 -05:00