Wojciech Tyczynski
922555f048
Improvements to generator of conversion methods.
2015-04-27 13:33:38 +02:00
Chris Moos
36e3ec9c1f
Fix crash in kubelet when persistent volume claim is not bound.
...
While testing #6105 ran into this issue, kubelet crashed because
controller had not yet bound the claim to a volume.
2015-04-25 12:38:18 -07:00
Yifan Gu
6c98b9daee
kubelet/metrics: Move instrumented_docker.go to dockertools.
...
This can solve the circular import problem when we move the
kubelet.pullImage to kubelet/metrics or kubelet/container package.
2015-04-24 22:03:11 -07:00
Brendan Burns
f40c793b37
Address a couple of TODO's in the recent rolling update change.
2015-04-24 16:47:37 -07:00
Victor Marmol
d0288f7143
Merge pull request #7301 from yujuhong/no_resurrection
...
Kubelet: filter out terminated pods in SyncPods
2015-04-24 16:17:06 -07:00
Brian Grant
7330ced1fe
Merge pull request #7268 from brendandburns/qps
...
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -07:00
Yu-Ju Hong
b0e6926f67
kubelet: filter out terminated pods in SyncPods
...
Once a pod reaches a terminated state (whether failed or succeeded), it should
not transit out ever again. Currently, kubelet relies on examining the dead
containers to verify that the container has already been run. This is fine
in most cases, but if the dead containers were garbage collected, kubelet may
falsely concluded that the pod has never been run. It would then try to restart
all the containers.
This change eliminates most of such possibilities by pre-filtering out the pods
in the final states before sending updates to per-pod workers.
2015-04-24 15:28:03 -07:00
Brendan Burns
217e6ff0d0
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 15:19:00 -07:00
Victor Marmol
270d8aec8b
Raise cAdvisor stats cache to 2m.
...
This used to be 60ns which was a bug from when we switched from number
of stats to duration. Seems like the type was silently
converted/ignored.
2015-04-24 14:44:13 -07:00
Robert Bailey
0f22b6fc4d
Merge pull request #7251 from a-robinson/tp
...
Move load balancer host / target pool reconciliation to the service controller
2015-04-24 13:17:54 -07:00
Eric Tune
8a76cbf3d0
Merge pull request #7293 from ashcrow/apiserver_authz_tests
...
Added basic apiserver authz tests.
2015-04-24 13:05:45 -07:00
Clayton Coleman
9d0042e760
Merge pull request #7238 from csrwng/use_log_subresource
...
Switch kubelet log command to use pod log subresource
2015-04-24 15:16:50 -04:00
Alex Robinson
5d9564b1cc
Improve GCE's implementation of UpdateTCPLoadBalancer to only make the
...
update calls if anything has changed.
2015-04-24 18:44:19 +00:00
Alex Robinson
6ae8e40d3d
Move the logic for reconciling the host targets of external load balancers
...
from the node controller to the service controller before impending changes
to the node controller make it not fit there anymore.
2015-04-24 18:44:04 +00:00
Steve Milner
1acbfba576
Added basic apiserver authz tests.
2015-04-24 14:38:34 -04:00
Brian Grant
60d7bad147
Merge pull request #7128 from nikhiljindal/fixbeta1tests
...
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Cesar Wong
556faa4590
Switch kubelet log command to use pod log subresource
2015-04-24 14:04:51 -04:00
Fabio Yeon
0c54673626
Merge pull request #7180 from ddysher/validate-no-dup-ip
...
Validate Node IPs; clean up validation code
2015-04-24 09:36:27 -07:00
Robert Bailey
137c90738e
Merge pull request #7289 from kazegusuri/logging
...
lower log level on recovering from panic
2015-04-24 09:22:46 -07:00
Victor Marmol
e654abde97
Merge pull request #7271 from yifan-gu/run
...
kubelet/dockertools: Move RunContainer into container runtime.
2015-04-24 07:46:22 -07:00
Masahiro Sano
7c371ee36e
lower log level on recovering from panic
2015-04-24 22:09:14 +09:00
Clayton Coleman
9f753c2592
Merge pull request #5909 from mfojtik/iowatcher
...
Suppress 'use of closed network connection' error in iowatcher
2015-04-24 08:56:40 -04:00
Clayton Coleman
ed00dae7c8
Merge pull request #7107 from wojtek-t/conversion_generator
...
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Michal Fojtik
1d496a030e
Suppress 'use of closed network connection' error in iowatcher
...
Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
2015-04-24 14:32:00 +02:00
Wojciech Tyczynski
159a58ddfb
Merge pull request #7169 from fgrzadkowski/requests_by_clients
...
Break request metrics in apiserver by client.
2015-04-24 13:37:50 +02:00
Filip Grzadkowski
8b755c805b
Break request metrics in apiserver by client.
2015-04-24 13:16:14 +02:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Wojciech Tyczynski
7f919a44c2
Generate conversions for v1beta3 package.
2015-04-24 09:18:12 +02:00
Deyuan Deng
c73ce1db34
Validate Node IPs; clean up validation code
2015-04-23 21:08:18 -04:00
David Oppenheimer
7505bed054
Merge pull request #7270 from thockin/docslinks
...
Make docs links go through docs.k8s.io
2015-04-23 17:18:51 -07:00
David Oppenheimer
ee11832d71
Merge pull request #7263 from lavalamp/fix4
...
fix watch of single object
2015-04-23 17:09:59 -07:00
Brian Grant
24cad22a88
Merge pull request #6674 from kargakis/error-on-invalid-label-spec
...
Tighten label parsing
2015-04-23 16:41:52 -07:00
Yifan Gu
b5a1b32aa4
kubelet/dockertools: Move RunContainer into container runtime.
...
Also removed ContainerRunner interface.
2015-04-23 16:40:37 -07:00
Tim Hockin
12e4e8f304
Make docs links go through docs.k8s.io
2015-04-23 16:36:27 -07:00
Brian Grant
73322af8e8
Merge pull request #5842 from simon3z/rc-annotation
...
Replica Controller Name Annotation in Pods
2015-04-23 16:35:18 -07:00
David Oppenheimer
e8b28c59c6
Merge pull request #7228 from jlowdermilk/describe-examples
...
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Daniel Smith
2fa3ae9f15
fix watch of single object
2015-04-23 16:02:22 -07:00
Victor Marmol
d25a1412e6
Merge pull request #7262 from yifan-gu/kill
...
kubelet: Move KillContainer to container runtime.
2015-04-23 15:59:30 -07:00
Brian Grant
0b153eb522
Merge pull request #7211 from anguslees/lbmethod-fix
...
OpenStack: lb_method required when creating LbaaS pool
2015-04-23 15:56:42 -07:00
Yifan Gu
6ed27d06f7
kubelet: Move KillContainer to container runtime.
...
Rename KillContainerID(string) with KillContainer(string).
Delete the old KillContainer(*kubecontainer.Container).
2015-04-23 15:44:00 -07:00
Brian Grant
38ea531487
Merge pull request #7194 from nikhiljindal/example
...
Updating the guestbook example to v1beta3
2015-04-23 15:26:47 -07:00
Yu-Ju Hong
a3de4908d5
Merge pull request #7215 from nikhiljindal/errHandle
...
Updating serviceErrorHandler to use apiVersion specific codec
2015-04-23 15:21:29 -07:00
David Oppenheimer
8667ebddff
Merge pull request #7249 from yifan-gu/generator
...
kubelet/container: Introduce RunContainerOptionsGenerator.
2015-04-23 14:59:23 -07:00
Jeff Lowdermilk
a8e2f6e9c8
Add examples for kubectl describe, and make gendocs less spammy
...
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
Satnam Singh
bb478a9e21
Merge pull request #7007 from jlowdermilk/kubeconfig-verbose
...
Add a --short flag to kubectl config view
2015-04-23 14:51:13 -07:00
Dawn Chen
6207c518b3
Merge pull request #7254 from yifan-gu/readiness
...
kubelet/dockertools: Add readinessManage/containerRefManager to dockerManager.
2015-04-23 14:34:43 -07:00
nikhiljindal
1e323d77bc
Updating the guestbook example to v1beta3
2015-04-23 14:34:36 -07:00
nikhiljindal
120904df5f
Fixing serviceErrorHandler to use apiVersion specific codec
2015-04-23 14:32:05 -07:00
Yifan Gu
e8d485a3a1
kubelet/dockertools: Add readinessManage/containerRefManager to dockerManager.
...
This can enable us to move KillContainer() to container runtime.
2015-04-23 14:20:34 -07:00
Yifan Gu
bd7132bc07
kubelet/container: Introduce RunContainerOptionsGenerator.
...
This interface wraps the kubelet to provide the options for
container runtime to run a container.
2015-04-23 13:55:50 -07:00
Dawn Chen
f7831dcd93
Merge pull request #7229 from vmarmol/stats
...
Kubelet: Add /stats/container endpoint for raw containers
2015-04-23 13:43:23 -07:00
Dawn Chen
4c221892a5
Merge pull request #7241 from yifan-gu/pull
...
kubelet/container: Add Pull() and IsImagePresent() to runtime interface.
2015-04-23 13:39:31 -07:00
Tim Hockin
4e40423ca7
Merge pull request #7166 from pmorie/secrets-idempotent
...
Make secret volume plugin idempotent
2015-04-23 12:13:26 -07:00
Yifan Gu
de6e81fb4a
kubelet/container: Add Pull() and IsImagePresent() to runtime interface.
2015-04-23 11:58:51 -07:00
Victor Marmol
15e2a7fe38
Merge pull request #7200 from yifan-gu/containerID
...
Introduce container ID type.
2015-04-23 11:33:32 -07:00
Yifan Gu
afb9a896cb
Introduce container ID type.
2015-04-23 10:43:27 -07:00
Victor Marmol
c29d328c55
Kubelet: Add /stats/container endpoint.
...
This endpoint exposes container stats for all raw containers on the
machine. The addition is backwards compatible.
2015-04-23 10:38:29 -07:00
Yifan Gu
af1e9f737f
kubelet: Introduce volume manager.
...
The volume manager book-keeps the information for the volume mounts
on the kubelet, so we can avoid passing the volumeMap around.
2015-04-23 10:37:02 -07:00
Victor Marmol
e2f37f81a9
Add SubcontainerInfo() to cAdvisor API.
...
Returns information about a container and its subcontainers.
2015-04-23 10:20:05 -07:00
Dawn Chen
f9156c281a
Merge pull request #7123 from satnam6502/logging
...
Propagate pod and container name for log files
2015-04-23 10:13:08 -07:00
Dawn Chen
961cd710d7
Merge pull request #7208 from vmarmol/runtime
...
Add RunInContainer/ExecInContainer to container Runtime API.
2015-04-23 10:11:57 -07:00
Fabio Yeon
eb11d78b58
Merge pull request #7187 from akram/fix_port_forward_listner_parsing_ipv4_ipv6_2
...
Fixes port_forward unit tests which fails on machine which ::1 does not resolve to localhost
2015-04-23 09:49:46 -07:00
Robert Bailey
c303c055d1
Merge pull request #7225 from relaxdiego/master
...
Add .yml to the list of recognized file extensions
2015-04-23 09:36:33 -07:00
Wojciech Tyczynski
c4a27f5c0f
Generating conversion methods.
2015-04-23 18:26:24 +02:00
Jeff Lowdermilk
fa6ce7b7bf
Add a --raw flag to kubectl config view
...
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Mark Maglana
4927d70dd0
Add .yml to the list of recognized file extensions
2015-04-23 08:57:45 -07:00
Paul Morie
bc8f010a10
Make secret volume plugin idempotent
2015-04-23 11:23:23 -04:00
Wojciech Tyczynski
7e2724e14b
Avoid benchmarks from being optimized
2015-04-23 08:57:29 +02:00
Angus Lees
8818966d1f
OpenStack: lb_method required when creating LbaaS pool
...
This change takes lb-method from [LoadBalancer] section of cloud
provider config file, defaulting to ROUND_ROBIN.
Fixes #7199
2015-04-23 15:19:14 +10:00
Victor Marmol
de6d5cc165
Add RunInContainer/ExecInContainer to container Runtime API.
2015-04-22 18:09:24 -07:00
Prashanth B
35cbbe6bde
Merge pull request #7198 from yujuhong/fix_filter
...
Fix pod filtering in replication controller
2015-04-22 17:25:38 -07:00
Yu-Ju Hong
10ecbb8aab
Fix pod filtering in replication controller
2015-04-22 16:09:14 -07:00
Brian Grant
ef2d1aef26
Merge pull request #7189 from ddysher/clean-tag
...
Fix condition tags
2015-04-22 15:40:56 -07:00
Satnam Singh
2444c1f943
Propagate pod and container name for log files
2015-04-22 15:08:51 -07:00
Deyuan Deng
401442b024
Fix condition tags
2015-04-22 16:33:22 -04:00
Victor Marmol
45575d95b3
Merge pull request #7177 from yifan-gu/runner
...
kubelet/dockertools: Remove dockerContainerCommandRunner.
2015-04-22 13:24:50 -07:00
Akram Ben Aissi
0883bfa6d3
Fixes an issue with hosts having an IPv6 address on localhost
...
- When 'getent hosts localhost' returns '::1' the creation of the
listener fails because of the port parsing which uses ":" as a
separator
- Use of net.SplitHostPort() to do the job
- Adding unit tests to ensure that the creation succeeds
- On docker.go: adds a test on the presence the socat command which was
failing silenty if not installed
- Code Review 1
- Fixed typo on Expected
- The UT now fails if the PortForwarder could not be created
- Code Review 2
- Simplify socat error message
- Changing t.Fatal to to.Error on unit tests
- Code Review 3
- Removing useless uses cases in unit tests
- Code Review 4
- Removing useless initiliasiation of PortForwarder
- Changing error message
- Code Review 5
- Simplifying TestCast struct
- Adding addition test in one test case
- Closing the listener
- Code Review 6
- Improving unit test
2015-04-22 22:20:51 +02:00
Victor Marmol
a0cc7c26d7
Merge pull request #7185 from yifan-gu/interface
...
kubelet/container: Move Prober/HandlerRunner interface to container/help...
2015-04-22 12:16:10 -07:00
Yifan Gu
f59013410a
kubelet/container: Move Prober/HandlerRunner interface to container/helpers.go
...
This enables us to pass them to container runtime as parameters.
2015-04-22 11:56:15 -07:00
Brian Grant
97302af015
Merge pull request #5012 from smarterclayton/podtemplates
...
Pod templates as their own type
2015-04-22 11:50:24 -07:00
Vish Kannan
a054201556
Merge pull request #7110 from swagiaal/improve-iscsi-test
...
iscsi Test: Add explicit check for attach and detach calls.
2015-04-22 11:21:42 -07:00
Vish Kannan
ee06097c07
Merge pull request #7003 from derekwaynecarr/enforce_unbounded
...
Reject unbounded cpu and memory pods if quota is restricting it
2015-04-22 11:19:52 -07:00
Clayton Coleman
d790cc14a9
Merge pull request #7163 from wojtek-t/conversion_benchmarks
...
Create benchmarks for conversions.
2015-04-22 14:10:46 -04:00
Yifan Gu
c55c879ffe
kubelet/dockertools: Remove dockerContainerCommandRunner.
...
Replace with docker manager.
2015-04-22 11:00:54 -07:00
Clayton Coleman
e6e034af4f
Rename PodTemplate.Spec to PodTemplate.Template
2015-04-22 12:54:27 -04:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Victor Marmol
1a41ec9c86
Merge pull request #7116 from yujuhong/container_status
...
Print container statuses in `kubectl get pods`
2015-04-22 09:18:14 -07:00
Federico Simoncelli
253ce4b6fe
replication: annotate replicated pods with controller name
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-22 11:26:25 -04:00
Victor Marmol
914a6febfb
Merge pull request #7010 from yifan-gu/compute
...
kubelet: Refactor computePodContainerChanges().
2015-04-22 08:05:18 -07:00
Wojciech Tyczynski
ea314d55f7
Create benchmarks for conversions.
2015-04-22 16:27:23 +02:00
Brian Grant
fc50201f89
Merge pull request #7059 from derekwaynecarr/fixup
...
Improve container resource requirements validation
2015-04-22 07:13:34 -07:00
Brian Grant
15c2986a07
Merge pull request #7067 from ravigadde/master
...
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Brian Grant
8dbbf3da5c
Merge pull request #7138 from pravisankar/unschedulable-event
...
Record an event on node schedulable changes
2015-04-22 07:11:14 -07:00
Brian Grant
1a9c179271
Merge pull request #7145 from caesarxuchao/6812
...
Resolve #6812 , limit length of load balancer names
2015-04-22 07:09:23 -07:00
Fabio Yeon
1ac71631ee
Merge pull request #7156 from xiang90/use_httperror
...
pkg/apiserver: use httpError in handlers.go
2015-04-22 06:59:58 -07:00
Xiang Li
405ebf4b1e
pkg/apiserver: use httpError in handlers.go
2015-04-21 23:05:56 -07:00
Dawn Chen
a666c1e731
Merge pull request #7134 from yifan-gu/version
...
kubelet: Refactor GetDockerVersion().
2015-04-21 16:49:45 -07:00
Yu-Ju Hong
06125f37d3
Print container statuses in `kubectl get pods`
...
`kubectl get pod` already prints one container per line. This change fills in
the status for each container listed. This aims to help users quickly identify
unhealthy pods (e.g. in a crash loop) at a glance.
- The first row of every pod would display the pod information and status
- Each row of the subsequent rows corresponds to a container in that pod:
* STATUS refers to the container status (Running, Waiting, Terminated).
* CREATED refers to the elapsed time since the last start time of the
container.
* MESSAGE is a string which explains the last termination reason, and/or
the reason behind the waiting status.
2015-04-21 15:42:18 -07:00
Derek Carr
cf27fd12c1
Merge pull request #6278 from akram/fix_port_forward_listner_parsing_ipv4_ipv6
...
Fixes an issue with hosts having an IPv6 address on localhost
2015-04-21 18:04:02 -04:00
Clayton Coleman
250a9889f7
Merge pull request #7093 from derekwaynecarr/ref_update
...
Fixup event object reference generation to allow downstream objects
2015-04-21 17:55:02 -04:00
Yifan Gu
611fb25926
kubelet: Refactor GetDockerVersion().
...
Remove GetDockerServerVersion() from DockerContainerCommandRunner interface,
replaced with runtime.Version(). Also added Version type in runtime for version
comparision.
2015-04-21 14:52:08 -07:00
Tim Hockin
fa648c17cb
Merge pull request #7131 from rjnagal/node
...
Convert error strings to proper validation errors.
2015-04-21 14:15:32 -07:00
Ravi Sankar Penta
f1d88f6d2f
Record an event on node schedulable changes
2015-04-21 14:14:59 -07:00
Yifan Gu
5594981340
kubelet: Refactor computePodContainerChanges().
...
Pull generatePodStatus() and makePodDataDirs() out as they are the
common part for container runtimes.
2015-04-21 13:53:20 -07:00
Brian Grant
7d3c15dd4d
Merge pull request #6996 from ironcladlou/rolling-updater-cleanup-policy
...
Add cleanup policy to RollingUpdater
2015-04-21 13:47:12 -07:00
Rohit Jnagal
bfb4b7280d
Convert error strings to validation errors.
2015-04-21 20:35:46 +00:00
Brian Grant
7977949767
Merge pull request #6593 from derekwaynecarr/object_counts
...
ResourceQuota add object count support for secret and volume claims
2015-04-21 13:16:00 -07:00
Brian Grant
cf523a23d0
Merge pull request #6985 from csrwng/fix_pod_log_location
...
Use Pod.Spec.Host instead of Pod.Status.HostIP for pod subresources
2015-04-21 12:58:47 -07:00
Brian Grant
8ae4cb384e
Merge pull request #6992 from yujuhong/kill_pods
...
Prioritize deleting the non-running pods when reducing replicas
2015-04-21 12:58:21 -07:00
derekwaynecarr
3445bd5806
Fixup event object reference generation to allow downstream objects to have an event
2015-04-21 15:31:38 -04:00
caesarxuchao
e9c5e44767
Use service UID as the ELB name
2015-04-21 12:20:42 -07:00
Daniel Smith
1ebe994ba7
Merge pull request #7056 from kubernetes-ui/kubernetes-ui-dashboard
...
Kubernetes UI with Dashboard component
2015-04-21 12:16:47 -07:00
Fabio Yeon
0163ebf224
Merge pull request #7106 from justinsb/aws_fakeec2_filter_by_instanceid
...
Add FakeEC2 Instances support for matching by instance id
2015-04-21 11:39:25 -07:00
Tim Hockin
5ff76bfdab
Merge pull request #7102 from jsafrane/devel/fix-gluster-namespace
...
Use pod namespace when looking for its GlusterFS endpoints.
2015-04-21 11:18:52 -07:00
Akram Ben Aissi
b7fc22be8a
Fixes an issue with hosts having an IPv6 address on localhost
...
- When 'getent hosts localhost' returns '::1' the creation of the
listener fails because of the port parsing which uses ":" as a
separator
- Use of net.SplitHostPort() to do the job
- Adding unit tests to ensure that the creation succeeds
- On docker.go: adds a test on the presence the socat command which was
failing silenty if not installed
- Code Review 1
- Fixed typo on Expected
- The UT now fails if the PortForwarder could not be created
- Code Review 2
- Simplify socat error message
- Changing t.Fatal to to.Error on unit tests
- Code Review 3
- Removing useless uses cases in unit tests
- Code Review 4
- Removing useless initiliasiation of PortForwarder
- Changing error message
- Code Review 5
- Simplifying TestCast struct
- Adding addition test in one test case
- Closing the listener
- Code Review 6
- Improving unit test
2015-04-21 20:16:22 +02:00
Derek Carr
74d6f30b3c
Merge pull request #7022 from markturansky/ns_controller_indempotent
...
Made NamespaceManager.Run idempotent and added graceful shutdown
2015-04-21 13:55:14 -04:00
Yu-Ju Hong
df2cbd4877
Prioritize deleting the non-running pods when reducing replicas
...
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
Victor Marmol
4b9a64bcd8
Merge pull request #7098 from yifan-gu/handler
...
kubelet: Refactor runHandler().
2015-04-21 08:14:42 -07:00
Dan Mace
093b7c2e25
Add cleanup policy to RollingUpdater
...
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.
* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.
* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00
Sami Wagiaalla
0a7f6c2999
iscsi Test: Add explicit check for attach and detach calls.
...
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-04-21 10:30:47 -04:00
Patrick Reilly
716d98c39e
initial commit of chrome only of new replacement web ui
...
remove node modules
make new data file for web ui
initial commit of dashboard
switch back to non SSL request
move port splitting to common place; add to node resource location
Signed-off-by: Patrick Reilly <patrick@kismatic.io>
various path fixes
make svg path relative
work around missing mime type
Signed-off-by: Patrick Reilly <patrick@kismatic.io>
fix paths
fix karma path
remove bad protractor test
2015-04-21 07:24:06 -07:00
Piotr Szczesniak
27daa29753
Merge pull request #7073 from lavalamp/fix4
...
move port splitting to common place; add to node resource location
2015-04-21 16:10:40 +02:00
Justin Santa Barbara
5efd1e717f
Add FakeEC2 Instances support for matching by instance id
2015-04-21 06:51:43 -07:00
derekwaynecarr
06eb45fb75
ResourceQuota add object count support for secret and volume claims
2015-04-21 09:49:40 -04:00
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
Jan Safranek
0293c6b7f0
Use pod namespace when looking for its GlusterFS endpoints.
...
I have a pod, which exports a Gluster filesystem in non-default namespace.
When I try to use this FS as a GlusterfsVolumeSource in a 'client' pod
definition, Kubernetes looks for the appropriate endpoint in 'default'
namespace instead of the namespace where the client pod is being defined.
2015-04-21 12:33:59 +02:00
Piotr Szczesniak
a45b5c3ebf
Merge pull request #7095 from derekwaynecarr/public_describe_events
...
Make describeEvents DescribeEvents
2015-04-21 06:52:26 +02:00
Piotr Szczesniak
ade6b23622
Merge pull request #7083 from lavalamp/mimeType
...
work around missing mime type
2015-04-21 06:45:20 +02:00
Yifan Gu
c23b83b0ca
kubelet: Refactor runHandler().
...
Use new HandlerRunner type to replace runHandler()
2015-04-20 21:31:11 -07:00
derekwaynecarr
7638107f8b
Make describeEvents DescribeEvents
2015-04-21 00:24:12 -04:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Daniel Smith
bf45a62382
Merge pull request #7079 from thockin/fuzz_volumes
...
Easier fuzzing for volumes
2015-04-20 18:09:05 -07:00
CJ Cullen
1be193098a
Merge pull request #7072 from dchen1107/cleanup
...
Remove fqdn dependency for node name
2015-04-20 18:00:21 -07:00
Daniel Smith
9f89043d8b
Merge pull request #6989 from kazegusuri/update_node_label
...
use Watch for single object instead of WatchList
2015-04-20 17:28:23 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Dawn Chen
5eda3fe9a9
Remove deprecated comment.
2015-04-20 17:12:36 -07:00
Daniel Smith
b9aaf90dd1
work around missing mime type
2015-04-20 17:12:35 -07:00
Daniel Smith
462534ca5d
Merge pull request #7068 from krousey/api_pod_pointer
...
Changing a few more instances of api.Pod to *api.Pod
2015-04-20 17:09:28 -07:00
Clayton Coleman
1bc4912f51
Merge pull request #7030 from liggitt/skip_fetch_delete
...
Skip fetching from server when deleting a named resource
2015-04-20 19:38:10 -04:00
Tim Hockin
c320931d6a
Easier fuzzing for volumes
2015-04-20 16:29:52 -07:00
Masahiro Sano
f90dc8f413
use Watch for single object instead of WatchList
2015-04-21 08:00:52 +09:00
Kris Rousey
594f514843
Changing a few remaining instances of passing pods around by value. I
...
avoided changing api.PodList.Items to []*api.Pod.
2015-04-20 15:26:45 -07:00
Victor Marmol
d44e9b4880
Merge pull request #7048 from yujuhong/para_cleanup
...
Kubelet: parallelize cleaning up containers in unwanted pods
2015-04-20 14:59:07 -07:00
Yu-Ju Hong
275002173e
Kubelet: parallelize cleaning up containers in unwanted pods
...
Kubelet kills unwanted pods in SyncPods, which directly impact the latency of a
sync iteration. This change parallelizes the cleanup to lessen the effect.
Eventually, we should leverage per-pod workers for cleanup, with the exception
of truly orphaned pods.
2015-04-20 14:42:12 -07:00
Daniel Smith
27ee6ea0de
move port splitting to common place; add to node resource location
2015-04-20 14:31:44 -07:00
Brendan Burns
01b891770f
Merge pull request #7054 from ncdc/dockerclient-version
...
Use go-dockerclient's APIVersion
2015-04-20 14:20:57 -07:00
Dawn Chen
28e0c68d65
Register node with nodename only.
2015-04-20 14:16:21 -07:00
Kenjiro Nakayama
2e702b0c61
Replace hostname -f with uname -n
2015-04-20 14:16:21 -07:00
Brendan Burns
d7b0b4a95b
Merge pull request #6834 from eparis/bash-4-kubectl-describe
...
Annotate kubectl describe with describable object for bash completions
2015-04-20 14:13:53 -07:00
markturansky
13a38f3e52
Made NamespaceManager.Run indempotent and added graceful shutdown
2015-04-20 16:50:40 -04:00
Jeff Lowdermilk
89fba5ff63
Merge pull request #6942 from smarterclayton/simplify_object_export
...
List output with differing types should be more resilient
2015-04-20 13:48:57 -07:00
derekwaynecarr
5036289b5e
Improve container resource requirements validation
2015-04-20 15:08:18 -04:00
Jordan Liggitt
feb8ba9c4e
Allow resource builder to avoid fetching objects
2015-04-20 15:00:52 -04:00
Brendan Burns
4e811201a0
Merge pull request #7020 from kazegusuri/reenable_auto_reauth
...
Update gophercloud to HEAD and reenable auto reauth
2015-04-20 11:57:07 -07:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Brendan Burns
e079e23e47
Merge pull request #6597 from fabioy/kubectl-validate
...
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Andy Goldstein
a0a80ea76e
Use go-dockerclient's APIVersion
...
Use go-dockerclient's APIVersion to check the minimum required Docker
version, as it contains methods for parsing the ApiVersion response from
the Docker daemon and for comparing 2 APIVersion objects.
2015-04-20 13:48:18 -04:00
Brendan Burns
29875191ad
Merge pull request #7000 from deads2k/deads-allow-many-modifications
...
allow multiple changes in kubeconfig modifyconfig
2015-04-20 10:46:12 -07:00
Yu-Ju Hong
cd61aa9484
Merge pull request #7009 from yifan-gu/kube_dep
...
kubelet: Refactor prober.
2015-04-20 10:23:04 -07:00
Victor Marmol
cf27de61c6
Merge pull request #7035 from smarterclayton/turn_down_kubelet_for_what
...
Tone down kubelet logs for already run containers
2015-04-20 08:05:25 -07:00
Victor Marmol
446f349910
Merge pull request #7037 from xiang90/no-self
...
pkg/kubelet: no more self receiver in kubelet pkg
2015-04-20 08:03:48 -07:00
Avesh Agarwal
a2ac72c4e7
This commit fixes "kubectl get nodes" output and makes it more sane, and also adds new unit test cases for SchedulingDisabled.
2015-04-20 00:12:18 -04:00
Justin Santa Barbara
335f42b38c
AWS: Return public & private addresses in GetNodeAddresses
2015-04-19 21:10:44 -07:00
Xiang Li
2f2247dae3
pkg/kubelet: no more self receiver in kubelet pkg
2015-04-19 20:26:07 -07:00
Clayton Coleman
9e87924983
Tone down kubelet logs for already run containers
2015-04-19 22:55:38 -04:00
Masahiro Sano
b2d68c79b7
use auto reauth when access token is expired
2015-04-18 18:41:54 +09:00
Prashanth B
f2f40b06aa
Merge pull request #6943 from lavalamp/fix4
...
Improve endpoint controller
2015-04-17 16:30:31 -07:00
Yifan Gu
1d58992df7
kubelet: Refactor prober.
...
Decompose the health check prober from the kubelet.
2015-04-17 15:54:28 -07:00
Daniel Smith
a2953fdc7e
Make endpoint controller use framework
2015-04-17 15:21:51 -07:00
Daniel Smith
24a8cceb5c
add work queue; test coverage 100%
2015-04-17 15:21:47 -07:00
Daniel Smith
da5111891c
Fix selector handling in listers.go.
2015-04-17 15:21:37 -07:00
Yu-Ju Hong
1f3e47f6f7
Merge pull request #7005 from yifan-gu/kube_dep
...
kubelet: Refactor shouldContainerBeRestarted():
2015-04-17 15:05:41 -07:00
Daniel Smith
8a17ea4894
Add Delete method to endpoints client.
2015-04-17 14:55:19 -07:00
Yifan Gu
29a5da231d
kubelet: Refactor shouldContainerBeRestarted():
...
Remove the function's dependency on kubelet.
2015-04-17 14:35:39 -07:00
derekwaynecarr
75482cabb4
Reject unbounded cpu and memory pods if quota is restricting it
2015-04-17 17:02:47 -04:00
Kris Rousey
81497f3ed2
Changing the scheduler package to use *api.Pod instead of api.Pod to
...
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
deads2k
d24b672aa0
allow multiple changes in kubeconfig modifyconfig
2015-04-17 16:02:36 -04:00
Vish Kannan
c3caf397af
Merge pull request #6935 from derekwaynecarr/fix_quota
...
Fix quota status not updating with change in spec
2015-04-17 12:52:33 -07:00
Brian Grant
43c375f759
Merge pull request #6968 from hurf/master
...
Update priorities.go
2015-04-17 12:10:54 -07:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Yu-Ju Hong
26a70a52e6
Merge pull request #6843 from xiang90/cleanup
...
pkg/kubelet: clean up pod manager
2015-04-17 11:27:14 -07:00
Yu-Ju Hong
13b29cd64b
Merge pull request #6595 from guenter/kubelet-update-channel-closed
...
kubelet syncloop should stop if/when updates chan closes
2015-04-17 10:42:05 -07:00
Xiang Li
28c1726232
pkg/kubelet: minor cleanup in pod_manager.go
2015-04-17 10:24:38 -07:00
Xiang Li
864f9b4a8a
pkg/kubelet: drop unnecessary receiver in pod_manager.go
2015-04-17 10:24:38 -07:00
Xiang Li
ede4fb4a37
pkg/kubelet: remove unnecessary wrapper code in pod_manager.go
2015-04-17 10:24:38 -07:00
Clayton Coleman
153a362501
Merge pull request #6938 from derekwaynecarr/fix_nil_pointer
...
Fix nil pointer in etcd tools
2015-04-17 13:20:59 -04:00
Cesar Wong
2adaf104fa
Use Pod.Spec.Host instead of Pod.Status.HostIP for pod subresources
...
The Spec.Host is set when binding a pod to a node and will contain the
canonical host name of the node. The Status.HostIP may not be included
in the node's server TLS certificate.
2015-04-17 11:40:00 -04:00
Clayton Coleman
4b85c0866a
Don't insert duplicate arguments in SplitResourceArgs
2015-04-17 11:36:25 -04:00
derekwaynecarr
199011eee0
Fix nil pointer in etcd tools
2015-04-17 11:33:31 -04:00
Clayton Coleman
4833578a57
Merge pull request #6958 from smarterclayton/args_remain_in_order
...
`kubectl get rc,pods` should invoke in that order
2015-04-17 11:30:09 -04:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Clayton Coleman
b3f03b934d
Merge pull request #6869 from csrwng/pod_connect
...
Pod proxy, portforward and exec subresources
2015-04-17 09:49:12 -04:00
Wojciech Tyczynski
fafcf79d5d
Allow more retries in density test
2015-04-17 12:35:56 +02:00
Victor HU
7eac8563d4
Update priorities.go
...
minor change in log message and log level
2015-04-17 16:02:55 +08:00
Clayton Coleman
2c11835612
`kubectl get rc,pods` should invoke in that order
...
SplitResourceArguments should not use a golang map
2015-04-17 00:57:02 -04:00
Daniel Smith
636d0682d7
Merge pull request #6830 from derekwaynecarr/improve_error_msg
...
Improve error message when name is omitted but generateName is available
2015-04-16 17:21:43 -07:00
Brian Grant
a927c239fe
Merge pull request #6881 from nikhiljindal/errHandle
...
Registering a serviceErrorHandler with go-restful to always return JSON responses
2015-04-16 16:44:17 -07:00
Clayton Coleman
1d9203d98f
Merge pull request #6932 from csrwng/proxy_redirect_params
...
Add URL parameters to proxy redirect Location header
2015-04-16 18:35:31 -04:00
nikhiljindal
f9132dc572
Registering serviceErrorHandler with go-restful
2015-04-16 14:59:44 -07:00
Cesar Wong
e09b8c99dc
Add URL parameters to proxy redirect Location header
...
When a URL that doesn't end in "/" is sent to the API proxy,
the proxy responds with a redirect to the URL with a "/" at the
end. The problem is that this redirect path does not include
query parameters that were passed in the original request. This
is a fix to that issue.
2015-04-16 17:57:45 -04:00
derekwaynecarr
ea0ddd4a0a
Fix quota status not updating with change in spec
2015-04-16 17:46:27 -04:00
Jeff Lowdermilk
97e4549170
Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
...
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
Eric Tune
e300bf3e13
Merge pull request #6922 from fabianofranz/fix_config_dir_creation
...
Create complete parent dir structure when saving config to file
2015-04-16 13:40:32 -07:00
Alex Robinson
391e079cf6
Merge pull request #6917 from thockin/dockerfile-images-are-dead
...
Stop using dockerfile/* images
2015-04-16 13:30:50 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Dawn Chen
fa4363d493
Merge pull request #6924 from yujuhong/data_race
...
Fix data race in kubelet_test.go
2015-04-16 11:56:40 -07:00
Quinton Hoole
31dc4851ef
Merge pull request #6870 from a-robinson/client
...
Make client service requests use the default timeout now that external load balancers are created asynchronously
2015-04-16 11:41:05 -07:00
Yu-Ju Hong
2fd87597a4
Fix data race in kubelet_test.go
...
Ensure that FakeDockerClient make a copy of the internal list and return it.
2015-04-16 11:36:10 -07:00
fabianofranz
f71aa6ad38
Create complete parent dir structure when saving config to file
2015-04-16 14:17:54 -03:00
derekwaynecarr
81dcd8c836
Improve error message when name is omitted but generateName is available
2015-04-16 13:06:19 -04:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
Cesar Wong
d672363387
Pod proxy, exec and portforward subresources
...
Makes it possible to access the following subresources:
/namespaces/<ns>/pods/<pod-name>[:port]/proxy
/namespaces/<ns>/pods/<pod-name>/exec?container=<container>&command=<cmd>
/namespaces/<ns>/pods/<pod-name>/portforward
2015-04-16 10:20:17 -04:00
Cesar Wong
4da14e9357
Add PodExecOptions and PodProxyOptions versioned resources
...
PodExecOptions represents the URL parameters used to invoke an
exec request on a pod. PodProxyOptions contains the path parameter
passed to a proxy request.
2015-04-16 10:20:17 -04:00
Cesar Wong
49abf9133e
Add Connecter storage interface to API server
...
Connecter is a type of resource that connects a request
coming from the client to an internal request within the cluster.
It will be used for exposing a pod's proxy, exec, and portforward
endpoints.
2015-04-16 10:20:17 -04:00
Cesar Wong
a3f5dfd0e2
Move proxy html transport to utility package
...
Moves the proxy html transport that translates html links
from the proxy in apiserver to its own package under util.
2015-04-16 10:20:17 -04:00
markturansky
34924af63d
Fixed typos in comments
2015-04-16 08:52:36 -04:00
Robert Bailey
f633ac0ab5
Restrict functions and structs that aren't used outside of the
...
nodecontroller to have package private scope. This makes reasoning
about the code in this package much simpler.
2015-04-15 20:56:07 -07:00
Daniel Smith
835a87aed2
Merge pull request #6857 from wojtek-t/fix_scheduler_nodes
...
Fix listing nodes in scheduler
2015-04-15 17:05:04 -07:00
Tim Hockin
5e30997aeb
Merge pull request #6871 from ironcladlou/rolling-update-refactor
...
Use narrowly scoped interfaces for client access
2015-04-15 17:01:58 -07:00
Victor Marmol
abab9ea31f
Merge pull request #6844 from yifan-gu/cleankube
...
kubelet: Clean up computePodContainerChanges.
2015-04-15 13:53:21 -07:00
Dan Mace
bd7b719944
Make default impls private
2015-04-15 16:50:08 -04:00
Victor Marmol
24df692b48
Merge pull request #6872 from yujuhong/fix_lock
...
Fix locking issue in pod manager
2015-04-15 13:15:42 -07:00
Daniel Smith
1ea2c3ba48
Merge pull request #6754 from wojtek-t/list_with_single_element
...
Support List() with single-matchers
2015-04-15 12:43:47 -07:00
Yu-Ju Hong
967405f0bb
Fix locking issue in pod manager
2015-04-15 11:39:57 -07:00
Alex Robinson
4e7248e47b
Make client service requests use the default timeout now that external
...
load balancers are created asynchronously.
2015-04-15 18:37:53 +00:00
Dan Mace
312ccad3c1
Use narrowly scoped interfaces for client access
...
Use custom narrowly scoped interfaces for client access from the
RollingUpdater and Resizer. This allows for more flexible downstream
integration and unit testing without imposing a burden to implement
the entire client.Interface for just a handful of methods.
2015-04-15 14:28:59 -04:00
Saad Ali
6cfce2c7ee
Merge pull request #6822 from derekwaynecarr/send_events_replication_controller
...
Replication controller gives failedCreate events
2015-04-15 11:27:23 -07:00
Victor Marmol
902e1196ac
Merge pull request #6867 from pmorie/libcontainer-bug
...
Remove workaround for libcontainer Getfilecon bug
2015-04-15 11:02:46 -07:00
Eric Tune
3565a0861c
Merge pull request #6864 from liggitt/generic_405_error
...
Add a more descriptive message for 405 errors
2015-04-15 10:59:17 -07:00
Quinton Hoole
7d9adad916
Merge pull request #6724 from nikhiljindal/beta1
...
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07:00
Dawn Chen
d912398d07
Merge pull request #6813 from vmarmol/in-container
...
Run Kubelet and Kube-proxy in resource-only containers.
2015-04-15 10:37:00 -07:00
Paul Morie
68f22a40f3
Remove workaround for libcontainer Getfilecon bug
...
https://github.com/docker/libcontainer/issues/499 has been fixed
2015-04-15 13:29:20 -04:00
Brian Grant
775787bb4c
Merge pull request #6849 from nikhiljindal/validation
...
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-15 10:25:54 -07:00
Yifan Gu
3b28c6262b
kubelet: Clean up computePodContainerChanges.
...
More `continue`, less `else` to make it less indent and more readable.
2015-04-15 10:13:57 -07:00
Jordan Liggitt
dde8c7156b
Add a more descriptive message for 405 errors
2015-04-15 11:28:12 -04:00
Wojciech Tyczynski
afb94c43b1
Fix listing nodes in scheduler
2015-04-15 14:26:25 +02:00
Wojciech Tyczynski
6feaf8ee4f
Support List() single-matchers
2015-04-15 12:10:43 +02:00
nikhiljindal
8874ef9c06
Updating test/integration to use testapi.Version everywhere
2015-04-15 00:00:17 -07:00
nikhiljindal
40842e4471
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-14 23:51:49 -07:00
Wojciech Tyczynski
d7a1965fd9
Merge pull request #6746 from davidopp/master
...
Clarify comments describing how GuaranteedUpdate() (previously AtomicUpd...
2015-04-15 08:13:44 +02:00
Quinton Hoole
cd6daae014
Merge pull request #6271 from a-robinson/asynclb
...
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Alex Robinson
fc08a0a71b
Do service creation/update/deletion work in a pool of goroutines, protecting
...
each service with a lock to ensure that no two goroutines will process a
service at the same time. This is needed to avoid weird race conditions.
2015-04-15 00:30:18 +00:00
Dawn Chen
a249a5bec8
Merge pull request #6792 from eparis/bash-3-kubectl-filename-json-yaml
...
bash_completions: Generic function for --filename arguments
2015-04-14 16:04:19 -07:00
Victor Marmol
54406a5b7c
Merge pull request #6794 from yujuhong/restart_counts
...
Kubelet: persist restart count of a container
2015-04-14 16:01:49 -07:00
Eric Paris
f272e836e0
Annotate kubectl describe with describable object for bash completions
2015-04-14 18:51:18 -04:00
David Oppenheimer
6b28a69a1b
Clarify comments describing how GuaranteedUpdate() (previously AtomicUpdate() works. Closes #6626 .
2015-04-14 15:38:15 -07:00
Eric Paris
de3864a1c2
bash_completions: Generic function for --filename arguments
...
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00