Commit Graph

14005 Commits

Author SHA1 Message Date
Yu-Ju Hong
d6ff297a1f Kubelet: stop logging "Error on reading termination-log..." messages
If a pod was deleted and the associated volumes/directory were removed, there
could be a window where the pod worker is still active. If the pod worker tries
to inspect the logs, such an error would be logged. Since the pod has been
deleted, such error messages are meaningless.

This change stops logging this error, but stores the error string in the pod
status. The pod status will be updated for pods that are still alive, and will
be discarded eventually for deleted pods.
2015-07-01 14:20:42 -07:00
Zach Loafman
9363285b4a Merge pull request #10320 from yujuhong/kubelet_logging
Kubelet: add and modify some logging messsages
2015-07-01 14:16:23 -07:00
Zach Loafman
bc7ff1b80e Merge pull request #10541 from ingvagabund/master
fix formatting of md documents
2015-07-01 14:16:03 -07:00
Zach Loafman
0b2efd8d28 Merge pull request #10633 from saad-ali/enablePDE2ETest
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 14:15:44 -07:00
Zach Loafman
30cc467159 Merge pull request #10634 from mikedanese/fix-ca-logs
fix heapster google configs so that heapster has a CA cert for googleapis
2015-07-01 14:14:06 -07:00
Eric Paris
7a29af4d2c Add Subject Alt Names to self signed apiserver certs
A cert from GCE shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes,
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
- DNS:kubernetes.default.svc.cluster.local
- DNS:e2e-test-zml-master

A similarly configured self signed cert shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes
- DNS:kubernetes.default
- DNS:kubernetes.default.svc

So we are missing the fqdn kubernetes.default.svc.cluster.local. The
apiserver does not even know the fqdn! it's defined entirely by the
kubelet! We also do not have the cluster name certificate. This may be
--cluster-name= argument to the apiserver but will take a bit more
research.
2015-07-01 17:05:17 -04:00
David Oppenheimer
f692adc67d Initial design doc for scheduler. 2015-07-01 13:58:56 -07:00
markturansky
32e8e7d3e6 edits from feedback 2015-07-01 16:49:26 -04:00
Zach Loafman
e479c521e2 Merge pull request #10618 from marekbiskup/namespaces-in-addon-update
Namespaces in addon update
2015-07-01 13:15:44 -07:00
Clayton Coleman
4e7526fc18 The bearer token client transport should not override Authorization
If an authorization header is already set via the client or request,
the bearer transport for the client should not override the
Authorization header.

Allows one client to be used for multiple users when acting as a
proxy or gateway.
2015-07-01 16:14:25 -04:00
Maru Newby
5ab9d2cc94 Vagrant: Add support for nfs synced folders
nfs synced folders do not require guest additions and are faster than
vmware and virtualbox's shared folders.  This change configures the
default /vagrant synced folder to use nfs if the
KUBERNETES_VAGRANT_USE_NFS environment variable is set to 'true'.
2015-07-01 13:12:42 -07:00
Clayton Coleman
8d189245fb Make util.empty public for conversions
Some downstream components want to use a StringSet in their internal
objects, but leaving util.empty private means that generated conversions
cannot create constructors generically for those objects.  This makes
Empty public until such a time as the generator supports private types.
2015-07-01 16:12:15 -04:00
Jeff Mendoza
0a05fa6e7b Clarify disk formatting for Meteor example. 2015-07-01 13:09:20 -07:00
Alex Robinson
e5ea6ae854 Run fluentd on the master node by default.
This involves adding the logging-write scope to the master when running on GCE.
2015-07-01 20:07:52 +00:00
Alex Robinson
8855371763 Configure fluentd to collect additional log files, including master log files.
This also merges the output blocks together because there's no compelling
reason to have a separate output block for each input.
2015-07-01 20:07:47 +00:00
Zach Loafman
9db58ff2b2 Merge pull request #10632 from nikhiljindal/revert-etcderrors
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
Kris Rousey
ffa764d60b Unify command line namespace resolution
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
Marek Biskup
8df3a9cae8 namespaces in addon update 2015-07-01 21:31:52 +02:00
Zach Loafman
4f9cfc84c4 Merge pull request #10180 from mwielgus/e2e_examples
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
Zach Loafman
62aca7e762 Merge pull request #9791 from hurf/ns_describe
Display namespace while describing resources.
2015-07-01 12:01:50 -07:00
Zach Loafman
9e23ad7102 Merge pull request #10510 from mikedanese/kubectl-context-err
make use-context return error when context does not exist
2015-07-01 12:01:24 -07:00
Zach Loafman
00193bf1ac Merge pull request #10529 from jlowdermilk/upgrade-aware-proxy-ssh
Make UpgradeAwareProxyHandler use transport.Dial if provided
2015-07-01 12:01:01 -07:00
Zach Loafman
0edd827c1c Merge pull request #10566 from markturansky/pvspec_desc
Removed extraneous json descriptions from internal types
2015-07-01 12:00:31 -07:00
Zach Loafman
0b3d1b6f3b Merge pull request #10607 from wojtek-t/higher_load_metrics
Increase latency metrics limit in capacity load
2015-07-01 12:00:09 -07:00
Mike Danese
6ecddd9290 fix heapster configs so that heapster has a CA cert for googleapis 2015-07-01 11:26:30 -07:00
saadali
c84b0e0f4f Enable readonly PD tests for Jenkins GCE E2E run 2015-07-01 11:10:00 -07:00
Zach Loafman
7689391c68 Merge pull request #10504 from bcbroussard/explore-updates
Update Web UI Explore page
2015-07-01 11:09:49 -07:00
nikhiljindal
d82d5d11a7 Revert "Merge pull request #10246 from nikhiljindal"
This reverts commit a902a2f014, reversing
changes made to 7df8d76a93.
2015-07-01 11:07:18 -07:00
Jeff Lowdermilk
4b36b421aa e2e test for kubectl exec, port-forward 2015-07-01 10:56:10 -07:00
Jeff Lowdermilk
f0a36b0afd Make UpgradeAwareProxyHandler use transport.Dial if provided
This change is required for the handler to work with sshtunnels.
Without it, `kubectl exec` and `kubectl port-forward` are broken
when an ssh proxy is used (see #9292). I manually verified this
fixes that issue, e2e test coming shortly.
2015-07-01 10:56:05 -07:00
Daniel Smith
5911a12b14 Fix node not rejoining cluster on reboot
Also improve logging. Fixes #10368.

GCE's external ID apparently can change after a reboot.
2015-07-01 10:21:24 -07:00
Eric Paris
c66bafaa18 Generate a kubeconfig for kubectl which can be taken off the masterA
/etc/kubernetes/kuectl.kubeconfig
2015-07-01 13:19:06 -04:00
Eric Paris
88087decb4 Fix certs in ansible 2015-07-01 13:09:22 -04:00
Zach Loafman
3094c1624b Merge pull request #10492 from derekwaynecarr/add_watch_service_file
Fix Vagrant kube-up - missed file watch on systemd stops kubelet starting on initial kube-up
2015-07-01 09:49:59 -07:00
Zach Loafman
bd12aefdf2 Merge pull request #10237 from marekbiskup/addon-update-do-not-retry-too-long
addon updater should not retry too many times - specs may be invalid
2015-07-01 08:52:02 -07:00
Anastasis Andronidis
7480077f2b Rename REASON column to STATUS for kubectl get
Fixes #10560
2015-07-01 17:38:27 +02:00
Zach Loafman
b42cac69cb Merge pull request #10519 from JanetKuo/kubectl-c
Enable -c for kubectl logs container arg
2015-07-01 08:36:38 -07:00
Zach Loafman
03be2f3f0b Merge pull request #10545 from liggitt/rate_limit
Switch to token bucket rate limiter with better performance
2015-07-01 08:36:19 -07:00
Zach Loafman
502103cdc6 Merge pull request #10453 from satnam6502/fix-es
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
markturansky
7fb3aaf348 addressed feedback and various other edits 2015-07-01 11:25:23 -04:00
Marek Biskup
7873e252f0 addon updater should not retry too many times because specs may be invalid 2015-07-01 16:22:32 +02:00
derekwaynecarr
de78898170 Missing file watch on systemd stops kubelet starting on kube-up 2015-07-01 09:59:26 -04:00
Zach Loafman
b83236ee7a Merge pull request #10568 from derekwaynecarr/fix_vagrant_kube_proxy
Missed update to kube-proxy when removing nginx on vagrant
2015-07-01 06:42:00 -07:00
Zach Loafman
add08cb9c3 Merge pull request #10491 from JanetKuo/kubectl
Implement 'kubectl get ... -o wide'
2015-07-01 06:41:44 -07:00
Zach Loafman
ffeb982064 Merge pull request #10528 from dchen1107/cleanup
Persistent influxdb data to directory on local host.
2015-07-01 06:41:24 -07:00
Zach Loafman
513bf2ceba Merge pull request #10583 from cjcullen/lockfix
Don't hold lock while opening new sshTunnels.
2015-07-01 06:41:04 -07:00
Justin Santa Barbara
2a8d46864b AWS: Use the SSH key fingerprint, not the AWS fingerprint
This is unfortunate, because it means we have two fingerprints,
although arguably the OpenSSH key fingerprint is much more common.
However, the OSX Mavericks version of ssh-keygen can't compute
the AWS fingerprint correctly (e.g. https://www.netmeister.org/blog/ssh2pkcs8.html)

So we work on OSX Mavericks, we use the more common OpenSSH fingerprint.
2015-07-01 04:10:48 -07:00
Wojciech Tyczynski
fa60ad310b Merge pull request #10376 from lavalamp/e2eSSHKey
Fix service latency test.
2015-07-01 12:30:27 +02:00
Wojciech Tyczynski
5965e82a3a Merge pull request #10500 from lavalamp/etcdChanFix
Fix logging.
2015-07-01 11:47:22 +02:00
feihujiang
70036069ee Using NAME to replace ID in help string 2015-07-01 15:35:08 +08:00