k8s-merge-robot
646cb70fe3
Merge pull request #20905 from yifan-gu/add_command_in_templates
...
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot
c0dd58c001
Merge pull request #20811 from mwielgus/cm-scripts
...
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot
372c9271ee
Merge pull request #20871 from andyzheng0831/kube-addon
...
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin
b7d72ef36d
Startup scripts for custom metrics
2016-02-10 12:32:04 +01:00
k8s-merge-robot
e5a61c038b
Merge pull request #20622 from wstrange/master
...
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng
126f3c4784
Fix kubelet and kube-proxy log level in Trusty
...
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Yifan Gu
9f2d219331
cluster/gce/coreos: Add command in addon templates.
...
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot
68a165cda9
Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
...
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng
20444558a3
Fix two issues of master on Trusty
...
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330 .
2016-02-08 16:46:18 -08:00
gmarek
208e98b58e
Fix #20788
2016-02-08 10:21:04 +01:00
Justin Santa Barbara
fd5c44c72e
kube-up: Finish refactor of AWS to reuse GCE script
...
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot
a08ac362a9
Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
...
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
9d981b696c
Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
...
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
Madhusudan.C.S
48c4173f5f
Enable ReplicaSets in e2e tests.
2016-02-06 03:46:17 -08:00
k8s-merge-robot
fe269474ca
Merge pull request #20330 from bryk/kubernetes-dashboard
...
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith
75c1dcaacd
Merge pull request #20463 from andyzheng0831/trusty-master
...
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
bryk
46f51d74bb
Set kubernetes-dashboard as the default UI addon
...
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0
This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Warren Strange
fed1d947bc
added shell guard in case var is not set
2016-02-04 16:45:20 -07:00
Justin Santa Barbara
732e76fb4e
kube-up: Refactor SSL cert helpers into common
...
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Warren Strange
24b06d805a
Add preemtible option to master
2016-02-03 19:34:27 -07:00
Andy Zheng
b103f0f279
Support master on Ubuntu Trusty
...
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Jeff Lowdermilk
4a9b046515
Merge pull request #20432 from brendandburns/flake5
...
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk
ec4b94aabc
Merge pull request #20509 from yujuhong/docker_health
...
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong
156d301140
Change docker health checker to using `docker ps`
...
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -08:00
k8s-merge-robot
30375b21d6
Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
...
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns
78c9a7718a
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-01 14:17:36 -08:00
Fabio Yeon
574f354b73
Merge pull request #20143 from roberthbailey/list-resources-gke
...
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Justin Santa Barbara
c556e8f0f5
kube-up: Refactor kube-env into common; use in AWS
...
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara
4d88a4ed2c
kube-up: move sha1sum-file into common
...
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
ae75a7d259
kube-up: move build-runtime-config from AWS & GCE into common
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
0df6f5d8c5
kube-up: move yaml-quote from GCE & AWS to common
2016-01-28 10:19:38 -08:00
k8s-merge-robot
a95f1b84cb
Merge pull request #17243 from yifan-gu/gce_coreos
...
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Zach Loafman
cb9afa65f0
REALLY bump to container-vm-v20160127
2016-01-27 10:28:04 -08:00
Zach Loafman
727fb1a97a
Bump to container-vm-v20160127
2016-01-27 09:22:07 -08:00
Robert Bailey
a8cad507db
Fix list-resources.sh to work with the GKE provider. Also update
...
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Zach Loafman
23b4bfb370
Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
...
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
Dawn Chen
93168c1ede
Merge pull request #20036 from ihmccreery/instance-prefix
...
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman
abfbf68287
Revert "Bump to container-vm-v20160121"
2016-01-25 15:54:41 -08:00
Quinton Hoole
10f7985dfb
Merge pull request #19995 from justinsb/gce_label_pd
...
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
Isaac Hollander McCreery
9477bc08a5
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705
2016-01-22 15:27:33 -08:00
Mike Danese
0fdaa41c5e
cluster/gce: fix unbound variable
2016-01-22 14:42:32 -08:00
Justin Santa Barbara
88eeec4f13
GCE: Register the PersistentVolumeLabel admission controller
2016-01-22 17:16:39 -05:00
Yifan Gu
5817ca1c71
cluster/gce/coreos: Add scripts for configuring the master/node.
2016-01-21 16:32:15 -08:00
Yifan Gu
1705f4919f
cluster/gce/coreos: Update master and node cloud config.
2016-01-21 16:32:15 -08:00
Yifan Gu
fe70bf8485
cluster/gce/coreos: Upload templates during kube-up.
...
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu
d7f4f6b3e0
cluster/gce/coreos: Add manifests for addons and master components.
2016-01-21 16:32:15 -08:00
Zach Loafman
5965252421
Bump to container-vm-v20151215
...
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr
d8be60ee57
Merge pull request #19777 from justinsb/echo_sleep_is_silly
...
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Justin Santa Barbara
43cbfb74fe
Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
...
We adapt the existing code to work across all zones in a region.
We require a feature-flag to enable Ubernetes-Lite
Reasons:
* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.
There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
Justin Santa Barbara
2958ea253a
GCE: Allow for reuse of master
...
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.
Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
Justin Santa Barbara
d2e65a89d0
kube-up scripts: don't 'echo sleep'
...
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
k8s-merge-robot
bd8d37f6f2
Merge pull request #19522 from apcera/dev_python3
...
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Prashanth Balasubramanian
7a97163914
Remove undefined color_ variables.
2016-01-15 18:06:32 -08:00
Josh Ellithorpe
76e8a8b08d
Fix issues with Python3 and bring up a dev cluster
2016-01-12 11:08:42 -08:00
Mike Danese
22cfa5ea7e
build: move some of hack/lib/ into a new cluster/lib/
...
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.
Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
k8s-merge-robot
b1e4831265
Merge pull request #19148 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Andy Zheng
d27e3ae8a1
Run kube-proxy in Trusty in a static pod.
...
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Madhusudan.C.S
059c2aa799
Mitigate node out of disk status oscillation by delaying it.
...
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.
Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.
Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
k8s-merge-robot
b4189f965e
Merge pull request #19136 from gmarek/cleanup
...
Auto commit by PR queue bot
2016-01-02 08:02:30 -08:00
Vishnu kannan
72abc47930
Disable serializing image pulls for e2e tests.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-28 10:27:13 -08:00
gmarek
d776a331de
Pipe things written in salt pillars which was missing it through sed
2015-12-28 12:23:59 +01:00
gmarek
fc6247152b
Split levels of verbosity of test logging on components.
2015-12-28 11:41:09 +01:00
k8s-merge-robot
de338e88ff
Merge pull request #18784 from zmerlynn/test_containervm
...
Auto commit by PR queue bot
2015-12-20 15:46:50 -08:00
gmarek
e138ad3d43
Don't fail kube-down if no MIGs are present
2015-12-18 11:12:42 +01:00
k8s-merge-robot
f84c175e04
Merge pull request #18615 from ixdy/gce-cert-creation
...
Auto commit by PR queue bot
2015-12-17 07:15:13 -08:00
k8s-merge-robot
caae39b122
Merge pull request #18731 from mikedanese/disable-kube-push
...
Auto commit by PR queue bot
2015-12-16 13:57:31 -08:00
Zach Loafman
7996bf3393
Bump to container-vm-v20151215:
...
New kubelet version (which doesn't matter), no new Docker version, new
base bits. Cherry-pickable to 1.1.
2015-12-16 13:08:24 -08:00
k8s-merge-robot
582c84b562
Merge pull request #18485 from andyzheng0831/trusty-release
...
Auto commit by PR queue bot
2015-12-15 21:18:58 -08:00
Mike Danese
93a58415d6
disable kube-push in gce until it's fixed
2015-12-15 14:50:41 -08:00
k8s-merge-robot
9c77dabb1b
Merge pull request #18475 from andyzheng0831/fix
...
Auto commit by PR queue bot
2015-12-15 01:18:29 -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
k8s-merge-robot
9067833a31
Merge pull request #18382 from yujuhong/resource_usage
...
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Grafton
7ac3b7d665
Print output from cert creation cmds on failure
2015-12-11 18:13:31 -08:00
Zach Loafman
9492fd6a80
Revert "Allow creation of clusters larger than 500 nodes"
2015-12-10 16:07:17 -08:00
Andy Zheng
75e23a3845
Add release support for trusty kube-system manifests.
...
This is a follow-up work for PR 18115. It adds release support for
kube-system manifests.
2015-12-10 10:47:01 -08:00
gmarek
0c6126911b
Allow creation of clusters larger than 500 nodes
2015-12-10 12:13:26 +01:00
Zach Loafman
f1f250c6b4
Merge pull request #18377 from roberthbailey/gcloud-prompts
...
Use gcloud install instead of gcloud update for components to remove the annoying prompt
2015-12-09 15:13:04 -08:00
Andy Zheng
317f778a05
Update the commandline of kubelet in Trusty nodes.
...
This change is to pick up the fix in PR #18178 . It avoids confusing
cadvisor when systemd is present in an instance but does not act
as the init system.
2015-12-09 14:57:32 -08:00
Zach Loafman
e264db4349
Merge pull request #17580 from mikedanese/stage-image
...
add an option to push/pull component images from a registry using kube-up
2015-12-09 13:49:45 -08:00
k8s-merge-robot
d0965bc440
Merge pull request #18115 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-12-09 13:26:33 -08:00
Wojciech Tyczynski
fcca8b7e49
Merge pull request #18380 from roberthbailey/rsa-tarball-retries
...
Add retries to fetch the easy-rsa bundle from GCS.
2015-12-09 14:28:20 +01:00
k8s-merge-robot
89250980eb
Merge pull request #18376 from ixdy/list-resources-script
...
Auto commit by PR queue bot
2015-12-09 03:37:36 -08:00
Mike Danese
4ace8280a0
add an option to push/pull component images from a registry using kube-up
2015-12-08 14:19:30 -08:00
Robert Bailey
628ac539e8
Add retries to fetch the easy-rsa bundle from GCS.
...
Fixes #18335 .
2015-12-08 11:44:11 -08:00
Jeff Grafton
96f302d771
Quote string to preserve newlines in output
2015-12-08 11:27:49 -08:00
Robert Bailey
48a84bae68
Use gcloud install instead of gcloud update for components to remove
...
the annoying prompt.
Fixes #18374
2015-12-08 11:26:04 -08:00
gmarek
d62b910c88
Enable Masters Kubelet registration in gce-test by default
2015-12-08 10:28:09 +01:00
Yu-Ju Hong
c1a0502487
Change the kubelet --max-pods limit to 110 for test clusters
...
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.
Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
gmarek
4060eba626
Use KubeletPort from API object, salt changes, take 2
...
This reverts commit a7425bf070
, reversing
changes made to 4a9b0fc715
.
2015-12-07 10:31:11 +01:00
k8s-merge-robot
f71f418a37
Merge pull request #18060 from brendandburns/startup
...
Auto commit by PR queue bot
2015-12-05 23:36:27 -08:00
Brendan Burns
15aa0c4415
Add a facility for custom user startup scripts via env variable
2015-12-04 16:13:24 -08:00
Andy Zheng
816b29536a
Prepare kube-system pods manifest for trusty nodes.
...
This change refactors the code of preparing kube-system manifests
for trusty based cluster. The manifests used by nodes do not contain
salt configuration, so we can simply copy them from the directory
cluster/saltbase/salt, make a tarball, and upload to Google Storage.
2015-12-04 15:43:29 -08:00
Brad Erickson
0bd16e0437
Minion->Node rename: kube-util hosting provider helper functions
2015-11-26 09:31:46 -08: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
Brad Erickson
a506030e63
Minion->Node rename: PREEMPTIBLE_NODE
2015-11-25 00:45:10 -08:00
Brad Erickson
53172a5356
Minion->Node rename: NUM_NODES
2015-11-25 00:45:10 -08:00
Brad Erickson
e67be19a5b
Minion->Node rename: OLD_NODE_TAG, NODE_TAG
2015-11-25 00:45:09 -08:00
Brad Erickson
bd06c19aa8
Minion->Node rename: NODE_SIZE
2015-11-25 00:45:09 -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
Brad Erickson
83ed2fa22e
Minion->Node rename: NODE_DISK_SIZE, NODE_DISK_TYPE, NODE_HOSTNAME, etc
...
NODE_IDS
NODE_ID
NODE_IMAGE_PROJECT
NODE_IMAGE
2015-11-25 00:45:09 -08:00
Brad Erickson
ae314ad246
Minion->Node rename: KUBE_NODE_IP_ADDRESSES, KUBE_NODE_IP_ADDRESS
2015-11-25 00:43:52 -08:00
Brad Erickson
6b91b45eff
Minion->Node rename: IAM_PROFILE_NODE, KUBE_ENABLE_NODE_PUBLIC_IP, etc
...
KUBE_GCE_NODE_IMAGE, KUBE_GCE_NODE_PROJECT, KUBEMARK_NUM_NODES
2015-11-25 00:43:51 -08:00
Prashanth Balasubramanian
9aa0efa393
Turn flannel off by default
2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian
ad2d3d4c20
Docs etc
2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
4cd1ee177b
Salt configuration for flanneld
2015-11-25 09:42:59 +01:00
Marek Grabowski
7f72d18550
Revert "Salt changes to enable using non-default Kubelet port"
2015-11-25 09:15:36 +01:00
k8s-merge-robot
2a92571190
Merge pull request #17428 from azr/master
...
Auto commit by PR queue bot
2015-11-24 20:11:08 -08:00
gmarek
3ffa01d7cd
Salt changes to enable using non-default Kubelet port
2015-11-23 16:02:46 +01:00
Adrien Delorme
f64024e245
Allow to specify the type of minion disks on GCE
2015-11-18 14:39:42 +01:00
Yifan Gu
9bf6bc1817
cluster/gce: Move build-kube-env to util.sh
...
This allows all 3 distros(coreos, debian, trusty) to share the same
build-kube-env.
2015-11-17 17:23:04 -08:00
k8s-merge-robot
840f3dad53
Merge pull request #16960 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-11-17 01:21:15 -08:00
k8s-merge-robot
1bcf03f3fb
Merge pull request #16646 from aalexand/dns-poll
...
Auto commit by PR queue bot
2015-11-16 03:57:24 -08:00
Andy Zheng
5ca070478e
Refactor cluster/gce/trusty/node.yaml
...
The node.yaml has some logic that will be also used by the kubernetes
master on trusty work (issue #16702 ). This change moves the code
shared by the master and node configuration to a separate script, and
the master and node configuration can source it to use the code.
Moreover, this change stages the script for GKE use.
2015-11-13 16:46:55 -08:00
k8s-merge-robot
b873dce298
Merge pull request #16006 from paralin/remove-experimental-api-env
...
Auto commit by PR queue bot
2015-11-11 16:23:35 -08:00
k8s-merge-robot
b7d4f55df2
Merge pull request #16187 from brendandburns/heapster
...
Auto commit by PR queue bot
2015-11-11 01:46:35 -08:00
Christian Stewart
d61d57adec
Remove ENABLE_EXPERIMENTAL_API and similar in favor of KUBE_RUNTIME_CONFIG.
...
Addresses #15968
This patch removes KUBE_ENABLE_EXPERIMENTAL_API and similar calls in
favor of specifying desired features in KUBE_RUNTIME_CONFIG. Changes
have also been made to e2e scripts to re-enable using
KUBE_RUNTIME_CONFIG rather than EXPERIMENTAL_API env vars.
This also introduces KUBE_ENABLE_DAEMONSETS and KUBE_ENABLE_DEPLOYMENTS.
Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-10 21:36:34 -05:00
Brendan Burns
bd65c733b3
Add some more retry...
2015-11-10 13:06:12 -08:00
k8s-merge-robot
18c74de9a8
Merge pull request #16986 from pmorie/gce-sc
...
Auto commit by PR queue bot
2015-11-10 11:15:27 -08:00
Paul Morie
ff88cc4df9
Allow security context in GCE clusters
2015-11-06 13:01:54 -05:00
k8s-merge-robot
75dadbc117
Merge pull request #16763 from zmerlynn/bump-containervm
...
Auto commit by PR queue bot
2015-11-05 14:55:40 -08:00
k8s-merge-robot
3a6c9df1f5
Merge pull request #16719 from mikedanese/enable-deploy
...
Auto commit by PR queue bot
2015-11-05 13:11:31 -08:00
Zach Loafman
4b29260bc6
Bump ContainerVM to container-vm-v20151103
2015-11-03 15:44:36 -08:00
Mike Danese
7206a5615f
enable deployments by default in test clusters
2015-11-02 23:07:58 -08:00
Paul Morie
b38e114889
Suppress output from running which sw_vers
2015-11-02 23:32:42 -05:00
Andy Zheng
b3133a1c16
Update docker version in trusty node to 1.8.3
...
This change is for using the latest qualified docker in trusty nodes.
2015-11-02 15:58:27 -08:00
Mike Danese
172eab6b21
build kube-env in build-kube-env, not in verify-prereqs
2015-11-02 10:31:43 -08:00
aalexand
26439bb225
Fix GCE DNS readiness polling.
...
If the `hostname` commands used in the polling loop fail, their stdout
is going to be empty and so `getent hosts` command will actually
succeed. For the loop to work as expected, make sure the subcommands
return a string which is an invalid host name.
2015-10-31 17:02:13 -07:00
Jeff Lowdermilk
de4f29f1f5
Load or generate auth from kubeconfig on kube-up
...
Allows loading existing auth from kubeconfig on kube-up if a
valid KUBE_CONTEXT is specified, instead of always force
regenerating auth (basic or token) when creating a new cluster.
2015-10-30 10:19:40 -07:00
Alex Robinson
887b9dd78a
Merge pull request #16232 from bprashanth/salt
...
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
Prashanth Balasubramanian
962cc11f73
Cluster-loadbalancing addon
2015-10-29 15:07:25 -07:00
Zach Loafman
f0e6ae4b8f
Merge pull request #12393 from jsafrane/devel/gce-tests
...
Update e2e scripts to run storage tests on GCE/Vagrant
2015-10-29 07:46:17 -07:00
Jan Safranek
fe0741bffe
Configure cluster for e2e tests.
...
When KUBE_E2E_STORAGE_TEST_ENVIRONMENT is set to 'true', kube-up.sh script
will:
- Install the right packages for all storage volumes.
- Use devicemapper as docker storage backend. 'aufs', the default one on
Debian, does not support extended attibutes required by Ceph RBD and Gluster
server containers.
Tested on GCE and Vagrant, e2e tests for storage volumes passes without any
additional configuration.
2015-10-29 11:03:34 +01:00
Tim Hockin
b6506c6af0
Kill a few more uses of 'gcloud preview'
2015-10-26 14:48:41 -07:00
Vishnu kannan
af1ef55008
Disable google cloud monitoring sinks in heapster by default.
2015-10-23 16:21:00 -07:00
Dawn Chen
038f871c43
Merge pull request #16071 from brendandburns/heapster
...
Make heapster config creation dynamic
2015-10-23 09:25:59 -07:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Brendan Burns
90d9e6e935
Make heapster config creation dynamic
2015-10-22 12:05:49 -07:00
k8s-merge-robot
9b667d1690
Merge pull request #16003 from mikedanese/extensions
...
Auto commit by PR queue bot
2015-10-21 16:43:57 -07:00
gmarek
60404a55fc
Make Node.yaml use KUBELET_PORT instead of hardcoded 10250
2015-10-21 17:19:31 +02:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
Mike Danese
dbb84c963d
enable all extensions in e2e test clusters
2015-10-20 20:29:25 -07:00
Piotr Szczesniak
57a5f8d5a5
Removed flag ENABLE_HORIZONTAL_POD_AUTOSCALER which is no longer used
2015-10-20 13:59:00 +02:00
k8s-merge-robot
b2dcbb6439
Merge pull request #15721 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-10-17 01:06:38 -07:00
k8s-merge-robot
b255e7c478
Merge pull request #15793 from ihmccreery/fix-push
...
Auto commit by PR queue bot
2015-10-16 17:02:10 -07:00
k8s-merge-robot
fd176642d3
Merge pull request #15789 from dchen1107/fix
...
Auto commit by PR queue bot
2015-10-16 13:35:31 -07:00
Isaac Hollander McCreery
a379e52c57
Factor find-release-tars into cluster/common
2015-10-16 13:09:52 -07:00
Dawn Chen
1ef70419f2
Enable registry master kubelet by default for gce.
2015-10-16 11:48:03 -07:00
k8s-merge-robot
d4249b6930
Merge pull request #15749 from yifan-gu/fix_coreos_gce
...
Auto commit by PR queue bot
2015-10-16 05:02:09 -07:00
Yifan Gu
e2b9b002fc
gce/coreos: update node.yaml.
...
Add cbr0 configuration option for kubelet.
Add docker options
Remove rkt metadata service (it's no longer required for using
rkt)
2015-10-15 17:57:41 -07:00
nikhiljindal
a558fca24b
Enabling deployments on GCE when the corresponding env var is set to true
2015-10-15 16:54:17 -07:00
Andy Zheng
59e5e07763
Fix a bug in trusty node.yaml config
...
The --log-level="\debug\" flag in DOCKER_OPTS may not be correctly
interpreted in some cases. We turn on this flag only for testing
clusters. In addition to fixing the docker flag, this change
also removes the confusing numbers from the lines of separating
upstart jobs.
2015-10-15 13:43:25 -07:00
Mike Danese
ef015c3574
add config-vm flag to enable terminated pod garbage collection.
2015-10-15 08:19:39 -07:00
k8s-merge-robot
5d66bf9741
Merge pull request #15519 from ihmccreery/upgrade-versioning
...
Auto commit by PR queue bot
2015-10-15 06:30:12 -07: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
k8s-merge-robot
f6bed84af7
Merge pull request #15252 from brendandburns/flakes3
...
Auto commit by PR queue bot
2015-10-13 09:53:13 -07:00
Brendan Burns
5d67b1525f
Add some retry to static ip creation
2015-10-12 14:43:02 -07:00
Piotr Szczesniak
35cf8cc76c
Enabled InitialResources e2e in autoscaling suite
2015-10-12 11:30:47 +02:00
k8s-merge-robot
834ce9ddb5
Merge pull request #15189 from ixdy/resource-check
...
Auto commit by PR queue bot
2015-10-10 12:26:21 -07:00
Chao Xu
cc4ec80ec7
in scripts, experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:19:13 -07:00
k8s-merge-robot
9305a98ffc
Merge pull request #15205 from a-robinson/purge
...
Auto commit by PR queue bot
2015-10-08 20:40:26 -07:00
k8s-merge-robot
0655c9d8ad
Merge pull request #15209 from ixdy/gce-cluster-init-timeout
...
Auto commit by PR queue bot
2015-10-08 19:17:13 -07:00
k8s-merge-robot
0c089dcf11
Merge pull request #15265 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-10-08 14:51:10 -07:00
Piotr Szczesniak
952a058357
Merge pull request #15153 from wojtek-t/common_resync_period
...
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Piotr Szczesniak
7bbb7a2d9f
Merge pull request #15219 from wojtek-t/change_default_to_test
...
Unify default and test configuration in GCE
2015-10-08 11:12:23 +02:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
Andy Zheng
3a5f3f0615
Enable privileged containers in Trusty nodes
...
This change also removes an outdated TODO comment.
2015-10-07 15:10:14 -07:00
Dawn Chen
c29296f9a8
Set manifest-url-header when enable_manifest_url is set
2015-10-07 13:27:03 -07:00
Jeff Grafton
0e29d81904
Print error messages to stderr
2015-10-07 11:19:32 -07:00
Wojciech Tyczynski
d16995b24b
Unify default and test configuration in GCE
2015-10-07 12:47:28 +02:00
Jeff Grafton
efd3968335
Add a timeout for GCE cluster initialization
2015-10-06 19:39:55 -07:00
Alex Robinson
55278545a4
Also delete firewall rules and static IP addresses from stranded GCE LBs
2015-10-06 18:28:06 -07:00
Alex Robinson
9f80b87843
Fix hard-coded project IDs and region in script for deleting stranded LBs
2015-10-06 18:24:41 -07:00
Jeff Grafton
004c3bc7ad
Add script to use gcloud to print GCP resources used.
2015-10-06 17:38:34 -07:00
Dawn Chen
37720e8899
unset Kubelet flag for manifest_url for master node.
2015-10-06 17:33:29 -07:00
k8s-merge-robot
57a08b5563
Merge pull request #15148 from piosz/registry-addon
...
Auto commit by PR queue bot
2015-10-06 14:43:45 -07:00
Abhi Shah
aa9957e754
Merge pull request #15035 from ArtfulCoder/admissionChange
...
Removed DenyEscalatingExec from the list of default admission control…
2015-10-06 14:25:12 -07:00
Abhishek Shah
a1b6dbe870
Removed DenyEscalatingExec from the list of default admission controllers.
2015-10-06 13:35:32 -07:00
Piotr Szczesniak
ee815a87d9
Disabled cluster registry addon by default
2015-10-06 10:53:29 +02:00
Mike Danese
833be48d61
enable all experimental flags with one controller
2015-10-05 14:54:19 -07:00
Ananth Suryanarayana
d50d7763da
Add opencontrail networking provisioning support in kubernetes salt based provisioning
...
OpenContrail is an open-source based networking software which provides virtualization support for the cloud.
This change-set adds ability to install and provision opencontrail software for networking in kubernetes based cloud environment.
There are basically 3 components
o kube-network-manager -- plugin between contrail components and kubernets components
o provision_master.sh -- OpenContrail software installer and provisioner in master node
o provision_minion.sh -- OpenContrail software installer and provisioner in minion node(s)
These are driven via salt configuration files
One can provision opencontrail by just setting "export NETWORK_PROVIDER=opencontrail"
Optionally, OPENCONTRAIL_TAG, and OPENCONTRAIL_KUBERNETES_TAG can be used to
specify opencontrail and contrail-kubernetes software versions to install and provision.
Public-IP Subnet provided by contrail can be configured via OPENCONTRAIL_PUBLIC_SUBNET
environment variable
At this moment, plan is to add support for aws, gce and vagrant based platforms
For more information on contrail-kubernetes, please visit https://github.com/juniper/contrail-kubernetes For more information on opencontrail, please visit http://www.opencontrail.org
2015-10-03 08:03:02 -07:00
k8s-merge-robot
e29eab2a75
Merge pull request #14804 from brendandburns/fix3
...
Auto commit by PR queue bot
2015-10-02 17:09:38 -07:00
Brendan Burns
9cf5cc6641
Add a utility to clean up stranded load balancers.
2015-09-30 11:16:03 -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
Marek Grabowski
f8a9943d90
Merge pull request #14651 from mwielgus/cluster_request
...
Add cpu/mem reservation metrics for autoscaler in kube-up
2015-09-28 17:40:05 +02:00
Marcin Wielgus
659c18110a
Add cpu/mem reservation metrics to autoscaler kube-up
2015-09-28 14:12:18 +02:00
gmarek
dd3bd73948
Initial Kubemark commit
2015-09-28 11:39:05 +02:00
Brian Grant
3cbd5f01a0
Merge pull request #13044 from roberthbailey/kubelet-healthcheck
...
Healthcheck the kubelet on the secure port rather than the read-only port.
2015-09-25 11:11:51 -07:00
Marcin Wielgus
039acb8c1d
Merge pull request #14463 from nikhiljindal/DeploymentOnGCE
...
Allow enabling deployment controller on GCE and GKE
2015-09-25 13:47:36 +02:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
nikhiljindal
ed5d24ed52
Allow enabling deployment controller on GCE and GKE
2015-09-24 11:37:16 -07:00
Jerzy Szczepkowski
c8238c079a
E2E tests for horizontal pod autoscaler.
...
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Piotr Szczesniak
9a1ec3dfb5
Added GCM support for Initial Resources plugin
2015-09-21 09:01:54 +02:00
k8s-merge-robot
445fde3dc5
Merge pull request #13447 from pweil-/pid-mode
...
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Robert Bailey
da94ed7957
Healthcheck the kubelet on the secure port rather than the read-only port.
2015-09-16 12:15:29 -07:00
k8s-merge-robot
8385c148ba
Merge pull request #13936 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-09-16 05:29:18 -07:00
k8s-merge-robot
d5b33614c3
Merge pull request #14001 from kubernetes/revert-13866-test-grace-period
...
Auto commit by PR queue bot
2015-09-15 20:21:45 -07:00
Jeff Lowdermilk
a1294e6401
Merge pull request #13762 from runningwild/PR
...
More fixes to rkt support
2015-09-15 17:34:06 -07:00
Andy Zheng
7427387938
Add trusty node health monitoring
...
Upstart monitors the process of docker, kubelet, and kube-proxy.
This change adds an upstart job running as daemon to conduct
non-PID health monitoring.
2015-09-15 15:09:45 -07:00
Marek Grabowski
cda68cbeb5
Revert "Lower the grace period for Pod eviction for e2e clusters"
2015-09-15 17:55:37 -04:00
Paul Weil
ed80c2b940
pid mode
2015-09-15 13:51:44 -04:00
gmarek
645c9153d4
Lower the grace period for Pod eviction for e2e clusters
2015-09-11 13:55:15 -04:00
Jerzy Szczepkowski
5be8817315
Turning on pod autoscaler on GCE.
...
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-11 12:03:41 +02:00
Jeff Lowdermilk
08442974bb
Revert "Turning on pod autoscaler on GCE."
2015-09-10 11:46:37 -07:00
Jerzy Szczepkowski
b41862b670
Turning on pod autoscaler on GCE.
...
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-10 16:10:01 +02:00
Mike Danese
b104f660da
enable the experimental API group in e2e tests
2015-09-09 15:26:32 -07:00
Jonathan Wills
5d38a8f024
Create /etc/rkt on startup
2015-09-09 16:52:25 -04:00
Jonathan Wills
05617a4583
Add CLUSTER_REGISTER_DISK and CLUSTER_REGISTRY_DISK_SIZE to gce/coreos
2015-09-09 16:52:25 -04:00
Isaac Hollander McCreery
219a1fae62
Second attempt at GCE tokens behavior to new format
2015-09-04 08:36:55 -07:00
Piotr Szczesniak
e285af9b20
Merge pull request #13390 from derekwaynecarr/remove_namespace_exists
...
Remove NamespaceExists from configuration
2015-09-04 13:44:40 +02:00
Jerzy Szczepkowski
2684018bb5
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
...
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
2015-09-04 09:15:01 +02:00
derekwaynecarr
06bbe00642
Remove NamespaceExists from configuration
2015-09-03 13:42:09 -04:00
Andy Zheng
9f28e784dc
Support kube-registry-proxy addon in trusty nodes
2015-08-27 07:46:50 -07:00
Piotr Szczesniak
7ad0f96688
Revert "Make MASTER_IP_RANGE master-only"
2015-08-27 10:52:21 +02:00
Yu-Ju Hong
1c7ebc4a62
Merge pull request #13213 from mbforbes/removeMasterIpRange
...
Make MASTER_IP_RANGE master-only
2015-08-26 13:04:04 -07:00
Yu-Ju Hong
09446c7a49
Merge pull request #13214 from mbforbes/todos
...
Pass mbforbes TODOs to others.
2015-08-26 13:02:27 -07:00
Max Forbes
8ca0654f94
Pass mbforbes TODOs to others.
2015-08-26 10:05:34 -07:00
Max Forbes
48801da130
Make MASTER_IP_RANGE master-only
2015-08-26 09:53:08 -07:00
Amy Unruh
5b6c5823da
fix error in 'rm' path instructions to force restaging
2015-08-26 08:10:51 -07:00
Nikhil Jindal
411d78dac3
Merge pull request #13068 from jlowdermilk/no-reuse-auth
...
Don't reuse credentials on cluster create
2015-08-24 15:56:36 -07:00
Jeff Lowdermilk
438216844f
Stop reusing basic auth on cluster create
2015-08-22 11:45:46 -07:00
Zach Loafman
5fe7029e68
Merge pull request #13008 from andyzheng0831/node-yaml
...
Add continuous tests support for trusty nodes
2015-08-21 18:59:21 -07:00
Zach Loafman
185b5af26f
Merge pull request #12833 from uluyol/insecure-reg
...
Launch a cluster-local registry.
2015-08-21 14:58:37 -07:00
Andy Zheng
f302130ad9
Add continuous tests support for trusty nodes
...
Also fix the starting condition of kube-install-additional-packages
upstart job.
2015-08-21 14:39:55 -07:00
Jeff Lowdermilk
f0b5c5b7b8
fix mig command for gce
2015-08-21 11:19:46 -07:00
Jerzy Szczepkowski
755287ca3a
Merge pull request #12988 from andyzheng0831/bug
...
Fix some env variable settings in test config.
2015-08-21 08:39:32 +02:00
Muhammed Uluyol
82638f8b29
Add conversion function from GCE storage units to kubernetes units.
2015-08-20 18:44:12 -07:00
Muhammed Uluyol
14b554cef6
Use a persistent volume for the docker registry.
2015-08-20 18:44:11 -07:00
Muhammed Uluyol
7129d477d3
Launch a cluster-local registry.
...
This registry can be accessed through proxies that run on each node
listening on port 5000. We send the proxy images to the nodes directly
to avoid requests that hit the network during cluster launch. For now,
we continue to pull the registry itself over the network, especially
given its large size (we should be able to dramatically shrink the
image). On GCE we create a PD and use that for storage, otherwise we
use an emptyDir. The registry is not enabled outside of GCE. All
communication is currently plain HTTP. In order to use SSL, we will
need to be able to request a certificate/key from the apiserver signed
by the apiserver's CA cert.
2015-08-20 18:44:05 -07:00
Saad Ali
9b01580946
Merge pull request #12872 from runningwild/master
...
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Andy Zheng
7bdc530822
Fix some env variable settings in test config.
...
These environmental variables are incorrectly set to string
"TEST_CLUSTER_LOG_LEVEL", instead of the value of the variable
"${TEST_CLUSTER_LOG_LEVL}".
2015-08-20 11:46:12 -07:00
Wojciech Tyczynski
a18a07e5cf
Merge pull request #12897 from wojtek-t/fix_gcloud_preview
...
Stop using deprecated gcloud commands
2015-08-20 10:51:52 +02:00
Andy Zheng
ee913b1273
Use yaml format for trusty node kube-env
...
It uses the same function as Debian to create the yaml format
node kube-env file.
2015-08-19 10:05:44 -07:00
Jonathan Wills
80e799fc0c
Allow configuring the rkt binary in a kubelet with a flag.
...
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Wojciech Tyczynski
1feb78be66
Stop using deprecated commands
2015-08-19 12:19:08 +02:00
Jonathan Wills
a68e819e60
Fix rkt binary path
2015-08-18 16:15:01 -04:00
Jonathan Wills
bf08da0fdc
change coreos node env file from yaml to KEY=VALUE
2015-08-18 16:15:01 -04:00
Robert Bailey
6afa0e1f95
Don't register the master node into the cluster by default.
2015-08-17 19:17:17 -07:00
Andy Zheng
11c823abd8
Fix some settings of trusty nodes
...
It fixes kubelet and kube-proxy command line options, fixes a typo,
and adds installation of nsenter package if it is not present.
2015-08-17 14:27:30 -07:00
Eric Paris
13822bceae
Fix build breakage due to ubuntu invalid flag usage
...
In PR #12543 / commit fef1ede240
Flags were used with `_` instead of `-`. This broke the build.
2015-08-16 20:30:59 -05:00
Andy Zheng
fef1ede240
Add config to run minions on GCE using Ubuntu.
...
It is for running nodes on Ubuntu image upto 14.04 LTS (Trusty).
The change for running master on Ubuntu will be added later.
The configuration consists of several upstart jobs, which is
passed to node instances through GCE metadata and parsed by cloud-init.
2015-08-13 16:40:09 -07:00
CJ Cullen
9f009df1cb
Merge pull request #12541 from dchen1107/fix
...
Fix kube-push using gcloud compute instance-groups managed set-instance-template
2015-08-11 15:25:40 -07:00
Dawn Chen
4b99aafc4c
Fix kube-push using gcloud compute instance-groups managed set-instance-template`
2015-08-11 10:28:59 -07:00
Alex Robinson
e13b00eddc
Merge pull request #12436 from runningwild/PR
...
Install rkt to a directory that doesn't require environment variables…
2015-08-10 13:30:20 -07:00
Alex Robinson
34f164a470
Merge pull request #12384 from Hokutosei/master
...
added preemptible flag in gcloud compute instance-templates create
2015-08-10 11:08:11 -07:00