Commit Graph

4131 Commits

Author SHA1 Message Date
Fabiano Franz
9ddacfa25f Mark filename flags for completions 2016-04-01 16:14:36 -03:00
AdoHe
1b305ee3bd update kubelet cluster-dns doc 2016-04-01 11:34:34 -04:00
David McMahon
d7c80befaf Clarify labeling states on proposed cherrypicks.
Sync the examples with the scripts usage so we don't need to update this
doc with every new branch.

Supporting updates to docs/devel/pull-requests.md#release-notes.
2016-03-31 19:02:25 -07:00
k8s-merge-robot
07929972a3 Merge pull request #18835 from brendandburns/3rdparty
Automatic merge from submit-queue

Add support for 3rd party objects to kubectl

@deads2k @jlowdermilk

Instructions for playing around with this:

Run an apiserver with third party resources turned on (`--runtime-config=extensions/v1beta1=true,extensions/v1beta1/thirdpartyresources=true`)

Then you should be able to:

```
kubectl create -f rsrc.json
```

```json
{
  "metadata": {
    "name": "foo.company.com"
  },
  "apiVersion": "extensions/v1beta1",
  "kind": "ThirdPartyResource",
  "versions": [
    {
      "apiGroup": "group",
      "name": "v1"
    },
    {
      "apiGroup": "group",
      "name": "v2"
    }
  ]
}
```

Once that is done, you should be able to:

```
curl http://<server>/apis/company.com/v1/foos
```

```
curl -X POST -d @${HOME}/foo.json http://localhost:8080/apis/company.com/v1/namespaces/default/foos
```

```json
{
  "kind": "Foo",
  "apiVersion": "company.com/v1",
  "metadata": {
    "name": "baz"
  },
  "someField": "hello world",
  "otherField": 1
}
```

After this PR, you can do:

```
kubectl create -f foo.json
```

```
kubectl get foos
```

etc.
2016-03-31 18:09:56 -07:00
Chao Xu
49559a3332 Generate the typed clients under the clientset folder 2016-03-31 15:28:45 -07:00
Brendan Burns
be6c5b332b Add third party support to kubectl 2016-03-31 10:53:32 -07:00
Alex Robinson
62f03b108b Fix the link for unlabeled issues in the build cop guide. 2016-03-30 18:46:37 -07:00
k8s-merge-robot
2ac788b492 Merge pull request #23315 from david-mcmahon/relnotes-proposal
Automatic merge from submit-queue

Release Notes proposal

Get the conversation started.
cc @eparis @vishh @davidopp @thockin @dchen1107 
Ref #23070
2016-03-30 12:53:55 -07:00
k8s-merge-robot
be8ce6c385 Merge pull request #23353 from spiffxp/conformance-docs
Automatic merge from submit-queue

Update conformance test policy

Addresses #14913

/cc @kubernetes/sig-testing
2016-03-30 06:21:13 -07:00
k8s-merge-robot
6226cbe6ca Merge pull request #23308 from yifan-gu/rkt_bump
Automatic merge from submit-queue

rkt: bump rkt version to 1.2.1

Upon bumping the rkt version, `--hostname` is supported. Also we now gets the configs from the rkt api service, so `stage1-image` is deprecated. 

cc @yujuhong @Random-Liu
2016-03-30 05:42:58 -07:00
k8s-merge-robot
9b6e4aa9b4 Merge pull request #23116 from metral/recursive-visit
Automatic merge from submit-queue

allow kubectl cmds to process files recursively, when given a dir

This PR accomplishes two things:

1. It creates a `--recursive` flag for use with certain `kubectl` commands that _currently_ do not process files beyond their first level of children, as seen in the issue https://github.com/kubernetes/kubernetes/issues/19767
2. It enables the ability to use the `--recursive` flag in the `kubectl` commands that currently _only_ support processing a directory up to its first level of children.
2016-03-30 05:07:47 -07:00
David McMahon
f18600f86c Release notes collection proposal. 2016-03-29 13:50:19 -07:00
k8s-merge-robot
fb5181a596 Merge pull request #23500 from tam7t/tls-sni-routing
Auto commit by PR queue bot
2016-03-29 07:16:22 -07:00
Tommy Murphy
4d22c2fd6a IngressTLS: allow secretName to be blank for SNI routing 2016-03-28 21:25:54 -04:00
Yifan Gu
e817d1e26f *.*: Run hack/update-all.sh, Run hack/update-generated-docs.sh 2016-03-28 17:06:14 -07:00
Dawn Chen
c47f74a470 Merge pull request #23348 from pwittrock/docs
Update docs to reflect `kubectl run` creates deployments by default i…
2016-03-28 17:03:47 -07:00
Phillip Wittrock
4d2f3c1c17 Update docs to reflect kubectl run creates deployments by default instead of replicatino controllers. 2016-03-28 16:25:02 -07:00
Mike Metral
7403878ac0 allow kubectl cmd to process dirs recursively
reqs:
    - the kubectl cmd must support the -f | --filename flag
    - the kubectl cmd must support visiting a dir one level deep,
    or using more than one resource
2016-03-28 12:44:21 -07:00
k8s-merge-robot
e01feae75a Merge pull request #23453 from luxas/kubectl_sa_shorthand
Auto commit by PR queue bot
2016-03-28 07:29:57 -07:00
Lucas Käldström
2928d0a8ec Up to golang 1.6 2016-03-27 17:17:04 +03:00
k8s-merge-robot
2205a30348 Merge pull request #23368 from saad-ali/renameBuilderCleaner
Auto commit by PR queue bot
2016-03-26 13:01:25 -07:00
Lucas Käldström
3507bf814f Add sa as a shorthand for serviceaccounts 2016-03-25 23:28:52 +02:00
saadali
79012f6d53 Rename volume.Builder to Mounter and volume.Cleaner to Unmounter 2016-03-25 11:29:58 -07:00
Chao Xu
31b425b3a1 add delete precondition 2016-03-25 11:21:39 -07:00
Brian Grant
48ba29f680 Merge pull request #23356 from david-mcmahon/delete
Update references for known issues back to CHANGELOG.md (release notes).
2016-03-25 06:58:18 -07:00
k8s-merge-robot
b8e390a0f3 Merge pull request #22824 from brendandburns/enable
Auto commit by PR queue bot
2016-03-24 22:26:39 -07:00
David McMahon
5f693f97a1 Add a Release Notes section.
Also fix up markdown headers and add a TOC.
Ref: #23409
2016-03-24 16:23:17 -07:00
David McMahon
e687aa38bf Update references for known issues back to CHANGELOG.md (release notes). 2016-03-24 15:27:54 -07:00
David McMahon
eebfc1efed Merge pull request #23345 from david-mcmahon/cherry-picks-doc
Update the cherry-pick guide to guide based on new batching method.
2016-03-24 13:18:07 -07:00
David McMahon
1b8554647c Update the cherry-pick guide to guide based on new batching method. 2016-03-23 16:30:32 -07:00
nikhiljindal
bc6d3ab1b7 Updating documentation 2016-03-23 13:19:22 -07:00
nikhiljindal
1cccfc7074 Disabling swagger ui by default. Adding a flag to enable it 2016-03-23 13:19:22 -07:00
Aaron Crickenberger
d794b86d34 Fix typo 2016-03-23 12:14:54 -07:00
k8s-merge-robot
2f89867821 Merge pull request #23305 from janetkuo/update-kubectl-help
Auto commit by PR queue bot
2016-03-22 19:17:45 -07:00
Aaron Crickenberger
d8d785f244 Update versioning per supported releases policy 2016-03-22 15:36:27 -07:00
Brendan Burns
87a1635c93 Machine generated stuff 2016-03-22 14:41:37 -07:00
Janet Kuo
e93b855242 Update kubectl help for 1.2 resources 2016-03-22 14:14:35 -07:00
Marc Lough
b6252cb9fc Update generated docs 2016-03-22 20:55:55 +00:00
Aaron Crickenberger
9182fbf8f2 Run hack/update-generated-docs.sh 2016-03-22 13:48:31 -07:00
Aaron Crickenberger
0dc1f5da04 Update conformance test policy
Mostly doc updates and cruft removal

- describe conformance test policy and howto in e2e-tests.md
- rm e2e test info from testing.md in the name of DRY
- rm cluster/test-conformance.sh; unusable in release tar, not e2e.go
- update e2e test link in write-a-getting-started-guide.md
2016-03-22 13:09:31 -07:00
k8s-merge-robot
2906d25204 Merge pull request #23080 from nikhiljindal/apiRefDoc
Auto commit by PR queue bot
2016-03-21 14:58:03 -07:00
k8s-merge-robot
5c90a1d212 Merge pull request #23219 from david-mcmahon/cherry-picks
Auto commit by PR queue bot
2016-03-21 09:19:19 -07:00
k8s-merge-robot
b56252e338 Merge pull request #23161 from thockin/drain-help-typo
Auto commit by PR queue bot
2016-03-19 22:44:54 -07:00
Tim Hockin
1e5ce735fc Fix typo in help for kubectl drain 2016-03-19 20:42:51 -07:00
AdoHe
57534eaec9 update expose command description to add deployment 2016-03-19 13:51:21 -04:00
Madhusudan.C.S
67b70d7c89 Add a Deployment example for kubectl expose. 2016-03-18 17:05:49 -07:00
David McMahon
4432d2271b Update with release-1.2. 2016-03-18 15:20:45 -07:00
David McMahon
73449887c9 Updated for v1.2.0. 2016-03-18 14:20:56 -07:00
k8s-merge-robot
78adb885c4 Merge pull request #23143 from vishh/23113
Auto commit by PR queue bot
2016-03-17 17:59:25 -07:00
David McMahon
98de58dd28 Merge pull request #19424 from david-mcmahon/versioning
Add section on branched patch releases
2016-03-17 16:21:39 -07:00
Vishnu kannan
516559022c 1. Make kubelet default to 10ms for CPU quota if limit < 10m for
backwards compat.
2. Update documentation to reflect minimum CPU limits.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-17 13:30:06 -07:00
k8s-merge-robot
a7f1466556 Merge pull request #19577 from caesarxuchao/expose-swagger-for-discovery-types
Auto commit by PR queue bot
2016-03-17 12:50:17 -07:00
k8s-merge-robot
e3049d6e69 Merge pull request #22600 from smarterclayton/protoproposal
Auto commit by PR queue bot
2016-03-17 00:02:54 -07:00
Clayton Coleman
95cf60be23 Proposal for introducing Protobuf serialization 2016-03-16 22:15:29 -04:00
nikhiljindal
2f6991cf38 Add a README for api-reference docs and link to it instead of linking to swagger-ui 2016-03-16 15:47:30 -07:00
k8s-merge-robot
5044c7690b Merge pull request #23015 from eparis/typo
Auto commit by PR queue bot
2016-03-15 16:56:29 -07:00
Chao Xu
051865adb7 run update-all.sh 2016-03-15 16:44:06 -07:00
David McMahon
81c133e5f0 Add section on branched patch releases.
Some minor formatting changes.
Add semver.org reference to file.

Ref #19849
2016-03-15 15:40:18 -07:00
yeasy
592be0921f Remove duplicated words 2016-03-15 18:39:47 -04:00
Chao Xu
9bdd30fdf1 make fullyLabeledReplicas optional in rc and rs status 2016-03-15 15:10:55 -07:00
k8s-merge-robot
536a30fe45 Merge pull request #19313 from quinton-hoole/2015-01-05-ube-design-docs
Auto commit by PR queue bot
2016-03-14 22:25:28 -07:00
Chao Xu
039986abb0 generating 2016-03-14 14:59:39 -07:00
Michail Kargakis
7b3d1b370f docs: pod affinity proposal fix 2016-03-12 12:53:11 +01:00
Chao Xu
a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08:00
Brian Grant
b7984b2fa7 Merge pull request #22862 from jlowdermilk/typo
fix typo in kubectl run help string
2016-03-11 12:26:48 -08:00
Brian Grant
3defbc6680 Merge pull request #22410 from nikhiljindal/apiReferenceFlag
Deprecating --api-version flag
2016-03-11 12:14:43 -08:00
Brian Grant
532ba5a3c6 Merge pull request #21535 from AdoHe/restore_secure_etcd
restore ability to run against secured etcd
2016-03-11 12:14:06 -08:00
nikhiljindal
593b78f925 Deprecating --api-version flag 2016-03-11 10:12:44 -08:00
Jeff Lowdermilk
627615c870 fix typo in kubectl run help string 2016-03-11 10:11:14 -08:00
Brian Grant
1c50f1831c Merge pull request #22849 from soltysh/issue22836
Added api discovery to kubectl run, based on which we decide which generators to use
2016-03-11 09:04:12 -08:00
AdoHe
7228b9b987 restore ability to run against secured etcd 2016-03-11 11:21:16 -05:00
Maciej Szulik
f27871e60d Added api discovery to kubectl run, based on which we decide which generators to use 2016-03-11 16:59:14 +01:00
k8s-merge-robot
4ee7424a7a Merge pull request #22624 from fejta/testing
Auto commit by PR queue bot
2016-03-11 02:57:10 -08:00
Erick Fejta
df29612092 Address thockin nits 2016-03-11 02:06:05 -08:00
Brian Grant
54e97c7755 Merge pull request #22757 from jayunit100/fix-liveness
Concurrent liveness test to gaurantee test finishes in 2 minutes with…
2016-03-10 23:46:39 -08:00
David McMahon
9f62a2b196 Merge pull request #22732 from david-mcmahon/releasing.md
Update the section on jenkins changes for a new branch.
2016-03-10 17:50:19 -08:00
k8s-merge-robot
5b00059fd2 Merge pull request #22762 from soltysh/job_run
Auto commit by PR queue bot
2016-03-10 13:22:29 -08:00
Maciej Szulik
de83631768 Added job/v1 generator to kubectl run 2016-03-10 19:56:57 +01:00
David McMahon
aedc7c4942 Update the section on jenkins changes for a new branch.
This reflects the actual state of things at the moment.
There is quite a bit of assumed knowledge here in a rapidly changing
(test) environment.

referencing #22672.
2016-03-10 10:33:26 -08:00
derekwaynecarr
26de7a7df5 Comment that godep versions 54 or above do not play nice with Kubernetes 2016-03-10 13:12:53 -05:00
Madhusudan.C.S
fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
jay vyas
61102b5ac7 Concurrent liveness test to gaurantee test finishes in 2 minutes with meaningfull results 2016-03-09 16:55:07 -05:00
David McMahon
dae84f5306 Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
Eric Paris
ca40c5dccb Fix docs README.md links to kubernetes.github.io
kubernetes.github.io uses index not README for it's base dir. So we were
linking to the wrong place.
2016-03-08 10:07:41 -05:00
Maciej Szulik
178f8310f6 Updated kubectl convetions with information about describing empty fields 2016-03-07 13:31:19 +01:00
Erick Fejta
aaa51d0bb2 Add conventions 2016-03-06 19:50:31 -08:00
Erick Fejta
fd4fee788b Add simplified testing instructions and etcd installation check. 2016-03-06 19:07:34 -08:00
mdshuai
56e6a752c3 Update configmaps doc charaters error 2016-03-07 10:58:27 +08:00
Lucas Käldström
2c99a6e2a0 Add some info about binary downloads 2016-03-06 23:07:51 +02:00
k8s-merge-robot
bc295857db Merge pull request #22285 from AdoHe/fix_service_export
Auto commit by PR queue bot
2016-03-06 10:06:22 -08:00
k8s-merge-robot
e5a908c898 Merge pull request #22476 from ixdy/cluster-logs
Auto commit by PR queue bot
2016-03-05 23:06:29 -08:00
AdoHe
5fdfc4bde3 fix can not export service bug 2016-03-05 11:23:50 -05:00
k8s-merge-robot
2808973503 Merge pull request #22038 from mqliang/daemonset-cache
Auto commit by PR queue bot
2016-03-05 03:38:55 -08:00
k8s-merge-robot
3994e5f725 Merge pull request #22519 from rutsky/patch-5
Auto commit by PR queue bot
2016-03-05 01:25:42 -08:00
k8s-merge-robot
83d1383edd Merge pull request #22562 from jpiccari/master
Auto commit by PR queue bot
2016-03-04 17:39:09 -08:00
Brian Grant
2e5d89523f Merge pull request #22490 from eparis/kill-docs
Remove all docs which are moving to http://kubernetes.github.io
2016-03-04 16:25:37 -08:00
k8s-merge-robot
a435537e27 Merge pull request #21966 from madhusudancs/scale-deployment-replicaset
Auto commit by PR queue bot
2016-03-04 14:40:10 -08:00
Joshua Piccari
01e2d8c115 Fix typo in developer guide README.md 2016-03-04 14:36:37 -08:00
Madhusudan.C.S
fa0794098f Define etcd storage methods for replicationcontrollers/scale subresource.
Also register replicationcontrollers/scale subresource. Along with
registering the resource, also specify the cross-group override for the
subresource since Scale belongs belongs to autoscaling/v1 but
ReplicationController belongs to api/v1.
2016-03-04 11:02:37 -08:00
Madhusudan.C.S
9e99f9fa0e Register scale subresource for Deployments and ReplicaSets.
Define etcd registry methods for scale subresource in Deployments and
ReplicaSets. Register them with the API server.
2016-03-04 11:01:36 -08:00