Commit Graph

6617 Commits

Author SHA1 Message Date
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
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