Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Philip Ingrey
697f92a5d2
Switch away from gcloud deprecated flags in compute resource listings
2017-08-30 06:41:09 +01:00
Kubernetes Submit Queue
ca1b408bf5
Merge pull request #48864 from jszczepkowski/ha-e2e-fix
...
Automatic merge from submit-queue
Fixed cluster validation for multizonal clusters.
Fixed cluster validation for multizonal clusters.
This should fix HA master e2e tests.
```release-note
```
2017-07-14 02:48:06 -07:00
Jerzy Szczepkowski
1cef818cd0
Fixed cluster validation for multizonal clusters.
...
Fixed cluster validation for multizonal clusters.
This should fix HA master e2e tests.
2017-07-13 11:03:57 +02:00
Chao Xu
986164e78d
fix validate-cluster.sh
2017-06-20 10:20:38 -07:00
Dan Williams
b3705b6e35
hack/cluster: consolidate cluster/ utils to hack/lib/util.sh
...
Per Clayton's suggestion, move stuff from cluster/lib/util.sh to
hack/lib/util.sh. Also consolidate ensure-temp-dir and use the
hack/lib/util.sh implementation rather than cluster/common.sh.
2017-03-30 22:34:46 -05:00
Jerzy Szczepkowski
7a9ad66924
Fixed cluster validation: added -q and project flags to gcloud.
...
Fixed cluster validation in multi-zone mode: added -q and project flags to gcloud.
2016-12-21 14:13:14 +01:00
Jerzy Szczepkowski
134e91e379
Added extra logging in validate cluster.
...
Added extra logging in validate cluster to help debug HA e2e tests.
2016-12-20 09:48:26 +01:00
Jerzy Szczepkowski
3dbfa94798
Fixed infinite loop in cluster validation.
...
Fixed infinite loop in cluster validation when getting nodes failed.
2016-12-16 12:07:26 +01:00
Jerzy Szczepkowski
512c06c267
Fixed region in cluster validation.
...
Fixed region in cluster validation.
2016-12-14 14:34:47 +01:00
Jerzy Szczepkowski
0f60aba7c1
Fixed validation of multizone cluster for GCE.
...
Fixed validation of multizone cluster for GCE: taking actual number of worker nodes.
2016-12-13 14:13:44 +01:00
Jerzy Szczepkowski
d01998f5fa
Fixed e2e tests for HA master.
...
Set of fixes that allows HA master e2e tests to pass for removal/addition of master replicas.
2016-11-22 12:03:28 +01:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
530001c1fd
Merge pull request #26778 from gmarek/validate-cluster
...
Automatic merge from submit-queue
Validate-cluster finishes shortly after at most ALLOWED_NOTREADY_NODE…
Fixes #26691
cc @wojtek-t @lavalamp
2016-06-19 21:40:54 -07:00
Justin Santa Barbara
bab7a255b7
kube-up multizone: don't print scary warning
...
The node-count check gets confused when there are more nodes that we
launched, which is normal with KUBE_USE_EXISTING_MASTER.
This fix just suppresses the error message in that case.
Fix #23390
2016-06-17 13:00:50 -04:00
gmarek
3460fbac06
Validate-cluster finishes shortly after at most ALLOWED_NOTREADY_NODES nodes are not ready
2016-06-06 12:48:48 +02:00
Tim Hockin
7e0f66bd0e
Add retries to validate-cluster
...
E2e shows occasional kubectl failures here, so add some retries. We may want
to make this more general, but I think we should try it out in small scope
first.
Also clean up the retry loop so it doesn't process errors as successful runs
(discovered in testing).
Also simplify a bit of go template syntax.
Testing: I made kubectl randomly fail 50% of the time ($RANDOM%2 ==0) and
iterated until this gave me more helpful results. Still not perfect, but
better.
2016-04-22 09:54:51 -07:00
Rodrigo Campos
902a04d637
validate-cluster.sh: Don't use ignored and deprecated option '--api-version'
...
When using this flag, this error is shown:
Flag --api-version has been deprecated, flag is no longer respected and will be deleted in the next release
Stop using the flag in the validate-cluster.sh script and avoid the warning.
2016-03-17 12:49:21 -03:00
Joe Finney
9845639e14
Remove cluster/kube-env.sh.
2016-03-08 16:57:31 -08:00
gmarek
433e855aca
Fix validate cluster
2016-02-16 11:34:57 +01:00
gmarek
918ddbe5f0
Small cleanup
2016-02-11 10:08:24 +01:00
gmarek
6aaabc6f46
Allow some NotReady nodes in 1000 node clusters
2016-02-01 12:40:40 +01:00
gmarek
9d1e4b153c
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 15:55:36 +01:00
Daniel Smith
3ffcfb928a
Merge pull request #18752 from miry/env-in-validate-cluster
...
AWS: Load cluster env during the validation
2016-01-12 10:39:19 -08:00
He Simei
abe7fc0e91
update validate-cluster.sh
2015-12-29 19:51:00 +08:00
gmarek
95f8593898
Update validate-cluster.sh
2015-12-18 12:04:54 +01:00
Michael Nikitochkin
2059a7c3fa
AWS: Load cluster env during the validation
...
There is an issue when I specified all env in `cluster/env.sh`
And redefine `NUM_NODES`, than if it less than I have loop.
2015-12-16 10:26:11 +01:00
k8s-merge-robot
0c4f302e5e
Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
...
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
Aaron Levy
5c72696aad
explicitly check "Ready" condition in validate-cluster
2015-11-25 11:53:32 -08:00
Brad Erickson
53172a5356
Minion->Node rename: NUM_NODES
2015-11-25 00:45:10 -08:00
Christian Stewart
fec326f35e
cluster/validate-cluster.sh: Allow for greater than NUM_MINIONS.
...
Fixes #15887 . Print a warning when there are more nodes than expected.
Signed-off-by: Christian Stewart <christian@paral.in>
2015-10-20 18:27:23 -04:00
Brian Rosner
b1c418ea20
When calling kubectl.sh, allow error due to API server bouncing
2015-08-18 07:16:18 -06:00
hurf
e63d227bdf
Use -o template to validate cluster
...
Instead of using human-oriented output, use -o template to
validate cluster in order to avoid error caused by column change.
2015-08-07 21:18:40 +08:00
Robert Bailey
8df33bc1a7
Register the kubelet on the master node with an apiserver. This option is
...
separated from the apiserver running locally on the master node so that it
can be optionally enabled or disabled as needed.
Also, fix the healthchecking configuration for the master components, which
was previously only working by coincidence:
If a kubelet doesn't register with a master, it never bothers to figure out
what its local address is. In which case it ends up constructing a URL like
http://:8080/healthz for the http probe. This happens to work on the master
because all of the pods are using host networking and explicitly binding to
127.0.0.1. Once the kubelet is registered with the master and it determines
the local node address, it tries to healthcheck on an address where the pod
isn't listening and the kubelet periodically restarts each master component
when the liveness probe fails.
2015-08-06 13:39:32 -07:00
Karl Isenberg
0229cb01fc
Move sourcing of provider-specific util.sh into kube-util.sh
...
- kube-util.sh defines default implementations
- provider util.sh overrides the default implementations as desired
- default kube-util functions now print to stderr to avoid affecting
captured output
2015-07-02 12:50:18 -07:00
Satnam Singh
a1c2641b53
Fix node numbers for node list
2015-06-04 12:09:58 +01:00
Wojciech Tyczynski
44360e401b
Increase timeout for verifying clusters
2015-05-29 09:44:14 +02:00
Wojciech Tyczynski
e25a34c8a1
Extend logging for cluster validation
2015-05-27 12:05:26 +02:00
Fabio Yeon
89b3ffa5b7
Check node status as part of validate-cluster.sh.
2015-05-07 16:13:07 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Robert Bailey
14c2fb11e1
Don't exit abruptly if there aren't yet any minions right after
...
the cluster is created.
2015-05-01 13:51:59 -07:00
Robert Bailey
a7e62d17ff
Make validate cluster more reliable (it should retry checking the
...
server if a subshell returns a non-zero exit status).
2015-04-28 14:57:14 -07:00
fabioy
acb64e66e8
Fix validate-cluster.sh to work on Mac.
2015-04-21 17:51:35 -07:00
Robert Bailey
8745ebce15
Revert "Rollback "validate-cluster.sh" to previous version."
2015-04-21 13:30:16 -07:00
Fabio Yeon
12db42e4f0
Rollback "validate-cluster.sh" to previous version.
2015-04-21 12:09:34 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Eric Tune
ecf39a6d10
Merge pull request #5414 from chuckbutler/juju-cluster-up
...
Adds JUJU to the Kubernetes Provider listing
2015-04-02 09:27:54 -07:00
Brendan Burns
cf72cf098a
Disable validation on AWS where it doesn't work.
...
Also add an advanced route for the master which I forgot previously.
2015-03-24 21:08:04 -07:00