Commit Graph

6708 Commits (ce6f2c8e4b79f3cacbf23dc5f7958630a8947317)

Author SHA1 Message Date
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
Mike Danese ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese 5c6f4f5906 Merge pull request #10024 from deads2k/name-reflectors
add originator to reflector logging
2015-07-24 10:23:34 -07:00
Mike Danese 8b990263e9 Merge pull request #11057 from liggitt/close_body
Close resp.Body before returning error
2015-07-24 09:57:23 -07:00
Mike Danese 18466bfc4f Merge pull request #10563 from rootfs/rbd-fencing
rbd mount fencing
2015-07-24 09:53:31 -07:00
Mike Danese 81b3329c82 Merge pull request #10753 from samsabed/envvars
Print env vars in kubectl describe pod
2015-07-24 09:52:51 -07:00
Mike Danese d6796ecd38 Merge pull request #11333 from deads2k/passthrough-errors
pass along status errors for upgrades
2015-07-24 09:49:34 -07:00
Mike Danese 823e5d45c3 Merge pull request #10841 from liggitt/delete_all
Default --ignore-not-found to true for delete --all
2015-07-24 09:26:35 -07:00
Huamin Chen fa8a2ef81d fencing off multiple rbd mount
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-07-24 11:49:32 -04:00
Mike Danese fab2c80281 Merge pull request #10062 from ironcladlou/update-acceptor
Rolling updater configurability enhancements
2015-07-24 08:48:48 -07:00
Mike Danese db179e4cf4 Merge pull request #10346 from jhadvig/comment_fix
Fix NewNotFound method name in comments
2015-07-24 08:08:57 -07:00
Mike Danese 816586bcef Merge pull request #10866 from jlowdermilk/kubectl-create-f
kubectl resource builder: don't check extension for single files
2015-07-24 08:03:43 -07:00
Mike Danese 7a60a7c264 Merge pull request #11773 from jayunit100/etc-comment
Update comments to remove etcd specificity and minion term
2015-07-24 08:00:21 -07:00
Jordan Liggitt 5893f1c5b6 Use self-signed cert as CA for local-up-cluster.sh 2015-07-24 07:16:07 -07:00
Dan Mace d044208b38 Rolling updater enhancements
Add an UpdateAcceptor interface to the rolling updater which supports
injecting code to validate the first replica during scale-up. If the
replica is not accepted, the deployment fails. This facilitates canary
checking so that many broken replicas aren't rolled out during an update.

Make the rolling update scale amount configurable as a percent of the replica
count; a negative value changes the scale direction to down/up to support
in-place deployments.
2015-07-24 08:53:50 -04:00
Jerzy Szczepkowski 291acd1a09 Merge pull request #10708 from soltysh/notin_operator
Fixed notin operator in labels' selectors comments.
2015-07-24 12:28:33 +02:00
jiangyaoguo ce52ae782d refector iscsi volume to seperate builder and cleaner 2015-07-24 16:55:56 +08:00
jiangyaoguo 27524d6b36 refector gec-pd to seperate builder and cleaner 2015-07-24 16:15:37 +08:00
Wojciech Tyczynski 98d598693b Order methods in EtcdHelper 2015-07-24 09:28:02 +02:00
Wojciech Tyczynski fdb3f45077 Extract EtcdHelper interface 2015-07-24 09:28:02 +02:00
Sam Abed 2fe650dcee print env vars in kubectl describe pod
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-07-24 14:31:17 +10:00
Vish Kannan b4626a1635 Merge pull request #11303 from liggitt/token_ca
Add CA data to service account token secrets if missing or different
2015-07-23 18:10:35 -07:00
Jordan Liggitt 85fd52126d Default --ignore-not-found to true for delete --all 2015-07-23 18:08:15 -07:00
Vish Kannan 1a908a272e Merge pull request #11076 from nikhiljindal/apiError
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Vish Kannan 0a715a72f1 Merge pull request #10464 from jiangyaoguo/reflector-in-proxy
replace Reflector in kube-proxy
2015-07-23 18:01:29 -07:00
Vish Kannan 3d1e40bca2 Merge pull request #11171 from markturansky/list_index_keys
Added ability to list index keys
2015-07-23 17:52:11 -07:00
Vish Kannan 2a5a6b99cb Merge pull request #10635 from smarterclayton/cloud_provider_should_err
Cloud provider should return an error
2015-07-23 17:50:45 -07:00
Prashanth B 90a2b7d91e Merge pull request #9413 from lavalamp/serviceFix
Don't allow services to get stuck on an intermediate bad state
2015-07-23 17:46:41 -07:00
Tim Hockin 1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan 7017f5dc85 Merge pull request #11759 from bprashanth/flushing_proxy
Periodically flush the reverse proxy
2015-07-23 17:09:03 -07:00
Vish Kannan dba914268c Merge pull request #10901 from nikhiljindal/swagger-ui
Updating swagger-ui to the latest version
2015-07-23 17:06:59 -07:00
Vish Kannan 136d53466a Merge pull request #10892 from nikhiljindal/beta1
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
Daniel Smith 15d50f4211 Fix part of #9382 2015-07-23 15:48:45 -07:00
Prashanth Balasubramanian 8c27609382 Periodically flush the reverse proxy. 2015-07-23 15:41:58 -07:00
Vish Kannan cc326c714b Merge pull request #11561 from saad-ali/issue11231
Fix GCE PD attach/detach issues
2015-07-23 14:53:45 -07:00
jayunit100 6ca376fd12 Update comments to remove etcd specificity and minion / list term. 2015-07-23 17:41:44 -04:00
saadali 234f3ed814 Make GCE PD attach block on pending detach. Retry on detach/attach errors. 2015-07-23 14:03:50 -07:00
Vish Kannan d09d121b6c Merge pull request #11572 from jiangyaoguo/new-builder-cleaner-for-nfs
Refactor nfs volume to seperate builder and cleaner
2015-07-23 13:54:46 -07:00
Andy Goldstein 9e97e4d38b Deflake remote command execution test 2015-07-23 16:54:10 -04:00
Vish Kannan 94bed5a426 Merge pull request #11739 from jiangyaoguo/new-builder-cleaner-for-glusterfs
Refector glusterfs volume to seperate builder and cleaner
2015-07-23 13:17:22 -07:00
Tim Hockin c4b707192d Remove deprecated 'se' resource alias 2015-07-23 12:04:01 -07:00
Casey D aeb7dc6b30 Allow specification of network plugins directory when starting kubelet 2015-07-23 11:21:39 -07:00
Vish Kannan ce62d35e20 Merge pull request #11735 from thockin/cleanup-volumes-legacy-mode
Remove volumes legacy mode
2015-07-23 10:53:44 -07:00
Jordan Liggitt c0bbdeda22 Add CA data to service account tokens if missing or different 2015-07-23 10:46:13 -07:00
Jordan Liggitt 39a5e1b929 Close resp.Body before returning error 2015-07-23 10:45:55 -07:00
Vish Kannan b9e974b2cf Merge pull request #11313 from thockin/rest-shortcut-for-ns
Add an 'ns' shortcut, tidy capital letters
2015-07-23 10:14:33 -07:00
Wojciech Tyczynski bff2e01994 Merge pull request #11731 from smarterclayton/better_error
Update the error message to be idiomatic
2015-07-23 16:09:24 +02:00
markturansky e5a4b75421 Added ability to get generated values of an index func 2015-07-23 10:00:04 -04:00
Wojciech Tyczynski 2a5dce1b1b Merge pull request #11112 from markturansky/label_fix
Added formatLabel to pvclaims
2015-07-23 15:33:31 +02:00
Marcin Wielgus 866bd7b4e5 Dump stdin to a temporary file in kubectl replace --force 2015-07-23 15:22:23 +02:00
Wojciech Tyczynski 6524cd5e2a Merge pull request #11562 from MikaelCluseau/master
realContainerGC reports warning when err is nil
2015-07-23 13:39:24 +02:00
Wojciech Tyczynski 4799d169bc Merge pull request #11705 from mikedanese/test-fix
fix unit test breakage by adding seed method to util/rand
2015-07-23 12:58:56 +02:00
Wojciech Tyczynski 6580464ff1 Merge pull request #11577 from wojtek-t/etcd_helper_interface
Prepare for extracting EtcdHelper interface
2015-07-23 10:33:33 +02:00
Wojciech Tyczynski fbed3492bf Merge pull request #11553 from pkern/patch-1
pkg/client/doc.go: update example to make it compile
2015-07-23 10:01:32 +02:00
Wojciech Tyczynski ee92aa3897 Prepare for extracting EtcdHelper interface 2015-07-23 09:37:39 +02:00
kargakis 4fcb4b7f8d Handle aliases in comma-separated args 2015-07-23 09:32:33 +02:00
jiangyaoguo 8bb0ae9f89 refector glusterfs volume to seperate builder and cleaner 2015-07-23 15:07:40 +08:00
Tim Hockin 6eda8f47df Remove volumes legacy mode 2015-07-22 21:53:35 -07:00
Clayton Coleman f5d040ec31 Update the error message to be idiomatic
Trim trailing newline (since this is likely to show up in a CLI)
2015-07-22 22:38:24 -04:00
Vish Kannan 5f79267b97 Merge pull request #10484 from markturansky/vol_iscsi_export
Changed ISCSI plugin name from exported to private
2015-07-22 17:07:15 -07:00
Vish Kannan 2e3841efc5 Merge pull request #10485 from markturansky/volume_rbd_export
Changed RBD Volume plugin name from exported to private
2015-07-22 17:02:55 -07:00
Vish Kannan 4421b3dfdd Merge pull request #10821 from jimmidyson/gc-container-volumes
Fixes #10803: Delete Docker container volumes on GC
2015-07-22 16:02:03 -07:00
Mike Danese fdb5cefae7 fix unit test breakage by adding seed method to util/rand 2015-07-22 15:01:51 -07:00
Mike Danese a558edf036 Revert "Revert "Move rand string func to util for reuse""
This reverts commit acebe24bf3.
2015-07-22 15:01:28 -07:00
Paul Morie 1df80e3a6a Make copy_test.go failures easier to debug 2015-07-22 13:11:10 -04:00
Philipp Kern fbbc49df30 pkg/client/doc.go: update example to make it compile
The client example does not compile (double pointer to config, missing
import, List() returning two values); fix it.
2015-07-20 23:27:08 +02:00
jiangyaoguo 612f68f820 reflector nfs volume to seperate builder and cleaner 2015-07-20 19:16:48 +08:00
jiangyaoguo 63560f385c refector host_path volume to seperate builder and cleaner 2015-07-20 17:23:04 +08:00
Mikaël Cluseau aff10f57bb realContainerGC reports warning when err is nil 2015-07-20 14:11:52 +11:00
Alex Robinson b0351ff266 Detect if UpdateTCPLoadBalancer left its GCE target pool in an incorrect state. 2015-07-17 19:01:21 +00:00
nikhiljindal c849730116 Fixing the error message 2015-07-16 23:33:16 -07:00
Brian Grant 5540917094 Merge pull request #11366 from davidopp/doc1
Move docs/services-firewalls.md into docs/user-guide/ and make small
2015-07-16 22:48:13 -07:00
Brian Grant cb58e8e43b Merge pull request #11350 from thockin/munge-check-kubectl-dash-f
Add munger to verify kubectl -f targets
2015-07-16 22:46:37 -07:00
Brian Grant 5978d50a3e Merge pull request #11397 from nikhiljindal/kubectlExpose
Updating kubectl expose to leave service port unnamed
2015-07-16 22:41:38 -07:00
nikhiljindal 496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
Max Forbes 7a3891e5f8 Add ServiceAccount as an alias for ServiceAccountName 2015-07-16 15:48:49 -07:00
Tim Hockin f7512d007b Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
David Oppenheimer fd2c3695e3 Move docs/services-firewalls.md into docs/user-guide/ and make small
wording changes to api.md
2015-07-16 13:21:14 -07:00
nikhiljindal 1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Eric Tune d7a0bb4020 Merge pull request #11258 from nikhiljindal/dupNickname
Add namespace to swagger nicknames to prevent duplicate nicknames
2015-07-15 16:42:59 -07:00
Eric Tune ef0b68da52 Merge pull request #11250 from brendandburns/monitor
Add monitoring and healthz based on tunnel health.
2015-07-15 15:00:17 -07:00
Eric Tune 2e848ed707 Merge pull request #10585 from caesarxuchao/fix-alias
Add boundary check before accessing os.Args[1]
2015-07-15 15:00:09 -07:00
Alex Robinson e943c47e68 Fix issue of comparing instance URLs with different project ID representations
in GCE target pools.
2015-07-15 21:24:45 +00:00
deads2k 98d6b454f3 pass along status errors for upgrades 2015-07-15 15:53:29 -04:00
Tim Hockin 30697aeef2 Add an 'ns' shortcut, tidy capital letters 2015-07-15 11:31:29 -07:00
Tim Hockin fe89298c09 Fix load-balancer firewall messages 2015-07-14 21:07:46 -07:00
hurf 4f9c486308 Fix hits in help strings of kubectl get command
Removed duplicated 'nodes (no)', added 'secret' for resource type.
Use actual long resource name to avoid confusion.
2015-07-15 09:43:51 +08:00
Brendan Burns 25d3834b74 Add monitoring and healthz based on tunnel health. 2015-07-14 14:37:38 -07:00
nikhiljindal dda71bdc7b Add namespace to nickname to prevent dup swagger nicknames 2015-07-14 13:41:13 -07:00
Eric Tune 0b597aaf66 Merge pull request #11239 from mikedanese/user-docs-move
Move user docs to docs/user-guide/
2015-07-14 12:40:23 -07:00
Mike Danese 2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
hurf 6dd8a1dfa4 Add a better help message for kubectl describe
When resource type isn't given in the command, print the possible
resource types. Also added the resource type description in help
strings.
2015-07-14 16:22:42 +08:00
Tim Hockin 2d8c9d6c5e Merge pull request #10913 from feihujiang/fixSmallNitsForPortForwardCommand
Fix small nits for kubectl port-forward command
2015-07-13 12:55:34 -07:00
Brendan Burns 7620041ed4 Fix a small typo. 2015-07-13 09:38:40 -07:00
Zach Loafman ca21fca74a Fix TestRunExposeService
No longer emits "you will also need to explicitly open a firewall"
after #10974.

Fixes #11105
2015-07-13 06:48:58 -07:00
markturansky 4b601a80fe added formatLabel to pvclaims 2015-07-11 09:47:03 -04:00
Brendan Burns 9c84d0118f Revert "Versioning docs and examples for 1.0.0"
This reverts commit efe72fd580.
2015-07-10 21:03:27 -07:00
Brendan Burns fcb7c8c15d Kubernetes version v1.0.0-dev 2015-07-10 21:02:31 -07:00
Brendan Burns cd821444dc Kubernetes version v1.0.0 2015-07-10 21:01:34 -07:00
Brendan Burns efe72fd580 Versioning docs and examples for 1.0.0 2015-07-10 21:00:33 -07:00
Rohit Jnagal d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00