Saad Ali
489e75e073
Merge pull request #12202 from daizuozhuo/kubectl
...
add jsonpath to kubectl
2015-08-20 14:31:45 -07:00
Saad Ali
5ec3c78190
Merge pull request #8366 from justinsb/idempotent_loadbalancer
...
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Mike Danese
a6d1b87336
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-20 13:58:03 -07:00
Paul Morie
1e7b510a14
Remove internal API descriptions
2015-08-20 16:21:47 -04:00
Yifan Gu
045a164362
kubelet/rkt: update image related interfaces.
...
Add RemoveImage(), ListImages().
Update PullImage(), IsImagePresent().
2015-08-20 11:16:18 -07:00
Saad Ali
50de5404dd
Merge pull request #12772 from smarterclayton/allow_nil_reflector
...
Allow a nil expectedType in cache.Reflector
2015-08-20 11:08:30 -07:00
Clayton Coleman
2aaf8bddc2
Update controllers and client to handle terminating pods
2015-08-20 11:04:39 -04:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
bf306d6598
Merge pull request #12622 from JanetKuo/kubectl-describe-rc-pod-volume
...
Describe volumes in rc and pod
2015-08-20 16:47:30 +02:00
Wojciech Tyczynski
44fa48e5af
Merge pull request #12635 from hurf/null_age
...
fix AGE error when resource has no creationTimeStamp
2015-08-20 13:09:41 +02:00
Wojciech Tyczynski
5931cc74cc
Unification refactoring to pkg/registry
2015-08-20 11:17:23 +02:00
Wojciech Tyczynski
e5735fdc7c
Merge pull request #12969 from wojtek-t/refactor_pod_etcd_tests
...
Small refactoring of registry pod tests.
2015-08-20 11:08:06 +02:00
Wojciech Tyczynski
3b3a706eef
Merge pull request #12792 from jszczepkowski/hpa-controller2
...
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02:00
Wojciech Tyczynski
d45e41a584
Small refactoring of registry pod tests.
2015-08-20 10:41:29 +02:00
Wojciech Tyczynski
62199f7cd3
Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
...
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00
Wojciech Tyczynski
ff8dbfe889
Merge pull request #12920 from jiangyaoguo/test-udp-timeout
...
Test UDP timeout
2015-08-20 09:34:10 +02:00
Wojciech Tyczynski
03413ddb4a
Merge pull request #12782 from wojtek-t/cacher_deadlock
...
Fix deadlock in the cacher
2015-08-20 08:27:15 +02:00
Wojciech Tyczynski
814e712f6b
Merge pull request #12929 from smarterclayton/node_controller_exit
...
Node controller did not handle an error
2015-08-20 08:26:25 +02:00
Jihoon Chung
837edf850d
Fix dup rule generation with older iptables
...
With older iptables binary, kube-proxy generates duplicate
iptables rules in NAT table every few seconds.
This fixes the problem by properly unquoting && parsing
older iptables-save output.
2015-08-20 14:24:35 +09:00
feihujiang
29dc7f6ec2
Make a change to visitor to allow it to accept an error, like Go's path walker
2015-08-20 10:57:28 +08:00
Dai Zuozhuo
85972c44a4
jsonpath user guide docs
2015-08-20 09:11:04 +08:00
Dai Zuozhuo
b61a905b19
add jsonpath to kubectl
2015-08-20 08:57:24 +08:00
Saad Ali
8a43bd621e
Merge pull request #12745 from eparis/even-less-dash-false-positive
...
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Saad Ali
49a569a457
Merge pull request #12675 from pweil-/dont-swallow-errors
...
don't swallow bad request errors
2015-08-19 17:01:51 -07:00
Saad Ali
f396a7116d
Merge pull request #12811 from mvdan/kubelet-restful
...
kubelet: Switch to restful for the REST api endpoints
2015-08-19 16:48:50 -07:00
Clayton Coleman
f1e4f652d0
Allow a nil expectedType in cache.Reflector
...
Reflector currently requires a hard type, which prevents
cache.Reflector from being used generically (like a client
command that uses the resource.Builder to get objects of
any type). Relaxing this restriction when expectedType is nil.
2015-08-19 18:30:37 -04:00
Saad Ali
14eadcccac
Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
...
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Saad Ali
082ea838c5
Merge pull request #12779 from Huawei-PaaS/issue/clean_govet_error
...
Clean the static check errors (Go vet)
2015-08-19 14:59:05 -07:00
Saad Ali
fb18b09306
Merge pull request #12885 from dchen1107/docker
...
Leave process 1 at root cgroup
2015-08-19 14:56:52 -07:00
Saad Ali
ecc6ce773b
Merge pull request #12847 from jszczepkowski/prefix-cleanup
...
Cleanup of api path creation in client tests.
2015-08-19 14:50:42 -07:00
Saad Ali
25dfc9932f
Merge pull request #12913 from gmarek/remove_healthcheck
...
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Vishnu Kannan
ec22c2dd82
Address comments.
2015-08-19 14:13:02 -07:00
Miciah Masters
8aa299da90
glog.Warning -> glog.Warningf
...
Fix three places where glog.Warning is used with a formatted string.
2015-08-19 16:22:28 -04:00
Saad Ali
d42864b0ad
Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
...
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
Saad Ali
c1a2c6dee7
Merge pull request #10713 from thockin/no-localhost-endpoints
...
Check loopback and link-local multicast endpoints
2015-08-19 12:48:33 -07:00
Saad Ali
b05cab0bc5
Merge pull request #6945 from eparis/IsMountPoint
...
Rename IsMountPoint to IsLikelyNotMountPoint
2015-08-19 12:47:51 -07:00
Yifan Gu
710c34a362
kubelet/rkt: Add support for fetching per container log.
2015-08-19 12:13:04 -07:00
Clayton Coleman
c1a40d803c
Node controller did not handle an error
...
This means if List() fails nodes are considered deleted (which is bad)
2015-08-19 12:54:41 -04:00
jiangyaoguo
5a95eb7326
Test UDP timeout
2015-08-19 21:50:43 +08:00
Piotr Szczesniak
fadb59067b
Merge pull request #12654 from gmarek/playground
...
Remove external function setting Kubelet flags
2015-08-19 15:48:55 +02:00
Jonathan Wills
80e799fc0c
Allow configuring the rkt binary in a kubelet with a flag.
...
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Piotr Szczesniak
86e0c386d7
Merge pull request #12875 from uluyol/fix-exp-client
...
Create an experimental client cache.
2015-08-19 15:02:07 +02:00
gmarek
33c894a6ae
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:35:43 +02:00
Wojciech Tyczynski
dcc302ab38
Refactoring of list etcd tests.
2015-08-19 13:56:23 +02:00
gmarek
3c907b33e1
Remove external function setting Kubelet flags
2015-08-19 13:20:41 +02:00
Lv Lv
7cf9ee19c7
add test for utsMode change
2015-08-19 16:56:19 +08:00
hurf
c20ed0344a
Enhance shortHumanDuration to handle more situation
...
Allow 2 seconds deviation of current time. For time more than 2
seconds from current time, output as '<invalid>'.
2015-08-19 16:34:15 +08:00
hurf
501594f8c7
fix AGE error when resource has no creationTimeStamp
...
If the resource doesn't contain creationTimeStamp, report AGE as
unknown. This usually happens when the resouces is created locally
or is not accually created at server side.
2015-08-19 16:08:36 +08:00
Jerzy Szczepkowski
f2e15fd538
Experimental client for horizontal pod autoscaler.
...
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Jerzy Szczepkowski
40b121b64c
Cleanup of api path creation in client tests.
...
Cleanup in client tests: use testapi.ResourcePathWithPrefix function instead of manually create api path.
2015-08-19 09:25:12 +02:00
Wojciech Tyczynski
90bf334fd1
Fix deadlock in the cacher
2015-08-19 08:17:25 +02:00
Jian Huang
c350d325e9
Solve Static Check Error
2015-08-19 13:38:56 +08:00
Lv Lv
0b90dfba3a
use host uts namespace when pod.Spec.HostNetwork is true
2015-08-19 13:02:10 +08:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Yifan Gu
69f796f234
kubelet: refactor kubecontainer.Pod, remove PodStatus from it.
2015-08-18 16:27:22 -07:00
Dawn Chen
8b3937c9bf
Leaving process 1 at root cgroup.
2015-08-18 16:21:28 -07:00
Dawn Chen
2339a7796f
Remove stale comment.
2015-08-18 16:07:15 -07:00
Yu-Ju Hong
0c84b837cf
kubelet: switch to using pod UID as the key in status manager
...
We chose to use podFullName (name_namespace) as key in the status manager
because mirror pod and static pod share the same status. This is no longer
needed because we do not store statuses for static pods anymore (we only
store statuses for their mirror pods). Also, reviously, a few fixes were
merged to ensure statuses are cleaned up so that a new pod with the same
name would not resuse an old status.
This change cleans up the code by using UID as key so that the code would
become less brittle.
2015-08-18 14:39:02 -07:00
Muhammed Uluyol
7c58f94edc
Create an experimental client cache.
...
Previously, we would initialize the experimental client at factory creation
time. This is problematic because the clientConfig loader has values populated
from the command-line flag parsing, and these are not populated until after
Factory creation. Introduce an ExperimentalClientCache to create (and reuse)
ExperimentalClients.
2015-08-18 14:25:38 -07:00
Janet Kuo
44a7a52a94
Hide failed/succeeded pods in 'kubectl get pods' by default
2015-08-18 13:47:19 -07:00
Ananya Kumar
4a148f99d6
Add client code
2015-08-18 12:58:50 -07:00
Ananya Kumar
b0679f18bc
Add registry code
2015-08-18 12:58:50 -07:00
Robert Bailey
5000252e46
Merge pull request #12669 from deads2k/tolerate-missing-template-flag
...
tolerate output without template file
2015-08-18 11:49:53 -07:00
Robert Bailey
6e94e44d9c
Merge pull request #12860 from nak3/exec-help
...
Modify kubectl exec help to set -c CONTAINER as optional
2015-08-18 11:48:26 -07:00
Robert Bailey
f93027031c
Merge pull request #12868 from mikedanese/fix-tag
...
tab => space in struct tag, to fix compatibility with reflect.StructTag.Get
2015-08-18 11:48:17 -07:00
Robert Bailey
11d5712278
Merge pull request #12736 from deads2k/relax-pull-secret-constraints
...
tolerate missing image pull secrets:
2015-08-18 11:48:01 -07:00
Daniel Martí
7862ed3656
kubelet: Switch to restful for the REST api endpoints
2015-08-18 11:28:34 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Kris Rousey
9cea046f42
Get the unversioned client to build
2015-08-18 10:03:19 -07:00
Kris Rousey
7ba5b058cc
Moving client libs to unversioned dir
2015-08-18 10:03:19 -07:00
Robert Bailey
4f856b595d
Merge pull request #9165 from smarterclayton/graceful
...
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Mike Danese
766e1c3a3e
tab => space, to fix compatibility with reflect.StructTag.Get
2015-08-18 09:49:05 -07:00
Robert Bailey
ca168ce285
Merge pull request #12262 from jgriffiths1993/hf-12261
...
Replace Port with NodePort for creating LB members
2015-08-18 09:14:30 -07:00
Robert Bailey
c45747bfad
Merge pull request #12764 from thockin/proxy-nodeports
...
More corner cases with iptables proxy
2015-08-18 09:13:20 -07:00
Kenjiro Nakayama
c50d7dd1d5
Modify kubectl exec help to set -c CONTAINER as optional
2015-08-18 23:14:24 +09:00
Filip Grzadkowski
8d74f610f7
Merge pull request #12659 from mwielgus/horizontal_status
...
HorizontalPodAutoscaler status
2015-08-18 15:30:01 +02:00
Clayton Coleman
5ddcef24a6
Fix failing test
2015-08-18 09:08:46 -04:00
Clayton Coleman
adc97bf936
Conversions
2015-08-18 09:08:45 -04:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
780accb3ba
Kubelet should garbage collect dead pods
...
The sync loop should check for terminated pods that are no longer
running and clear them. The status loop should never write status
if the pod UID changes. Mirror pods should be deleted immediately
rather than gracefully.
2015-08-18 09:08:44 -04:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
deads2k
969d526ca5
tolerate output without template file
2015-08-18 08:58:04 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Filip Grzadkowski
919c7e94e2
Merge pull request #12797 from wojtek-t/refactor_registry_test
...
Prepare for refactoring registry etcd tests
2015-08-18 12:56:45 +02:00
Marcin Wielgus
cac7038b3b
HorizontalPodAutoscaler status
2015-08-18 11:46:54 +02:00
Wojciech Tyczynski
6cea2c8940
Prepare for refactoring registry etcd tests
2015-08-18 09:53:23 +02:00
Wojciech Tyczynski
3a71eb1bcc
Store previous value in WatchCache for filtering
2015-08-18 09:33:34 +02:00
Tim Hockin
6f34be30a3
Limit float precision to 5 points
2015-08-17 20:57:44 -07:00
Tim Hockin
7e9c685ba6
Require same min iptables version as -C
2015-08-17 20:57:44 -07:00
Tim Hockin
3d309700d0
Make iptables use semver lib
2015-08-17 20:57:44 -07:00
Tim Hockin
3a5c23d727
test for and set bridge-nf-call-iptables sysctl
2015-08-17 20:57:44 -07:00
Tim Hockin
9cf33772b4
test for and set route_localnet sysctl
2015-08-17 20:52:06 -07:00
Tim Hockin
f1a48574a6
Clean up logging, make initial sync faster
2015-08-17 20:52:06 -07:00
Tim Hockin
d72892d0b0
Include protocol in the hash for chain names
2015-08-17 20:52:06 -07:00
Tim Hockin
731d5e5191
Clean up iptables rules, add nodeport support
2015-08-17 20:52:06 -07:00
Tim Hockin
d14c98f6cc
Add nodepoprt chain and link it in, add unused MASQ rule
2015-08-17 20:52:06 -07:00
Robert Bailey
736945faba
Merge pull request #12831 from thockin/nodeport-optional
...
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2
Make nodePort optional in v1 API
2015-08-17 15:44:37 -07:00
Robert Bailey
b937511e5e
Merge pull request #12798 from pmorie/bugs/10587
...
Fix issue 10587; update SecurityContext godoc
2015-08-17 13:53:39 -07:00
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