Robert Bailey
17c005bb6a
Merge pull request #12730 from eparis/bash-completions-delete-label
...
bashcompletions: suggest resources to delete in kubectl delete
2015-08-17 13:52:53 -07:00
Janet Kuo
bff0cab7ce
Describe volumes in rc and pod
2015-08-17 13:42:50 -07:00
Eric Paris
055d648ed7
Change log_flush_frequency to use -
...
Since we have the rename, we don't need our declaration to look like
glog's.
2015-08-17 11:19:31 -07:00
Robert Bailey
6fcdcec25d
Merge pull request #12658 from sdminonne/bug_fix2
...
to fix govet issue
2015-08-17 10:58:10 -07:00
Paul Morie
8ddef45679
Fix issue 10587; update SecurityContext godoc
2015-08-17 11:23:11 -04:00
Maciej Szulik
686f764fc7
Allow other client's implementation to reuse NewListWatchFromClient by passing in the Getter interface, responsible for accessing RESTClient's Get method.
2015-08-17 15:25:03 +02:00
Justin Santa Barbara
907090a777
Move new files into pkg/cloudprovider/providers/aws/
...
They were not caught by the general reorg because they weren't on
master.
2015-08-17 08:59:29 -04:00
Justin Santa Barbara
d947a8f78b
Update imports to new k8s.io style
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
08e904ad96
AWS: Configure LoadBalancer health checks
...
ELB will automatically create a health check, but if we update the
listeners the old health check port sticks around, and all the instances
are marked offline.
Update the health-checks to match the listeners: we just check the first
valid service port, with some hard-coded options for timeouts / retries etc.
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
cb38b02f2c
Add unit test for StringSet Equal
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
924350d5f6
AWS: Make load balancer creation idempotent on AWS
...
This turned out to be a little convoluted, but is needed because deleting an ELB on AWS
is a painful UX - it won't have the same endpoint when it is recreated.
Also started splitting the provider into files, but only for new functions (so far!)
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
8c365d51c7
servicecontroller relies on cloudprovider to delete LB if needed
...
We previously made the cloudproviders take on the responsibility of deleting
existing load balancers; this lets us simplify the servicecontroller logic
and also lays the groundwork for more efficient cloudprovider LB implementations
to do an in-place change on a LB.
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
87df1d6fb6
Change CreateTCPLoadBalancer -> EnsureTCPLoadBalancer; implementations auto-delete if already exists
...
Previously the servicecontroller would do the delete, but by having the cloudprovider
take that task on, we can later remove it from the servicecontroller, and the
cloudprovider can do something more efficient.
2015-08-17 08:58:45 -04:00
Justin Santa Barbara
1ab62e541b
Add more events to LoadBalancer management
...
It would be nice to see these events in the service like we do with pods;
also we've had trouble here so a few more events would be handy!
2015-08-17 08:58:45 -04:00
Marek Grabowski
2816632cad
Merge pull request #11996 from jayunit100/maxTimes
...
Fix maxTimes comment to clarify infinit waits
2015-08-17 11:57:44 +02:00
Marek Grabowski
48184026f1
Merge pull request #12729 from cjcullen/gce
...
Clean up GCE metadata calls. Remove GetNodeResources from all providers.
2015-08-17 10:48:48 +02:00
Joshua Griffiths
a9aa2c6acc
Replace Port with NodePort for creating LB members
2015-08-17 08:47:00 +01:00
Brendan Burns
a9580a0ad0
Merge pull request #12595 from smarterclayton/add_pod_status_ip
...
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Brendan Burns
eb8b1aa87e
Merge pull request #12694 from yifan-gu/rkt_patch
...
kubelet/rkt: minor updates to match rkt v0.7.0.
2015-08-14 20:27:30 -07:00
Brendan Burns
c5cfc1b83c
Merge pull request #12706 from smarterclayton/test_fails_on_no_ipv6
...
Unit test fails when ipv6 is not available
2015-08-14 20:26:40 -07:00
Eric Paris
f125ad88ce
Rename IsMountPoint to IsLikelyNotMountPoint
...
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
Clayton Coleman
01f3785426
Add status.podIP as a valid downward API target
...
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns
eed655a6e6
Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
...
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Clayton Coleman
c885b2652d
Unit test fails when ipv6 is not available
2015-08-14 13:20:03 -04:00
deads2k
c24d176f65
tolerate missing image pull secrets:
2015-08-14 12:51:28 -04:00
Brendan Burns
b29311ba2b
Merge pull request #11781 from brendandburns/schema-api
...
RFC: Add initial plugin schema types.
2015-08-14 09:44:12 -07:00
Eric Paris
9b2ac7538d
bashcompletions: suggest resources to delete in kubectl delete
...
Before this patch if you type `kubectl delete [tab][tab]` you would get
nothing. `kubectl delete pod [tab][tab]` would show the list of pods.
This patch causes `kubectl delete [tab][tab]` to show the list of
resources like pod, service, podtemplate, serviceaccount, etc
2015-08-14 10:35:26 -04:00
CJ Cullen
e20467afcb
Clean up GCE metadata calls. Remove GetNodeResources from all providers.
2015-08-14 07:29:52 -07:00
Jerzy Szczepkowski
045cd857a4
Merge pull request #12699 from xiejunan/probe_extractport
...
fix error in findPortByName
2015-08-14 13:41:13 +02:00
Jerzy Szczepkowski
f29d52114b
Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
...
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
Wojciech Tyczynski
e424da7d0d
Implement Cacher for watch in apiserver
2015-08-14 09:44:42 +02:00
xiejunan
f5446f2aa3
fix error in findPortByName
...
using ContainerPort instead of HostPort
2015-08-14 14:00:05 +08:00
Yifan Gu
558e692f93
kubelet/rkt: minor updates to match rkt v0.7.0.
2015-08-13 18:16:12 -07:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
db39e5c45d
Merge pull request #12667 from preillyme/issues_12666
...
Remove the "www" and "third-party ui" directories from kubernetes repo
2015-08-13 14:09:11 -07:00
Brendan Burns
b50330d851
Merge pull request #12539 from jiangyaoguo/keep-event-reason-consistent-in-scheduler-controller
...
Keep event reason consistent in scheduler and controller
2015-08-13 14:08:52 -07:00
Brendan Burns
22a2a76ab8
Merge pull request #12571 from brendandburns/kubectl2
...
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns
d8a60d2271
Merge pull request #12623 from thockin/proxy-ipt
...
Auto commit by PR queue bot
2015-08-13 13:10:39 -07:00
Brendan Burns
15281a5e01
Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
...
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Paul Weil
f1d0835235
don't swallow bad request errors
2015-08-13 14:31:56 -04:00
Patrick Reilly
bf02aaa97d
remove other cluster addon references for container build
2015-08-13 10:23:55 -07:00
Tim Hockin
776132e1ae
Make kube-proxy iptables sync period configurable
2015-08-13 09:53:32 -07:00
Ruddarraju, Uday Kumar Raju
937db3f70d
Keystone authentication plugin
2015-08-13 09:46:30 -07:00
Brendan Burns
586931fe16
Add optional arguments to kubectl run ...
2015-08-13 09:41:51 -07:00
Brendan Burns
1055eed9b6
Add initial storage types to the Kubernetes API
2015-08-13 09:25:02 -07:00
Salvatore Dario Minonne
48018c402c
to fix govet issue
2015-08-13 17:26:43 +02:00
Wojciech Tyczynski
f45a4b276a
Merge pull request #12641 from jszczepkowski/etcd-test-get
...
Refactoring of get etcd tests.
2015-08-13 14:54:43 +02:00
Jerzy Szczepkowski
f09a08d15a
Refactoring of get etcd tests.
...
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Jerzy Szczepkowski
e4031a65ff
Fixed conversions for autoscaler.
...
Fixed conversions for autoscaler, patch for test problems introduced by #12344 .
2015-08-13 10:51:01 +02:00
Wojciech Tyczynski
56fb29a83a
Merge pull request #12344 from jszczepkowski/hpa-api
...
Added HorizontalPodAutoscaler object to experimental API.
2015-08-13 10:33:31 +02:00
Wojciech Tyczynski
53514dccca
Merge pull request #12597 from BenTheElder/userspace_iptables_cleanup
...
Fix #12596
2015-08-13 10:18:19 +02:00
Wojciech Tyczynski
4516eeba81
Merge pull request #12594 from liggitt/status_field
...
Limit field errors to a single field name
2015-08-13 08:35:02 +02:00
feihujiang
1e10a7cc59
Kubectl scale command accepts a filename param
2015-08-13 14:26:25 +08:00
feihujiang
18a1400928
Kubectl get command accepts a filename param
2015-08-13 14:12:29 +08:00
jiangyaoguo
5d3522dc7a
Keep event reason consistant in scheduler and controller
2015-08-13 11:33:32 +08:00
feihujiang
0110f3176b
Kubectl patch command accepts a filename param
2015-08-13 11:13:31 +08:00
feihujiang
4b9afc516e
Kubectl label command accepts a filename param
2015-08-13 10:21:38 +08:00
CJ Cullen
a6148e79c3
Merge pull request #12610 from mikedanese/rewrite-kubectl
...
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 17:17:23 -07:00
CJ Cullen
6b8696079a
Merge pull request #12489 from yifan-gu/refactor_runtime_hooks
...
kubelet: refactor kubelet.Runtimehooks to container.ImagePuller.
2015-08-12 17:16:13 -07:00
BenTheElder
8006a39cc3
Fix #12596
...
Fix for https://github.com/kubernetes/kubernetes/issues/12596
Disconnect the pure-iptables proxy’s services chain when starting the
userspace proxy.
2015-08-12 20:06:09 -04:00
Brendan Burns
99b8df1812
Add field based sorting to the kubectl command line.
2015-08-12 16:51:36 -07:00
Yifan Gu
d70a30c069
kubelet: refactor kubelet.Runtimehooks to container.ImagePuller.
2015-08-12 16:28:25 -07:00
CJ Cullen
811b93ef2f
Merge pull request #12604 from krousey/clientauth
...
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Mike Danese
fe0e758d4d
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 14:52:13 -07:00
Kris Rousey
2a17dbff13
Moving clientauth package to be under client
2015-08-12 14:43:17 -07:00
CJ Cullen
59da05efdf
Merge pull request #12405 from uluyol/kubectlexp
...
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
CJ Cullen
ead7b37616
Merge pull request #12593 from apeeyush/docs-bash-comments
...
Use bash comments in kubectl examples
2015-08-12 14:24:31 -07:00
CJ Cullen
098dc407d6
Merge pull request #12550 from eparis/update-BindKubeletClientConfigFlags
...
Change BindKubeletClientConfigFlags to use - in flag names instead of _
2015-08-12 13:05:37 -07:00
Peeyush Agarwal
05e069d038
Use bash comments in kubectl examples
...
Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
2015-08-12 19:56:23 +00:00
Muhammed Uluyol
93b14c9a5d
Document the relationship between groups, versions, kinds, and resources. Link
...
to appropriate issues for multiple api group support.
2015-08-12 11:29:05 -07:00
Jordan Liggitt
d7a50c4778
Limit field errors to a single field name
2015-08-12 14:10:26 -04:00
CJ Cullen
c76a671e06
Merge pull request #12512 from markturansky/pvc_label_fix
...
Improved CLI for PVClaims
2015-08-12 09:30:18 -07:00
CJ Cullen
b8dc963512
Merge pull request #9210 from BenTheElder/iptables_proxy
...
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
markturansky
f37113aa25
Improved CLI for PVClaims
2015-08-12 11:31:54 -04:00
Piotr Szczesniak
f620b0d53d
Merge pull request #12584 from wojtek-t/remove_unsed_code
...
Remove dead code
2015-08-12 15:36:33 +02:00
Wojciech Tyczynski
1426418af2
Remove dead code
2015-08-12 14:57:44 +02:00
Piotr Szczesniak
5a2d85f929
Merge pull request #12516 from jiangyaoguo/change-event-reason-start-with-capital-letter
...
Keep event reason in kubelet consistent with others
2015-08-12 13:23:02 +02:00
jiangyaoguo
9ab4a46b9d
Keep event reason in kubelet consistent with others
2015-08-12 19:00:09 +08:00
Piotr Szczesniak
7186b48d48
Merge pull request #12528 from wojtek-t/rewrite_events
...
Rewrite events registry to be generic
2015-08-12 12:02:13 +02:00
Wojciech Tyczynski
2ced08358f
Remove unused registry infrastructure
2015-08-12 11:23:10 +02:00
Wojciech Tyczynski
5de0f11b1d
Unify events registry to be generic.
2015-08-12 11:23:07 +02:00
Piotr Szczesniak
c00c5b680f
Merge pull request #12577 from sdminonne/bug_fix2
...
to fix go vet: composite literal uses unkeyed fields
2015-08-12 11:21:59 +02:00
Jerzy Szczepkowski
baa1612241
Added HorizontalPodAutoscaler object to experimental API.
...
Added HorizontalPodAutoscaler object to experimental API. Related to #12087 .
2015-08-12 11:03:21 +02:00
Salvatore Dario Minonne
6915e2de36
to fix go vet: composite literal uses unkeyed fields
2015-08-12 10:54:58 +02:00
feihujiang
c0b2098844
Kubectl expose command accepts a filename param
2015-08-12 16:16:37 +08:00
Piotr Szczesniak
0ded91c521
Merge pull request #12403 from stensonb/consolidate-cloudprovider-imports
...
consolidate cloudproviders into a single import
2015-08-12 09:56:09 +02:00
Piotr Szczesniak
eb01d49783
Merge pull request #12556 from uluyol/copynilinterface
...
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak
b2c0a55679
Merge pull request #12332 from hurf/nits
...
Synchronize help message between describe and get
2015-08-12 09:51:31 +02:00
hurf
1d1f1fd97c
Synchronize help message between describe and get
...
small nits, change 'resources' to 'resource types'
2015-08-12 15:27:11 +08:00
Jerzy Szczepkowski
84af5594b3
Cleanup: "scaler" -> "scale".
...
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
BenTheElder
ae569e20b5
Partially Implement #3760
2015-08-12 02:39:15 -04:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
Piotr Szczesniak
1df0267f4a
Merge pull request #12551 from eparis/underscore-to-dash
...
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
CJ Cullen
49f483400c
Merge pull request #12560 from yujuhong/sync_pods
...
kubelet: refactor SyncPods for better readability
2015-08-11 18:09:36 -07:00
CJ Cullen
077246219b
Merge pull request #12549 from eparis/remove-BindClientConfigFlags
...
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
Muhammed Uluyol
bc8bc37282
Properly handle nil interfaces in DeepCopy.
...
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
Muhammed Uluyol
4d5899955e
Remove redundant tests. We already check that no changes have been made in hack/verify-generated-*.sh.
2015-08-11 16:51:44 -07:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Muhammed Uluyol
01807c1fac
Make ClientCache public
2015-08-11 16:47:57 -07:00
Yu-Ju Hong
56f4605f47
kubelet: refactor SyncPods for better readability
...
Eventually we would like to replace the all-encompassing SyncPods function with
more well-defined, smaller functions. This would not only help with the
readability and profiling of the code, it'd also set in motion for the plans to
trigger pod worker individually based on the content of the pod updates.
This commit serves as the first step of that, while avoiding breaking all unit
tests by preserving the SyncPods function for the time being.
2015-08-11 16:40:26 -07:00
CJ Cullen
a53a3b7e8c
Merge pull request #12547 from nikhiljindal/updateSwaggerDatafile
...
Updating swagger datafile as per latest swagger-ui code
2015-08-11 16:10:03 -07:00
CJ Cullen
e5e041fe23
Merge pull request #12495 from liggitt/abac_test
...
fix ABAC tests
2015-08-11 16:07:36 -07:00
CJ Cullen
64e5e1a2dd
Merge pull request #12427 from krousey/vetclean
...
Fix go vet errors
2015-08-11 15:14:00 -07:00
nikhiljindal
7b48b3dbdc
Updating swagger datafile
2015-08-11 14:51:04 -07:00
Brendan Burns
296ffdf925
Merge pull request #12546 from brendandburns/rc
...
Switch the order of delete, delete pods before deleting nodes.
2015-08-11 14:14:09 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Eric Paris
5aa495cdad
Update code to use - in flag names instead of _
2015-08-11 16:31:52 -04:00
Eric Paris
3547920d13
Change BindKubeletClientConfigFlags to use - in flag names instead of _
...
The only user of this function is using pflags and does have name
normalization. It might break something out of tree, but that's
impossible to prevent...
2015-08-11 16:31:27 -04:00
Eric Paris
1333fad22a
Remove BindClientConfigFlags entirely
...
They are unused.
2015-08-11 16:26:24 -04:00
Brendan Burns
34eec1fc78
Switch the order of delete, delete pods before deleting nodes.
2015-08-11 12:34:37 -07:00
CJ Cullen
08334a3f32
Merge pull request #12460 from Huawei-PaaS/issue-build-error
...
Modify the TestCase TestServiceRegistryIPUpdate
2015-08-11 10:15:56 -07:00
CJ Cullen
1f3c322ded
Merge pull request #12438 from derekparker/handle-fqdn-gce
...
Handle full hostname when computing host tag on GCE
2015-08-11 10:11:23 -07:00
Jian Huang
70ce862955
Fix the issue which TestServiceRegistryIPUpdate will randomly run failed.
2015-08-11 17:00:47 +00:00
Filip Grzadkowski
44c91b1a39
Merge pull request #12508 from markturansky/refactor_pv_controllers
...
Refactored persistent volume controllers to new packaging structure
2015-08-11 12:35:23 +02:00
Filip Grzadkowski
999eff1b7f
Merge pull request #12510 from markturansky/improve_failed_mount_msg
...
Removed spew from failed volume mount event
2015-08-11 12:35:02 +02:00
Filip Grzadkowski
38c3e351d8
Merge pull request #12203 from jgriffiths1993/subnetid-vip
...
Pass SubnetID to vips.Create()
2015-08-11 10:59:56 +02:00
Filip Grzadkowski
3f7b54cbdb
Merge pull request #11669 from pweil-/sc-nonroot
...
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Filip Grzadkowski
9dd3cac82e
Merge pull request #12423 from brendandburns/service
...
Make services print on a single line.
2015-08-11 10:29:23 +02:00
Wojciech Tyczynski
5ea99310f1
Unify limitrange registry to be generic.
2015-08-11 09:06:44 +02:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
markturansky
0b72bb2458
removed spew from event error
2015-08-10 23:16:15 -04:00
Alex Robinson
785ccf4a74
Merge pull request #12005 from JanetKuo/kubectl-describe-allocatedresource
...
Make kubectl describe node include allocated resource
2015-08-10 18:08:04 -07:00
Alex Robinson
e899a36de8
Merge pull request #12491 from yifan-gu/bump_appc
...
Godeps: bump appc/spec to v0.6.1+git.
2015-08-10 16:38:49 -07:00
Alex Robinson
5cab32957e
Merge pull request #12502 from gambol99/rj/rbd_defencing_fix
...
- fixed the defencing of the rbd lock
2015-08-10 16:38:12 -07:00
Rohith
dc23ded091
- fixing the complaint on the gofmt
2015-08-10 23:57:05 +01:00
Alex Robinson
42e12f1c5f
Merge pull request #12340 from wojtek-t/rewrite_service_etcd
...
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Rohith
bb31cd29ea
- fixed the defencing of the rbd lock
2015-08-10 23:33:25 +01:00
Alex Robinson
5836d455b8
Merge pull request #12239 from eparis/bash-completions-rolling-update
...
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson
057be1fc8d
Merge pull request #12406 from smarterclayton/namespace_estimate_delete
...
Namespace must estimate and requeue content deletions
2015-08-10 15:01:35 -07:00
Alex Robinson
d6b7fcc69f
Merge pull request #11988 from brendandburns/tc
...
Add some utilities for limiting bandwidth using 'tc'
2015-08-10 14:23:04 -07:00
Alex Robinson
20c189d752
Merge pull request #12471 from peter-edge/docker-new-client-from-env
...
Use docker.NewClientFromEnv for creation of docker.Client
2015-08-10 14:22:21 -07:00
Alex Robinson
cd3c3fe479
Merge pull request #12373 from cjcullen/network
...
Use full URLs for GCE networks
2015-08-10 14:21:42 -07:00
Alex Robinson
33178dce96
Merge pull request #12496 from nikhiljindal/portDescription
...
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal
a698acd3c8
Fixing a typo in port swagger description
2015-08-10 13:32:46 -07:00
Alex Robinson
9bda3c5998
Merge pull request #11138 from feihujiang/portForwardWithoutP
...
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Janet Kuo
0ac6dba3f4
Make kubectl describe node include allocated resource
2015-08-10 13:25:59 -07:00
Alex Robinson
531d3def98
Merge pull request #12482 from tmrts/refactor/iota
...
Refactor probe.Result enumeration
2015-08-10 13:20:04 -07:00
Jordan Liggitt
848ec0491e
fix ABAC tests
2015-08-10 16:07:08 -04:00
Alex Robinson
11fcd3bb39
Merge pull request #12478 from eparis/use-pflag-network
...
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Alex Robinson
1e39eb07e1
Merge pull request #12488 from pweil-/fix-conversions
...
use package from out value
2015-08-10 11:52:48 -07:00
Alex Robinson
4593478c65
Merge pull request #12461 from hurf/humanize_time2
...
Print human readable time for event
2015-08-10 11:52:33 -07:00
Brendan Burns
dcd6b00d83
Add a package for bandwidth control
2015-08-10 11:24:02 -07:00
Yifan Gu
7e5cfd137a
Godeps: bump appc/spec to v0.6.1+git.
2015-08-10 11:21:28 -07:00
Alex Robinson
933c855fba
Merge pull request #12354 from mjibson/replace-cascade-fix
...
Fix flag docs for replace cascade
2015-08-10 11:06:41 -07:00
Alex Robinson
462fed62b7
Merge pull request #12189 from feihujiang/describeKindNoArguments
...
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
Paul Weil
26d80cdb7f
use package from out value
2015-08-10 14:00:20 -04:00
Brendan Burns
79fb674679
Fix the service printer to be a single line per service
2015-08-10 10:57:45 -07:00
Tamer Tas
16b4428043
Fix usage of format specifier %s
2015-08-10 20:44:36 +03:00
Paul Weil
e490c20c22
add non-root directive to SC and kubelet checking
2015-08-10 13:30:34 -04:00
Alex Robinson
79f171542a
Merge pull request #12484 from tmrts/doc/pkg/kubelet/rkt
...
Add documentation for pkg/kubelet/rkt
2015-08-10 10:07:25 -07:00
Alex Robinson
c5e221dca7
Merge pull request #12440 from BenTheElder/proxy_config_handler_refactor
...
Refactor `pkg/proxy/config`'s ServiceConfigHandler and EndpointsConfigHandler.
2015-08-10 09:44:38 -07:00
Tamer Tas
f5d5befe17
Add documentation for pkg/kubelet/rkt
2015-08-10 19:34:36 +03:00
Tamer Tas
be7c223043
Refactor probe.Result enumeration
2015-08-10 19:08:15 +03:00
Matt Jibson
2c0f32e9b8
Fix flag docs for replace cascade
2015-08-10 12:03:43 -04:00
Clayton Coleman
62b6ca1643
Namespace must estimate and requeue content deletions
2015-08-10 11:20:21 -04:00
Marek Grabowski
9ddcfb7d54
Merge pull request #12421 from jlowdermilk/replace-help-text
...
Clarify help text of kubectl replace
2015-08-10 16:34:17 +02:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
08f67e5888
Merge pull request #12469 from xiejunan/auth_example
...
change "ns" to "namespace" in example and doc for ABAC authorization
2015-08-10 16:33:22 +02:00
Marek Grabowski
87250d075f
Merge pull request #12217 from mwielgus/exp_scale
...
Experimental Scale subresource
2015-08-10 16:32:59 +02:00
Marek Grabowski
d239d51f3a
Merge pull request #12414 from krousey/versioned_codec
...
Adding a way to decode to a specified version.
2015-08-10 16:32:36 +02:00
Eric Paris
9de64328a5
Bash completion annotations for rollingupdates
2015-08-10 10:26:18 -04:00
Eric Paris
f3282ff4d2
Use pflag IPNet instead of our own helpers
...
Since pflag can handle net.IPNet arguements use that code. This means
that our code no longer has casts back and forth and just natively uses
net.IPNet.
2015-08-10 10:15:08 -04:00
Eric Paris
fe6b633e2a
Convert for util.IP to just use a net.IP
...
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Marek Grabowski
8580e17ff1
Merge pull request #12374 from wulonghui/wulonghui-patch-1
...
Add NodeInternalIP for Node's Addresses when cloud provider is nil
2015-08-10 15:01:00 +02:00
Marek Grabowski
a0371b3985
Merge pull request #11919 from samsabed/descLaststatus
...
kubectl describe pod should print lastState
2015-08-10 14:56:44 +02:00
Marek Grabowski
e27787c9d3
Merge pull request #12292 from brendandburns/stdin3
...
Add support for `--restart`
2015-08-10 14:54:54 +02:00
peter-edge
0458d707ac
use docker.NewClientFromEnv for creation of docker.Client
2015-08-10 13:29:56 +02:00
Wojciech Tyczynski
79125f460c
Services using standard REST storage
2015-08-10 13:27:44 +02:00
Wojciech Tyczynski
d11ab96446
Extract non-storage operations from service etcd
2015-08-10 13:27:44 +02:00
xiejunan
8d99ba94c8
modify example and doc for ABAC authorization
2015-08-10 18:46:13 +08:00
Marek Grabowski
e034712456
Merge pull request #11788 from HaiyangDING/ImproveClarityResource
...
Improve clarity around PodFitsResource(issue#11453)
2015-08-10 09:56:32 +02:00
Marek Grabowski
41aa56a6c6
Merge pull request #12448 from smarterclayton/extra_newlines
...
Extra newlines in error output
2015-08-10 09:55:25 +02:00
hurf
dd647db5ac
Print human readable time for event
...
Reduce the length of event time as AGE column does.
2015-08-10 15:00:24 +08:00
feihujiang
73b694e6c1
kubectl describe <kind> work with no arguments
...
Add describe_resource_assert to test describe <kind> with no object arg
2015-08-10 14:08:38 +08:00
Jeff Lowdermilk
1956484816
Clarify help text of kubectl replace
...
Help the next poor soul avoid the confusion I had when
```
$ kubectl create -f pod.yaml
$ kubectl replace -f pod.yaml
```
doesn't work.
2015-08-09 12:30:03 -07:00
Clayton Coleman
c46165de19
Extra newlines in error output
...
StandardErrorMessage does not have a newline by default, other
error messages should not end with a newline.
2015-08-09 11:41:52 -04:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
BenTheElder
6bbf2aaab7
Refactor pkg/proxy/config's ServiceConfigHandler and EndpointsConfigHandler to have different update methods.
...
Refactor `pkg/proxy/config`’s ServiceConfigHandler.OnUpdate and
EndpointsConfigHandler.OnUpdate to different method names as they have
different signatures.
This will let the new proxy
(https://github.com/GoogleCloudPlatform/kubernetes/issues/3760 )
implement both interfaces.
Since we won’t need a separate loadbalancer structure (load balancing
is handled in the proxy rules), we will simply handle both event types
from the same object.
2015-08-08 15:16:55 -04:00
Derek Parker
48fadc1570
Handle full hostname when computing host tag on GCE
...
The current code assumes the full domain name will not be included,
which is not always the case. This patch adds support for computing the
host tag from a fully qualified domain name.
2015-08-08 10:20:29 -05:00
BenTheElder
f6d257c0f3
fix missing import in roundrobin_test.go
2015-08-08 00:02:35 -04:00
BenTheElder
962a7b492b
in pkg/proxy, merge proxy_provider.go and service_port_name.go to types.go
2015-08-07 21:10:34 -04:00
BenTheElder
1f6baa6549
Move userspace code to sub-package in proxy.
...
Moves the userspace code in proxy to a sub-package and adds the
ProxyProvider interface.
This is in preparation for landing an implementation of
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760 , which
will mostly be in another sub package for iptables.
2015-08-07 20:07:15 -04:00
Satnam Singh
c3b72dd0e0
Merge pull request #12416 from BenTheElder/iptables_save_restore
...
Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
2015-08-07 16:37:20 -07:00
BenTheElder
5867fca8bf
Fix iptables Interface mocking, move Restore/RestoreAll to shared impl
...
also put TODO for unit tests, move defer file deletion until after file
creation error is checked.
2015-08-07 19:08:21 -04:00
Satnam Singh
b071857c0f
Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam
...
Kubectl describe command accepts a filename param
2015-08-07 15:23:57 -07:00
Satnam Singh
4ece39ac20
Merge pull request #9452 from yifan-gu/img_pulling
...
kubelet: Add 'image pulling' event. Refactor dockerManager.createPodInfraContainer()
2015-08-07 15:23:24 -07:00
CJ Cullen
5882c35e45
Use full URLs for GCE networks
2015-08-07 14:58:28 -07:00
Satnam Singh
bee48f4ce5
Merge pull request #12035 from AnanyaKumar/requests
...
Add support for request
2015-08-07 14:27:34 -07:00
Satnam Singh
950ec96db0
Merge pull request #12182 from AnanyaKumar/qos-node
...
Add QoS support on node
2015-08-07 14:27:02 -07:00
Kris Rousey
6e64a63a84
Adding a way to decode to a specified version.
...
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
BenTheElder
6b3906b07e
Add Save, SaveAll, Restore, RestoreAll to pkg/util/iptables
...
Adds utility wrappers for `iptables-save` and `iptables-restore` to the
iptables Interface in pkg/util/iptables. Also const’s command strings.
2015-08-07 16:55:14 -04:00
Brendan Burns
e42d6aa255
Add --restart support to kubectl run
2015-08-07 13:20:09 -07:00
Yifan Gu
053db8dba7
kubelet/dockertools: Refactor image pulling for pod infra container.
...
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07:00
Ananya Kumar
6ef3de1d5f
Add QoS support on node
2015-08-07 11:18:16 -07:00
Satnam Singh
fbb5ce6636
Merge pull request #10390 from mesosphere/non-unique-endpoint-ip
...
Don't wrongly identify endpoint addresses only due to equal IP
2015-08-07 11:08:29 -07:00
Satnam Singh
18dc230418
Merge pull request #10008 from hurf/age_all
...
Add age column for all resources when using 'kubect get'
2015-08-07 11:07:59 -07:00
Satnam Singh
9f9657d74e
Merge pull request #9646 from rajatchopra/status_hook
...
status hook for the container network
2015-08-07 11:07:19 -07:00
Yifan Gu
eb0fb43453
kubelet: Add image pulling event.
...
Since it takes a while (1-2mins) for kubelet to pulling a big image
(>500MB). Just showing "Pending" for pod status is not very helpful.
This commit introduces a "pulling" event, and inserts it before the
kubelet starts to pull an image.
2015-08-07 10:50:39 -07:00
Clayton Coleman
61c7beb51f
Add an Enqueue method to framework.Controller
...
Allows clients to requeue delta events in the event they
need to delay processing.
2015-08-07 13:21:49 -04:00
Jerzy Szczepkowski
acefdc9daf
Merge pull request #12355 from derekwaynecarr/test_events_ns
...
Event test client may or may not be namespaced
2015-08-07 15:26:52 +02:00
hurf
e450c3b771
Add age column for all resources when using kubect get
...
Dispaly human readable creation time like age column do in `kubectl
get po` for all resources.
2015-08-07 21:18:30 +08:00
Jerzy Szczepkowski
bb49fdabdc
Merge pull request #12268 from wojtek-t/create_watch_cache
...
Implement watchCache structure.
2015-08-07 12:59:03 +02:00
Jerzy Szczepkowski
372508cfbb
Merge pull request #12117 from davidwalter0/wip
...
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
Marcin Wielgus
91584c6b3b
Experimental Scale subresource
2015-08-07 12:00:42 +02:00
feihujiang
90f4c79bb9
kubectl port-forward accept a pod without -p
2015-08-07 17:21:59 +08:00
dinghaiyang
dab7280ae4
Improve clarity around PodFitsResource by showing pods limits in `kubectl describe node`
2015-08-07 16:58:11 +08:00
feihjiang
2ca200f087
Kubectl describe command accepts a filename param
2015-08-07 16:28:51 +08:00
Dr. Stefan Schimanski
79e54c2679
Add unit tests for RepackSubsets to take pod UID into consideration
2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski
55daf3b80e
Don't wrongly identify endpoint addresses only due to equal IP
...
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
Wojciech Tyczynski
52e3af4e93
Implement watchCache structure.
2015-08-07 08:29:17 +02:00
Brendan Burns
9ac50b4980
Add interactive run that combines run and attach.
2015-08-06 20:20:14 -07:00
David Walter
792fc2269b
change underscores to dashes to match the command line argument
2015-08-06 22:13:44 -05:00
Sam Abed
e7dcec075a
show LastTerminationState in kubectl describe pod
...
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-08-07 11:45:20 +10:00
wulonghui
b50e736184
Add NodeInternalIP for Node's Addresses when cloud provider is nil
2015-08-07 09:08:56 +08:00
Eric Paris
7cbb52ce04
Use the pflag StringSlice instead of implementing it ourselves
...
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Dawn Chen
122d76a2ef
Merge pull request #11820 from liggitt/reuse_round_tripper
...
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Dawn Chen
7a95f71aeb
Merge pull request #11801 from AnanyaKumar/daemon-api
...
Add Daemon API
2015-08-06 15:57:17 -07:00
Rajat Chopra
1ce6d80a89
ipv6 test
2015-08-06 15:46:05 -07:00
Rajat Chopra
58a742e667
status hook for the container network
2015-08-06 15:46:04 -07:00
Jordan Liggitt
5ec4909610
Reuse round tripper for identical TLS configurations
2015-08-06 17:51:31 -04:00
AnanyaKumar
d9b85652ae
Add Daemon API
2015-08-06 13:15:19 -07:00
Dawn Chen
9f495e7f69
Merge pull request #12277 from gmarek/node_delete
...
Correctly handle Node deletion in NodeController
2015-08-06 13:02:44 -07:00
Dawn Chen
c1c03bb4ca
Merge pull request #12139 from kargakis/avoid-reallocs-in-index
...
cache: Avoid reallocs in Index
2015-08-06 13:00:02 -07:00
derekwaynecarr
72be244383
Event test client may or may not be namespaced
2015-08-06 15:22:52 -04:00
Dawn Chen
536313c82c
Merge pull request #9472 from deads2k/expose-name-validation
...
expose common name validation methods
2015-08-06 10:51:51 -07:00
Dawn Chen
5175bb0b91
Merge pull request #10608 from stefwalter/proxy-unix-socket
...
kubectl: Add proxy --unix-socket=/file/path option
2015-08-06 10:47:19 -07:00
gmarek
819777e9e8
Correctly handle Node deletion in NodeController
2015-08-06 15:17:44 +02:00
Wojciech Tyczynski
fcc78cd0f3
Fix head
2015-08-06 13:57:23 +02:00
Wojciech Tyczynski
29aaf1a4d2
Merge pull request #12168 from brendandburns/stdin2
...
Support Stdin and TTY in the kubelet
2015-08-06 13:45:59 +02:00
Wojciech Tyczynski
79684af47b
Merge pull request #12241 from uluyol/clientexp
...
Add experimental client
2015-08-06 13:43:06 +02:00
Stef Walter
f6da3fdbe1
kubectl: Add proxy --unix-socket=/file/path option
...
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.
We make sure the socket starts its life only accessible by the
current user using Umask.
This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Stef Walter
cd30bd6167
util: Add util.Umask wrapper
...
This function compiles to a stub on Windows.
2015-08-06 11:39:29 +02:00
Wojciech Tyczynski
871ca7a05f
Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
...
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Wojciech Tyczynski
20e84d2eb1
Remove unused members
2015-08-06 09:00:42 +02:00
Brendan Burns
901a04a3d6
Add support for interactive contaienrs to the kubelet
2015-08-05 22:14:56 -07:00
Mike Danese
8326697055
rewrite all links to prs to k8s links
2015-08-05 21:11:11 -07:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -07:00
Ananya Kumar
ef1e576810
Add support for request
2015-08-05 19:00:19 -07:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Alex Mohr
8d5fd8fbc2
Merge pull request #12259 from alex-mohr/kubectl
...
Fix kubectl updateWithRetries to have 1 minute timeout instead of 500 ms
2015-08-05 16:48:16 -07:00
Dawn Chen
ad3876c16a
Merge pull request #12271 from pweil-/expose-codec
...
expose codec in storage
2015-08-05 15:48:48 -07:00
Dawn Chen
3fe0fafdc5
Merge pull request #12288 from jgriffiths1993/hf-12287
...
Fix creating external load balancer in OpenStack - IP Assignment (#12287 )
2015-08-05 15:45:57 -07:00
Joshua Griffiths
950bc8401b
Check for nil, not unspecified
2015-08-05 18:28:25 +01:00
kargakis
95a27394cc
cache: Avoid reallocs in Index
2015-08-05 16:59:08 +02:00
Paul Weil
2a61b55b59
expose codec in storage
2015-08-05 09:39:24 -04:00
hurf
33fb6170f9
Use TYPE instead of RESOURCE in help string
...
For commands in kubectl, use TYPE in help string.
2015-08-05 16:34:48 +08:00
Alex Mohr
37418afe8f
Fix kubectl updateWithRetries to have 1 minute timeout instead of 500 ms
...
Fixes #12258
2015-08-05 01:18:17 -07:00
Alex Mohr
159ba48932
Merge pull request #12238 from eparis/godeps
...
Auto commit by PR queue bot
2015-08-05 01:06:11 -07:00
Alex Mohr
75bf16f259
Merge pull request #9594 from manansaraf/name_error_issue
...
Auto commit by PR queue bot
2015-08-05 00:24:42 -07:00
Alex Mohr
c29c8414e1
Merge pull request #8607 from liggitt/serviceaccount_groups
...
Add groups to service account user.Info
2015-08-04 22:22:18 -07:00
Muhammed Uluyol
35f64961a8
Add experimental client
2015-08-04 18:44:17 -07:00
Alex Mohr
0e8020f9bb
Merge pull request #11779 from JanetKuo/add-kubectl-annotation
...
Auto commit by PR queue bot
2015-08-04 18:28:12 -07:00
Eric Paris
a29789d60e
Switch from to code.google.com/p/go-uuid/uuid to github.com/pborman/uuid
2015-08-04 20:13:07 -04:00
Eric Paris
b4fb24f4bd
Move from code.google.com to google.golang.org for google-api-go-client
2015-08-04 20:08:55 -04:00
Alex Mohr
e17aafa7dd
Merge pull request #11679 from bprashanth/haproxy
...
Auto commit by PR queue bot
2015-08-04 15:35:44 -07:00
Alex Mohr
b90663924b
Merge pull request #12146 from deads2k/tweak-testclient
...
make testclient more precise
2015-08-04 14:49:11 -07:00
Manan Saraf
b2ebfeef25
Fixed empty name error and also changed tests
2015-08-04 14:09:42 -07:00
Alex Mohr
366b382901
Merge pull request #10200 from caesarxuchao/resthandler-validate-version
...
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
7eade1c2ce
Merge pull request #11184 from caesarxuchao/patch-replace-doc
...
Auto commit by PR queue bot
2015-08-04 11:18:39 -07:00
deads2k
182885e897
make testclient more precise
2015-08-04 13:35:59 -04:00
Jordan Liggitt
709c2c8885
Add groups to service account JWT
2015-08-04 13:03:31 -04:00
Joshua Griffiths
c911df6b46
Pass SubnetID to vips.Create()
2015-08-04 14:51:22 +01:00
gmarek
2201e75666
NodeController small cleanup
2015-08-04 14:44:14 +02:00
Prashanth Balasubramanian
81d91b1f05
Bare metal loadblancers
2015-08-03 21:35:24 -07:00
Alex Mohr
867f9b22c5
Merge pull request #12119 from brendandburns/fix
...
Auto commit by PR queue bot
2015-08-03 20:47:42 -07:00
Alex Mohr
3d2d99c6fd
Merge pull request #12007 from brendandburns/stdin
...
Auto commit by PR queue bot
2015-08-03 19:28:16 -07:00
Alex Mohr
2e72cdb722
Merge pull request #12173 from ArtfulCoder/udp_timeout
...
Auto commit by PR queue bot
2015-08-03 18:48:39 -07:00
Chao Xu
17cd3cf392
direct people to api-reference/definitions.html to find out if a field is mutable through kubectl replace/patch
2015-08-03 18:18:00 -07:00
Alex Mohr
7ac6c50b9d
Merge pull request #12094 from brendandburns/kubectl
...
Auto commit by PR queue bot
2015-08-03 17:09:06 -07:00
Alex Mohr
6d16c18d6f
Merge pull request #12078 from gmarek/move_nodecontroller
...
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Abhishek Shah
4bbecea4e6
Changed udpIdleTimeout to 1 second from 10 seconds
2015-08-03 15:32:59 -07:00
Chao Xu
664d20c572
Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
...
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Alex Mohr
d8b01b0a19
Merge pull request #12114 from caesarxuchao/update-pod-error-message
...
improve the error message of update/patch pod
2015-08-03 15:15:04 -07:00
Janet Kuo
7e63213478
Implement kubectl annotation update command. Refactor kubectl annotate to decouple command framework from business logic.
2015-08-03 14:35:56 -07:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
Mike Danese
b73c53c37d
Merge pull request #11363 from feihujiang/fixDeleteCommandWrongDescription
...
Correct kubectl delete's wrong synopsis
2015-08-03 07:36:52 -07:00
gmarek
4e772738ca
Emit event when NodeController is evicting Pods.
2015-08-03 10:19:51 +02:00
feihujiang
fa68de4fcf
Correct kubectl delete's wrong synopsis
2015-08-03 13:58:23 +08:00
Chao Xu
18d32751fd
improve the error message of update pod
2015-08-02 13:41:53 -07:00
Brendan Burns
7ad8307926
Set some default values and add some additional comments for clarity.
2015-07-31 22:00:30 -07:00
Brendan Burns
51757f6552
Add parameters for interactive containers. Useful with kubectl attach.
2015-07-31 21:41:58 -07:00
Mike Danese
3ae00e2775
Merge pull request #12108 from pmorie/type-descriptions
...
Remove description tag from internal API types
2015-07-31 18:30:02 -07:00
Mike Danese
12b9da8f3d
Merge pull request #9976 from smarterclayton/nsenter_mount_broken
...
Fix mount issues in containerized Kubelet
2015-07-31 17:15:28 -07:00
Mike Danese
20129b0adf
Merge pull request #12028 from cjcullen/kl2
...
Make gce.ExternalID() use metadata server when requesting current external ID
2015-07-31 15:43:58 -07:00
Mike Danese
cf4cb1a6a3
Merge pull request #10474 from kargakis/scale-multiple-controllers
...
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
Mike Danese
ad90c92693
Merge pull request #12042 from cjcullen/retry
...
Make gce operation polling more robust.
2015-07-31 14:50:37 -07:00
Paul Morie
5cfab10c1e
Remove description tag from internal API types
2015-07-31 17:17:53 -04:00
Mike Danese
f3c4b7f7ac
Merge pull request #12016 from hurf/shortcut
...
Better help message for get and describe
2015-07-31 13:53:02 -07:00
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
CJ Cullen
a4c64a5829
Make gce.ExternalID() use metadata server when requesting current external ID
...
Use the already computed instanceID instance of looking it up again.
2015-07-31 12:01:45 -07:00
Mike Danese
739fc1a572
Merge pull request #11914 from nikhiljindal/missingSwagger
...
Swagger validation: stop ignoring unknown fields
2015-07-31 10:42:18 -07:00
Brendan Burns
c9bc1456ff
Add session affinity flags to kubectl expose
2015-07-31 10:34:52 -07:00
Mike Danese
7a1d4477db
Merge pull request #12029 from iterion/use-external-id-for-routes
...
Use external id when reconciling routes
2015-07-31 10:23:11 -07:00
Mike Danese
0269e2baad
Merge pull request #11941 from GoogleCloudPlatform/enact_version_md
...
Enacting versioning.md
2015-07-31 10:17:22 -07:00
Mike Danese
e58ea24d0b
Merge pull request #12001 from uluyol/os-exp-hack
...
Add (stopgap) support for an experimental API prefix.
2015-07-31 10:15:06 -07:00
CJ Cullen
983748b2e2
Make gce operation polling more robust.
...
Only fail the operation if we cannot poll it 3 consecutive times.
2015-07-31 10:08:41 -07:00
Brendan Burns
c752bc6ffb
Merge pull request #11738 from daizuozhuo/master
...
JSONPath template language
2015-07-31 09:48:47 -07:00
Adam Sunderland
75674e7f4b
Fetch AWS PrivateDNSName for route recon
2015-07-31 10:57:38 -05:00
Jerzy Szczepkowski
ff058a1afe
Merge pull request #11376 from jiangyaoguo/new-builder-cleaner-in-volume
...
Refactor awsElasticBlockStore to seperate builder and cleaner
2015-07-31 12:57:43 +02:00
Jerzy Szczepkowski
64a68afadb
Merge pull request #10341 from feihujiang/removeDuplicateSource
...
Remove the duplicate source (filename) in error message
2015-07-31 12:57:22 +02:00
Jerzy Szczepkowski
95072f2ee2
Merge pull request #10701 from feihujiang/outputTheSameErrorUsingDescribeForNonexist
...
Output the same error when using kubectl describe for a nonexisting resource
2015-07-31 12:56:58 +02:00
kargakis
0e796ca09a
Enable scaling multiple controllers
2015-07-31 10:24:59 +02:00
hurf
029ed15be5
Better help message for get and describe
...
Add tips for shortcut ns and ep.
2015-07-31 15:15:51 +08:00
Piotr Szczesniak
41de62b465
Merge pull request #12022 from piosz/cadvisor
...
Update cadvisor dependency
2015-07-31 05:56:36 +02:00
feihujiang
4553e410d3
Remove the duplicate source (filename) in error message
2015-07-31 10:20:45 +08:00
feihujiang
fc31543460
Output the same error when using kubectl describe for a nonexisting resource
2015-07-31 09:56:02 +08:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
a3cb57f48d
Merge pull request #12033 from smarterclayton/conversions_2
...
Revert conversion reversion with fixed tests
2015-07-30 13:53:32 -07:00
Mike Danese
9582c7e54e
Merge pull request #12024 from a-robinson/metadata
...
Support passing a header to the manifest URL in the kubelet.
2015-07-30 13:46:22 -07:00
Brendan Burns
97cb1cd071
Add support for attach to kubectl
2015-07-30 12:56:18 -07:00
Clayton Coleman
532e1ca20c
Update generator tests to passing
2015-07-30 15:15:28 -04:00
Clayton Coleman
0f9fdcafea
Revert "Revert "Improve conversion to support multiple packages""
...
This reverts commit 94a387d5d1
.
2015-07-30 15:15:14 -04:00
deads2k
c5ef83b29b
relativize paths in kubeconfig files
2015-07-30 14:57:38 -04:00
deads2k
55f574c267
switch kubeconfig types to internal map[string]*struct
2015-07-30 14:57:38 -04:00
Mike Danese
dd3195084d
Merge pull request #11992 from pmorie/nodecontroller-now
...
Accurately report ts used to make decisions in node-controller.go
2015-07-30 11:18:06 -07:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Mike Danese
94a387d5d1
Revert "Improve conversion to support multiple packages"
2015-07-30 10:51:40 -07:00
Alex Robinson
a9f0c4683f
Limit the logging from kubelet attempting to read its manifest URL.
...
Without this, it logs an error every 20 seconds if nothing is at the
provided URL.
2015-07-30 17:47:33 +00:00
Alex Robinson
cf011cad55
Support passing a header to the manifest URL in the kubelet.
...
Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
2015-07-30 17:11:27 +00:00
Mike Danese
1a613c43fe
Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
...
Improve conversion to support multiple packages
2015-07-30 10:05:10 -07:00
Mike Danese
0ae48c449e
Merge pull request #11927 from wojtek-t/remove_shell_services
...
Remove shell services test
2015-07-30 09:56:38 -07:00
Mike Danese
1ae4a94257
Merge pull request #11949 from justinsb/golang_switch_type_autocast
...
Cleanup #11029 to use go autocast-after-type-switch
2015-07-30 09:54:33 -07:00
Mike Danese
aca1eb6184
Merge pull request #11983 from caesarxuchao/11854
...
downgrade errors returned by watchHandler in reflector.go to warnnings
2015-07-30 08:20:05 -07:00
Piotr Szczesniak
7e305c43f0
Set maxHousekeepingInterval to 15 seconds.
2015-07-30 16:44:45 +02:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
nikhiljindal
8cdd403d9d
stricter swagger validation
2015-07-29 22:25:09 -07:00
jiangyaoguo
8eeda24652
new builder and cleaner type for aws-ebs
2015-07-30 10:23:38 +08:00
Mike Danese
618416baeb
Merge pull request #10783 from mikedanese/make-test-client-threadsafe
...
make testclient threadsafe by guarding internal state with accessors
2015-07-29 17:05:37 -07:00
Mike Danese
5dff0496aa
Merge pull request #9384 from pmorie/emptydir-nonroot
...
Support emptydir volumes for containers running as non-root
2015-07-29 16:43:44 -07:00
Mike Danese
1b84fb7d74
make testclient threadsafe by guarding internal state with accessors
2015-07-29 16:17:17 -07:00
jayunit100
3b295ee342
Fix maxTimes comment to clarify infinity waits and add a PollInfinite function.
2015-07-29 19:04:51 -04:00
Mike Danese
85781b674d
Merge pull request #11968 from brendandburns/flow
...
Optionally limit flow on all upgraded proxy connections
2015-07-29 16:00:43 -07:00
Mike Danese
82227c4fbd
Merge pull request #11973 from hurf/deprecate_stop
...
Deprecate kubectl stop command
2015-07-29 15:47:59 -07:00
Mike Danese
c1d4e557df
Merge pull request #11990 from jayunit100/rcname
...
Rename getPodControllers to getPodController .
2015-07-29 15:47:34 -07:00
Paul Morie
5394aa979f
Make emptyDir volumes work for non-root UIDs
2015-07-29 18:36:51 -04:00
Mike Danese
59611d7160
Merge pull request #10426 from csrwng/api_versioned_options
...
API Server: Use versioned objects for GET and CONNECT operations
2015-07-29 15:35:04 -07:00
jayunit100
53ee37959b
Rename getPodControllers to getPodController so that the truncate/ignore of overlapping RCs is clear
2015-07-29 18:17:40 -04:00
Brendan Burns
63cf00d24f
Merge pull request #10424 from markturansky/readonly_fix
...
Auto commit by PR queue bot
2015-07-29 14:25:44 -07:00
Paul Morie
1ff8964c20
Accurately report ts used to make decisions in node-controller.go
2015-07-29 17:11:19 -04:00
Clayton Coleman
1d41f5ac75
Update generated conversions
2015-07-29 17:07:14 -04:00
Clayton Coleman
487fe2d116
Update deep copies
2015-07-29 17:06:55 -04:00
Clayton Coleman
732647ea97
Improve conversion to support multiple packages
...
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Brendan Burns
99b02bfe73
Add optional throttling to the proxy/exec/attach methods
2015-07-29 13:51:20 -07:00
Mike Danese
8ab8d90b52
Merge pull request #11925 from deads2k/multi-index
...
support multiple index values for a single object
2015-07-29 13:12:08 -07:00
Mike Danese
f40b970bd9
Merge pull request #11987 from markturansky/recyc_fix
...
Fixed newRecycler func for HostPath & NFS
2015-07-29 13:11:08 -07:00
markturansky
e8289ceb9d
rebased and updated
2015-07-29 14:48:06 -04:00
markturansky
8639f24374
rebased and updated
2015-07-29 14:38:40 -04:00
markturansky
920cb34b1e
rebased and updated to latest
2015-07-29 14:38:40 -04:00
markturansky
63ccfa2beb
Added unit tests for each PV using IsReadOnly
2015-07-29 14:38:40 -04:00
markturansky
fae6759490
IsReadOnly bool on builder
2015-07-29 14:35:37 -04:00
markturansky
124bb22f92
Honor ReadOnly flag from persistent-volume plugin
2015-07-29 14:34:15 -04:00
Mike Danese
33888ba804
Merge pull request #11575 from jiangyaoguo/new-builder-cleaner-for-host-path
...
Refactor host_path volume to seperate builder and cleaner
2015-07-29 11:24:09 -07:00
Mike Danese
bed0e1e1b0
Merge pull request #11915 from AnanyaKumar/controller-refactor
...
Refactor package controller
2015-07-29 11:20:14 -07:00
Mike Danese
daa6d4dde6
Merge pull request #11285 from liggitt/ca
...
Use self-signed cert as CA for local-up-cluster.sh
2015-07-29 11:13:23 -07:00
markturansky
649374ddb4
fixed newRecycler func for HostPath & NFS
2015-07-29 14:13:05 -04:00
Mike Danese
f51c27e6f3
Merge pull request #10837 from ncdc/fix-9119
...
Deflake TestRequestExecuteRemoteCommand
2015-07-29 10:55:13 -07:00
Mike Danese
ff18190ac5
Merge pull request #11892 from wingedkiwi/master
...
SSH tunnels fallback to LegacyHostIP
2015-07-29 10:38:45 -07:00
Mike Danese
f18b09963e
Merge pull request #11766 from deads2k/kubelet-prefers-ipv4
...
make kubelet prefer ipv4 address if available
2015-07-29 10:33:23 -07:00
Chao Xu
3b11705a99
downgrade errors returned by watchHandler in reflector.go to warnnings
2015-07-29 10:32:48 -07:00
Mike Danese
2ccfad1670
Merge pull request #11911 from uluyol/fix-doc-deepcopy
...
Update documentation for deep copy functions
2015-07-29 10:28:41 -07:00
Ananya Kumar
47dd0bc6f9
Refactor package controller
2015-07-29 09:54:35 -07:00
Mike Danese
60ac834563
Merge pull request #10652 from JanetKuo/kubectl-o-name
...
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
Mike Danese
e5c31da2ff
Merge pull request #11878 from wojtek-t/refactor_etcd_watcher
...
Factor out etcdWatcher and rename methods in StorageInterface
2015-07-29 09:44:02 -07:00
Mike Danese
8472615be6
Merge pull request #11918 from brendandburns/kubelet
...
Add support for Attach to the kubelet.
2015-07-29 09:39:29 -07:00
deads2k
9386db8c99
support multiple index values for a single object
2015-07-29 07:54:09 -04:00
hurf
35cac3c4e7
Deprecate kubectl stop command
...
Added deprecation warning for stop.
2015-07-29 17:19:18 +08:00
Wojciech Tyczynski
7ce51db40d
Rename StorageInterface methods
2015-07-29 08:02:13 +02:00
Wojciech Tyczynski
db5f6eae6c
Factor out etcdWatcher to a separate file
2015-07-29 08:02:13 +02:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
deads2k
2c06f11052
make kubelet prefer ipv4 address if available
2015-07-28 15:45:57 -04:00
Zach Loafman
4363f14e77
Enacting versioning.md
...
This PR changes how we version going forward in the following ways:
* mark-new-version.sh is changed to a new policy of just splitting
branches, rather than the old backmerge policy, as discussed in
vX.Y.0, and a tag for vX.(Y+1).0-alpha.0 back to master.
* I eliminated PRs back to master by making the version/base.go
gitVersion and gitCommit just be `export-subst`. I testing that this
works with GitHub's source export tarballs. There's no reason to
bother with forcing the version into `base.go` (especially twice). The
tarball versions outside a git tree aren't perfect (master looks like
"v0.0.0+hash", and the release branches look more accurate), but our
build contract has never allowed that version is perfect in this
situation, so I think we can relax this.
* That master tag gets picked up by "git describe" on master, so e.g.
master would have immediately become v1.1.0-alpha.0
* In order to be more semVer compatible, the gitVersion field for the
master branch now looks something like 1.1.0-alpha.0.6+84c76d1142ea4d.
This is a tiny translation of the "git describe". I did this because
there are a ton of consumers out there of the "gitVersion" field
expecting it to be the full version, but it would be nice if this
field were actually semver compliant. (1.1.0-alpha.0-6-84c76d1142ea4d
is, but it's not *usefully* so.)
Fixes #11495
2015-07-28 11:58:44 -07:00
Cesar Wong
a84fa79a01
Use versioned objects for GET and CONNECT operations
2015-07-28 13:43:23 -04:00
Justin Santa Barbara
edd21d1e7a
Cleanup #11029 to use go autocast-after-type-switch
...
(thanks to brendandburns for the suggestion)
2015-07-28 12:10:31 -04:00
Wojciech Tyczynski
b69ef7b5ca
Remove shell services test
2015-07-28 17:14:18 +02:00
Chi Vinh Le
d91932f0b7
SSH tunnels fallback to LegacyHostIP
2015-07-28 10:10:48 +02:00
Brendan Burns
64be76c14d
Add support for Attach to the kubelet.
...
This is a pre-cursor to supporting 'kubectl attach ...' and 'kubectl run -it ...'
2015-07-27 21:48:55 -07:00
Dai Zuozhuo
949704af2c
jsonpath template
2015-07-28 10:17:56 +08:00
Daniel Smith
c5bffaaf31
Merge pull request #11903 from mikedanese/renamers
...
rename StoreToControllerLister -> StoreToReplicationControllerLister
2015-07-27 17:33:05 -07:00
Muhammed Uluyol
ab83ad2e4b
Update documentation for deep copy functions
2015-07-27 16:47:41 -07:00
Daniel Smith
226c950bda
Merge pull request #11409 from pmorie/secrets-bc-type
...
Refactor secrets volume plugin to separate builder and cleaner types
2015-07-27 16:22:58 -07:00
Daniel Smith
8d5a6b063c
Merge pull request #11029 from justinsb/fix_aws_security_group_races
...
AWS: Fix security group races
2015-07-27 16:15:43 -07:00
Daniel Smith
6c36f0dfa4
Merge pull request #11891 from a-robinson/lb
...
Add a resync period for services in the service controller
2015-07-27 16:15:03 -07:00
Daniel Smith
b1e6b87a5f
Merge pull request #11829 from markturansky/validate_access_modes
...
Add validation for AccessModes
2015-07-27 16:14:38 -07:00
Mike Danese
d167fa27e0
rename StoreToControllerLister -> StoreToReplicationControllerLister to make room for more controllers
2015-07-27 16:13:47 -07:00
Daniel Smith
11899c3080
Merge pull request #11465 from pmorie/git-bc-type
...
Refactor git repo volume to separate builder and cleaner
2015-07-27 16:11:01 -07:00
Paul Morie
918925e09d
Refactor git repo volume to separate builder and cleaner
2015-07-27 18:18:41 -04:00
Paul Morie
20ba173913
Refactor secrets volume plugin to separate builder and cleaner types
2015-07-27 18:13:39 -04:00
Daniel Smith
2bd53119b1
Merge pull request #10524 from bprashanth/delete_overlapping_error
...
Add clarity around overlapping controllers
2015-07-27 14:31:49 -07:00
Daniel Smith
3900272c1a
Merge pull request #10813 from jlowdermilk/kubectl-e2e
...
`kubectl proxy` supports picking random unused port, add e2e test
2015-07-27 14:23:37 -07:00
Janet Kuo
0e42d0699a
Add '-o name' to mutations
2015-07-27 14:06:53 -07:00
Alex Robinson
60611c253e
Add a resync period for services in the service controller.
...
This should ensure all load balancers get deleted even if a reordering of
watch events causes us to strand one after its service has been deleted,
because the sync will notice that the service controller's cache has a
service in it that no longer exists in the apiserver.
It could still leak in the case that the controller manager is killed
between when it leaks something and the sync runs, but this should
improve things.
2015-07-27 18:03:13 +00:00
markturansky
e380242b16
Changed pdManager to ebsManager
2015-07-27 13:52:04 -04:00
markturansky
98ec116f3f
Improved internal naming from 'pd' to 'ebs' to match the volume
2015-07-27 13:52:04 -04:00