Commit Graph

6708 Commits (e72c0428bd7c2e7db17a20bbe3d732215317c093)

Author SHA1 Message Date
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
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
deads2k d73faa8272 expose common name validation methods 2015-07-27 13:12:28 -04:00
Daniel Smith d63e35247f Merge pull request #11855 from davidopp/doc2
Fix link to node selector documentation.
2015-07-27 10:05:31 -07:00
markturansky 0a0af48e51 added validation for AccessModes 2015-07-27 13:02:16 -04:00
Jeff Lowdermilk f71a662dc6 Make `kubectl proxy` support picking a random port 2015-07-27 09:56:33 -07:00
Marek Grabowski 177a06af61 Merge pull request #11859 from jiangyaoguo/new-builder-cleaner-for-rbd-volume
Refector rbd volume to seperate builder and cleaner
2015-07-27 14:12:44 +02:00
Marek Grabowski 7b9e2ac63b Merge pull request #11734 from thockin/cleanup-deprecated-rest-alias
Remove deprecated 'se' resource alias
2015-07-27 12:56:43 +02:00
Marek Grabowski 7cc1855c27 Merge pull request #11806 from wojtek-t/private_etcd_helper
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski 00cd52dd68 Merge pull request #10656 from krousey/timeouts
Adding proper timeouts.
2015-07-27 10:56:58 +02:00
Wojciech Tyczynski 9d943df397 Private EtcdHelper 2015-07-27 09:20:13 +02:00
Justin Santa Barbara 23a190cd97 Fixes per review
Primarily go style issues; also a TODO that really exponential backoff
is the correct policy for API call retries.
2015-07-26 18:30:02 -04:00
Justin Santa Barbara 092d407a48 AWS: Fix race in security-group read/create
We need to find the ID for a named security group, or create a new one.

We do this by listing the security groups, and then doing a create if we
cannot find one.  This is a race though; against another thread if the
AWS API were consistent, but generally because the AWS API is actually
eventually consistent.

We wrap it in a retry loop.
2015-07-26 18:16:05 -04:00
Justin Santa Barbara d7bace23ff AWS: Fix race-condition in tagging of security group
When we create a security-group in the AWS API, there is sometimes
a delay before we can tag it (the AWS API is eventually consistent).

So we wrap CreateTags in a simple retry loop.
2015-07-26 18:16:05 -04:00
jiangyaoguo 72e899e1b5 refector rbd volume to seperate builder and cleaner 2015-07-26 01:11:25 +08:00
David Oppenheimer 2236fee028 Fix link to node selector documentation. 2015-07-24 23:04:59 -07:00
Chao Xu aa758e64f7 update the links in pkg/api/types.go 2015-07-24 18:08:05 -07:00
Chao Xu cbeed829b7 update the links in v1/types.go 2015-07-24 18:08:05 -07:00
Mike Danese eb3d6822d0 Merge pull request #10673 from stefwalter/proxy-split-hostport-without-port
kubectl: Handle splitting host:port when no port is present
2015-07-24 17:23:05 -07:00
Mike Danese c0acfbcd4b Merge pull request #11421 from nikhiljindal/exposeServcPort
Updating kubectl expose to extract ports from the service being cloned
2015-07-24 17:16:31 -07:00
Mike Danese cfe41dc061 Merge pull request #11729 from smarterclayton/make_exec_flexible
Exec should be easier to reuse as a command
2015-07-24 17:15:52 -07:00
Mike Danese 2c8f055ed8 Merge pull request #10631 from liggitt/service_account_describer
Fix service account describer
2015-07-24 15:24:24 -07:00
Mike Danese fd4a4ba990 Merge pull request #11252 from nikhiljindal/verDocs
Stop allowing unnamespaced POST for namespaced objects
2015-07-24 15:23:56 -07:00
nikhiljindal 242910e57c kubectl expose should extract ports from service 2015-07-24 15:17:48 -07:00
Clayton Coleman 0b5410f30f Exec should be easier to reuse as a command
We have a few use cases where we want to have shortcut commands
for common behavior. In these cases, we want to default commands
with a simpler syntax, so being able to reuse Exec from code but
not share the same arguments is useful.

In this case, we're introducing 'rsh' which tries to run exec -itp --
bash.
2015-07-24 18:14:28 -04:00
Mike Danese 4c52257be3 Merge pull request #11571 from kargakis/handle-aliases-in-comma-sep-args
Handle aliases in comma-separated args
2015-07-24 13:08:28 -07:00
Mike Danese 39a7fc3706 Merge pull request #11552 from jiangyaoguo/new-builder-cleaner-for-gce-pd
Refactor gec-pd to seperate builder and cleaner
2015-07-24 12:18:21 -07:00
Prashanth Balasubramanian f4fe40e2d1 Delete overlapping controllers, add clarity to docs 2015-07-24 12:13:26 -07:00
nikhiljindal 2f946b7aee Stop allowing unnamespaced POST for namespaced objects 2015-07-24 12:03:19 -07:00
Mike Danese a4a48f5849 Merge pull request #11802 from jiangyaoguo/new-builder-cleaner-for-iscis
Refector iscsi volume to seperate builder and cleaner
2015-07-24 11:27:36 -07:00
Mike Danese 52282b1a36 Merge pull request #11300 from mwielgus/kubectl_replace_tempfile
Dump stdin to a temporary file in kubectl replace --force
2015-07-24 11:23:25 -07:00
Mike Danese 15fcb84e0d Merge pull request #10743 from hurf/get_help_fix
Fix hits in help strings of kubectl get command
2015-07-24 11:09:48 -07:00
Mike Danese b51b4e740f Merge pull request #10639 from caseydavenport/master
Allow specification of a network plugins directory when starting kubelet
2015-07-24 11:09:11 -07:00
Mike Danese 859f440f74 Merge pull request #11666 from wojtek-t/refactor_etcd_helper
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00