Random-Liu
d40c0a7099
Add standalone npd on GCI.
2017-02-17 16:18:08 -08:00
Mike Danese
c8ce55fef4
Revert "Merge pull request #41132 from kubernetes/revert-40893-kubelet-auth"
...
This reverts commit fd56078298
, reversing
changes made to d953402cdf
.
2017-02-09 15:55:12 -08:00
Aleksandra Malinowska
1841e5b2e0
Revert "remove second CA used for kubelet auth in favor of webhook auth"
2017-02-08 13:22:10 +01:00
Mike Danese
86d9493747
remove second CA used for kubelet auth in favor of webhook auth
2017-02-07 13:22:01 -08:00
Mike Danese
3ab0e37cc6
implement upgrades
2017-01-04 11:45:57 -08:00
Michael Taufen
ee0686b8c7
Exit with error if <version number or publication> is not the final parameter
...
getopts stops parsing flags after a non-flag, non-arg-to-a-flag parameter.
This commit adds an error message if any parameters are passed after the
first non-flag, non-arg-to-a-flag parameter in the arg list.
2016-12-01 16:02:15 -08:00
Michael Taufen
7942c015e6
Print osImage and kubeletVersion for nodes before and after GCE upgrade
2016-11-02 10:49:23 -07:00
Michael Taufen
263c54c424
Fix upgrade.sh image setup
...
The original fix (#33147 ) sourced the correct `node-helper.sh` but set
`node_os_distribution` instead of `NODE_OS_DISTRIBUTION`. The
`set-node-image` function is imported indirectly via `source
"${KUBE_ROOT}/cluster/kube-util.sh"`, which in turn (in the GCE case)
sources `cluster/gce/util.sh`. Since the `set-node-image` function
relies on the `NODE_OS_DISTRIBUTION` variable, the original fix
did not have the entire intended effect.
I have confirmed that cherry-picking #33147 into the `release-1.4`
branch and layering this commit on top of it make for a successful
upgrade from a GCI based K8s 1.3 cluster to a GCI based K8s 1.4 cluster.
2016-10-10 10:54:58 -07:00
Kubernetes Submit Queue
cccd3b3234
Merge pull request #33147 from vishh/fix-upgrade-sh
...
Automatic merge from submit-queue
Fix base image pinning during upgrades via cluster/gce/upgrade.sh
Fixes #33056
cc @timstclair @maisem
2016-10-05 01:19:56 -07:00
Vishnu kannan
8f7b274cf7
fix base image pinning during upgrades via cluster/gce/upgrade.sh
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-20 18:31:18 -07:00
Jeff Grafton
47e4573943
Print a more helpful error message when rolling-updates fail.
2016-09-20 15:31:57 -07:00
Kubernetes Submit Queue
5a8d0a198c
Merge pull request #32855 from wojtek-t/extend_logs_for_upgrade
...
Automatic merge from submit-queue
Extend logs for debugging upgrade test failures
2016-09-16 03:17:30 -07:00
Marek Grabowski
5fc62c2333
Merge pull request #32814 from bprashanth/kubeup
...
Retrieve username/password from basicauth section of kubeconfig
2016-09-16 11:41:17 +02:00
Wojciech Tyczynski
ed88a03944
Extend logs for debugging upgrade test failures
2016-09-16 10:52:14 +02:00
Vishnu kannan
ff5081cce5
support image type override for real in upgrade.sh script
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-15 23:16:44 -07:00
Random-Liu
bb233e2249
Change the upgrade script to keep os distro during upgrade.
2016-09-15 21:14:40 -07:00
bprashanth
bfd4485317
Retrieve username/password from basicauth section of kubeconfig
2016-09-15 12:57:18 -07:00
Bryan Boreham
f5159b49c2
Correct gcloud list arg from '--zone' to '--zones'
...
`--zone` was accepted as an abbreviation but is now deprecated
and will be disabled entirely in gcloud 132.0.0.
2016-08-01 14:49:38 +01:00
Maisem Ali
97f3f80833
Splitting OS_DISTRIBUTION into NODE_OS_DISTRIBUTION and
...
MASTER_OS_DISTRIBUTION.
2016-07-15 12:02:31 -07:00
k8s-merge-robot
f2ddd60eb9
Merge pull request #26755 from david-mcmahon/fix-headers
...
Automatic merge from submit-queue
Remove "All rights reserved" from all the headers.
cc @thockin @zmerlynn @brendanburns
2016-06-29 18:46:07 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Zach Loafman
2d6c632de2
Revert "Revert "Merge pull request #28193 from zmerlynn/pull-ci-elsewhere""
...
Bring back #28193 . We caught a break in
https://github.com/kubernetes/test-infra/issues/240 and discovered the
previous issue, fixed in
https://github.com/kubernetes/test-infra/pull/241 and
https://github.com/kubernetes/test-infra/pull/244 , so I have a pretty
good handle on what was causing the previous bringup issues (and it
wasn't #28193 ). By the time this merges, we'll have good signal on GKE
in the `kubernetes-e2e-gke-updown` job.
This reverts commit ee1d480333
.
2016-06-29 15:10:24 -07:00
Zach Loafman
ee1d480333
Revert "Merge pull request #28193 from zmerlynn/pull-ci-elsewhere"
...
This reverts commit d965b4719c
, reversing
changes made to 08a28e5123
.
2016-06-29 07:55:53 -07:00
Zach Loafman
92485326b1
Change references to gs://kubernetes-release/ci
...
Change over to gs://kubernetes-release-dev/ci. This should be all the
places we reference gs://kubernetes-release/ci or
https://storage.googleapis.com/kubernetes-release/ci . I'm happy to be
wrong.
Follow-on to #28172
2016-06-28 16:45:12 -07:00
Piotr Szczesniak
4dc6a9f2a1
Fixed typo in upgrade.sh script
2016-06-23 13:29:17 +02:00
Wojciech Tyczynski
5094333bc2
Fix waiting for node upgrades
2016-06-23 09:58:08 +02:00
Wojciech Tyczynski
e029f9523b
Fix not-ready master node after upgrade.
2016-06-22 10:53:51 +02:00
Andy Zheng
c2cdc2e9fd
Fix the node upgrade failure issue #27764
2016-06-21 14:46:53 -07:00
Wojciech Tyczynski
89a4e8850a
Write cluster name in prepare-upgrade
2016-06-21 10:43:07 +02:00
Joe Finney
401985bf6c
Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh.
2016-03-08 16:51:20 -08:00
Joe Finney
372d1b6020
Remove check for rolling-updates gcloud subgroup.
2016-02-23 17:45:44 -08:00
gmarek
2b6c78818b
Allow creation of clusters larger than 500 nodes in GCE, take 2.
...
The change from the take 1 is to remove the suffix from the name of the
last MIG.
2015-12-14 14:02:26 +01:00
Zach Loafman
9492fd6a80
Revert "Allow creation of clusters larger than 500 nodes"
2015-12-10 16:07:17 -08:00
gmarek
0c6126911b
Allow creation of clusters larger than 500 nodes
2015-12-10 12:13:26 +01:00
Brad Erickson
0bd16e0437
Minion->Node rename: kube-util hosting provider helper functions
2015-11-26 09:31:46 -08:00
Brad Erickson
1846cfc129
Minion->Node rename: NODE_ROOT_DISK_SIZE, NODE_ROOT_DISK_TYPE, etc
...
NODE_SCOPES
2015-11-25 00:45:09 -08:00
Brad Erickson
fc04b55088
Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT
2015-11-25 00:45:09 -08:00
Isaac Hollander McCreery
60c316b54a
Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
...
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
Mike Danese
ed23abe181
Merge pull request #14690 from mikedanese/fix-2
...
trim mig template name if it's over the gce validated length limit
2015-09-30 10:52:43 -07:00
Mike Danese
05355145b9
trim mig template name if it's over the gce validated length limit
2015-09-29 11:52:35 -07:00
Mike Danese
5b58a6cb34
sanitize + in KUBE_VERSION during gce upgrade
2015-09-28 17:35:34 -07:00
Max Forbes
8ca0654f94
Pass mbforbes TODOs to others.
2015-08-26 10:05:34 -07:00
Mike Danese
bfd22a6974
Merge pull request #10686 from mesosphere/kube-util
...
Move sourcing of provider-specific util.sh into kube-util.sh
2015-07-24 10:31:48 -07:00
Mike Danese
e9084f95d1
Merge pull request #10517 from chrishiestand/gke-scopes
...
change shell var MINION_SCOPES to user setable
2015-07-24 09:22:25 -07:00
Max Forbes
5ff1566aac
Support gcloud rolling-update command in 'preview' and 'alpha compute'
2015-07-23 14:16:31 -07:00
Chris Hiestand
db1a73317c
change shell var MINION_SCOPES to user setable
...
Because bash arrays may not be environment variables
(see: <https://stackoverflow.com/questions/5564418/exporting-an-array-in-bash-script >)
we have to change the MINION_SCOPES array to a string
* prefers aliases instead of full URLs for scopes
tested under GKE, needs GCE testing
Close #10458
2015-07-22 14:34:03 -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
Max Forbes
434f968715
GKE upgrade tests
2015-06-20 09:44:19 -07:00
Max Forbes
2803fbe343
Node upgrade tests.
2015-06-18 15:59:51 -07:00
Brendan Burns
dea86ed926
Add a missing ${PROJECT}
2015-06-15 16:59:08 -07:00