Commit Graph

298 Commits (84ad23d5e6f4f2b4cfab5bb1fe59582a6d91e5fb)

Author SHA1 Message Date
Kubernetes Submit Queue be848f2adc Merge pull request #26863 from luxas/multi_platform
Automatic merge from submit-queue

Add a multi-platform proposal

This is a proposal for the work I've done with multiarch Kubernetes. I've worked quite a lot on it and now I've written it down so others may easily use and learn from it, while at the same time pointing out issues that we should fix in the future.

I would like to get this in before `v1.3`.

Feel free to comment on it if it's something that's unclear.

@david-mcmahon @ixdy @mikedanese @Pensu @davidopp @bgrant0607 @dlorenc @eparis @vishh @thockin @dchen1107 @lavalamp
2016-08-30 05:40:39 -07:00
Lucas Käldström b033b25f64 Add a multiarch proposal 2016-08-30 14:39:51 +03:00
Rudi Chiarito b5464a970f Implement ExternalName in kube-dns 2016-08-23 00:55:47 -04:00
Kubernetes Submit Queue 9d2a5fe5e8 Merge pull request #29006 from jsafrane/dynprov2
Automatic merge from submit-queue

Implement dynamic provisioning (beta) of PersistentVolumes via StorageClass

Implemented according to PR #26908. There are several patches in this PR with one huge code regen inside.

* Please review the API changes (the first patch) carefully, sometimes I don't know what the code is doing...

* `PV.Spec.Class` and `PVC.Spec.Class` is not implemented, use annotation `volume.alpha.kubernetes.io/storage-class`

* See e2e test and integration test changes - Kubernetes won't provision a thing without explicit configuration of at least one `StorageClass` instance!

* Multiple provisioning volume plugins can coexist together, e.g. HostPath and AWS EBS. This is important for Gluster and RBD provisioners in #25026

* Contradicting the proposal, `claim.Selector` and `volume.alpha.kubernetes.io/storage-class` annotation are **not** mutually exclusive. They're both used for matching existing PVs. However, only `volume.alpha.kubernetes.io/storage-class` is used for provisioning, configuration of provisioning with `Selector` is left for (near) future.

* Documentation is missing. Can please someone write some while I am out?

For now, AWS volume plugin accepts classes with these parameters:

```
kind: StorageClass
metadata:
  name: slow
provisionerType: kubernetes.io/aws-ebs
provisionerParameters:
  type: io1
  zone: us-east-1d
  iopsPerGB: 10
```

* parameters are case-insensitive
* `type`: `io1`, `gp2`, `sc1`, `st1`. See AWS docs for details
* `iopsPerGB`: only for `io1` volumes. I/O operations per second per GiB. AWS volume plugin multiplies this with size of requested volume to compute IOPS of the volume and caps it at 20 000 IOPS (maximum supported by AWS, see AWS docs).
* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (`gp2` in the same zone as in 1.3).

GCE:

```
apiVersion: extensions/v1beta1
kind: StorageClass
metadata:
  name: slow
provisionerType: kubernetes.io/gce-pd
provisionerParameters:
  type: pd-standard
  zone: us-central1-a
```

* `type`: `pd-standard` or `pd-ssd`
* `zone`: GCE zone
* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (SSD in the same zone as in 1.3 ?).


No OpenStack/Cinder yet

@kubernetes/sig-storage
2016-08-18 09:56:16 -07:00
Kubernetes Submit Queue ff58d04a34 Merge pull request #30311 from derekwaynecarr/inode_eviction
Automatic merge from submit-queue

kubelet eviction on inode exhaustion

Add support for kubelet to monitor for inode exhaustion of either image or rootfs, and in response, attempt to reclaim node level resources and/or evict pods.
2016-08-18 09:17:06 -07:00
Jan Safranek f6fb99b2fd Provisioning documentation updates 2016-08-18 10:36:50 +02:00
Kubernetes Submit Queue 60b7f14500 Merge pull request #30511 from danwinship/network-policy-docs
Automatic merge from submit-queue

Remove incorrect docs about unset fields in NetworkPolicyPeer

While hammering out the semantics of not-present vs present-but-empty, we appear to have added incorrect clarifications to NetworkPolicyPeer, where the semantics of PodSelector not being present is supposed to be "do what NamespaceSelector" says, not "select no pods", and likewise with NamespaceSelector not being present.

I think it's clearest if we just don't say anything, since we already said "Exactly one of the following must be specified" above. Alternatively we could be redundant and say "(If not provided, then NamespaceSelector must be set.)" or something like that.

@caseydavenport @thockin
2016-08-17 23:24:49 -07:00
derekwaynecarr 52b4e8721b Document known issue for kubelet inode exhaustion 2016-08-17 16:57:44 -04:00
Tim Hockin 7b762fb34b Merge pull request #30623 from lixiaobing10051267/masterEtcd3
fix wrong path for all registries
2016-08-17 13:01:17 -07:00
lixiaobing10051267 3e6636502c fix wrong path for all registries 2016-08-15 22:23:39 +08:00
lixiaobing10051267 57797b8750 fix wrong path for all registries 2016-08-15 17:28:38 +08:00
Kubernetes Submit Queue 573ad7ac61 Merge pull request #29350 from ericchiang/kubectl-login-proposal
Automatic merge from submit-queue

docs/proposal: add proposal for kubectl login

This PR updates https://github.com/kubernetes/features/issues/32 and https://github.com/kubernetes/kubernetes/pull/25758 by adding a proposal for a "kubectl login" command.

It's a bit more involved than the implementation discussed with @deads2k in #25758, by proposing a long term goal for the overall subcommand.

cc @kubernetes/sig-auth @kubernetes/kubectl
2016-08-13 21:24:18 -07:00
Dan Winship c3f4f85889 Remove incorrect docs about unset fields in NetworkPolicyPeer 2016-08-12 11:26:07 -04:00
Kubernetes Submit Queue 019b4c0e8f Merge pull request #30003 from jlowdermilk/config-proposal
Automatic merge from submit-queue

component feature config proposal

This adds a proposal for a simple mechanism to pass runtime config to kube system components. Motivation is to have a consistent way to toggle new features that are not tied to an API group. Feedback appreciated

@mikedanese @lavalamp @kubernetes/sig-api-machinery @kubernetes/sig-cluster-lifecycle @kubernetes/sig-node

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30003)
<!-- Reviewable:end -->
2016-08-11 10:39:01 -07:00
Kubernetes Submit Queue cdfd46cc15 Merge pull request #30245 from ronnielai/container-gc
Automatic merge from submit-queue

Adding known issues



<!-- Reviewable:start -->
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30245)
<!-- Reviewable:end -->
2016-08-10 14:29:49 -07:00
Jeff Lowdermilk 81149ffe3b Component feature config design proposal 2016-08-08 21:04:28 -07:00
bindata-mockuser 47a414a2d6 Adding known issues 2016-08-08 15:10:48 -07:00
Kubernetes Submit Queue 66f9d66b56 Merge pull request #28501 from derekwaynecarr/inodes_percentage
Automatic merge from submit-queue

Allow expressing inodes in percentages for eviction

Per discussion here:
https://github.com/kubernetes/kubernetes/pull/28055#issuecomment-230078770

The amount of inodes per disk can vary, and our operators would prefer to express eviction in terms of percentage available.  So independent of a disk having 3.2M or 12M of total inodes, its more convenient to just express eviction as saying if available inodes falls below 10 or 5 percent of total capacity then trigger an action.

/cc @vishh @ronnielai @kubernetes/rh-cluster-infra @twiest @kubernetes/sig-node
2016-08-08 15:07:21 -07:00
derekwaynecarr 7b1e7b9ae6 Allow expressing evictions as percentage or literal values 2016-08-08 15:40:29 -04:00
Eric Tune 6f0bc85205 Merge pull request #27129 from erictune/imgprov
Added image-policy proposal
2016-08-05 15:13:58 -07:00
Eric Tune 9d59ae547f Added image-provenance proposal 2016-08-05 12:50:37 -07:00
Kubernetes Submit Queue 13f376c9af Merge pull request #30155 from euank/clarify-container-lifecycle
Automatic merge from submit-queue

docs: Detail possible transitions in CRI

Right now the document doesn't make it clear that transitions are unidirectional and a exited container won't be restarted, but replaced by a fresh copy.

cc @yujuhong @feiskyer @kubernetes/sig-node
2016-08-05 12:41:31 -07:00
Euan Kemp bad07dd06f docs: Detail possible transitions in CRI 2016-08-05 11:22:28 -07:00
Kubernetes Submit Queue d8d9c6c423 Merge pull request #29583 from dubstack/implementation_status
Automatic merge from submit-queue

Update the Pod Resource Management Proposal with Implementation status

This is tied to the upstream issue #27204 for adding pod level cgroups into Kubernetes.

@vishh @derekwaynecarr @Random-Liu  PTAL.
2016-08-05 08:06:47 -07:00
Buddha Prakash 6880f448a1 Add implementation status 2016-08-04 15:14:53 -07:00
Eric Chiang 5a89b84a08 docs/proposal: add proposal for kubectl login 2016-08-04 13:15:40 -07:00
Eric Tune 87cba77e34 ScheduledJob: proposal updates 2016-08-04 07:29:06 -07:00
Kubernetes Submit Queue 52559696e9 Merge pull request #29879 from timstclair/aa-design
Automatic merge from submit-queue

Update the AppArmor design proposal

3 modifications to the original AppArmor design proposal:

1. Remove the pod-level AppArmor profile specification, since it was unnecessary complexity. I think the typical multi-container case is a main app, some side-cars (e.g. log helpers), and maybe some init containers. All of those containers are likely to have very different permissions needs, so I do not see benefit to the pod-level profile. If there is sufficient demand (i.e. user feedback) for this feature we can add it back.
2. Added a proposal for the beta (and GA) API. Beginning the discussion of this API now will smooth the transition from alpha, and guide the implementation of the internal API.
3. [EDIT] The profile deployment pod will poll the source directories for changes. This change is motivated by the fact that DaemonSets must run with RestartAlways.

/cc @bgrant0607 @erictune @pmorie @pweil-
2016-08-02 23:36:35 -07:00
Kubernetes Submit Queue a3f7797019 Merge pull request #28902 from ibm-contribs/fix_allow_all
Automatic merge from submit-queue

Fix the allow-all example NetworkPolicy

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

This is a bug fix, no release note required.

Fixes #28795
2016-08-02 16:24:12 -07:00
Tim St. Clair c3cba4932c
Update deploying-profiles section: watch for changes 2016-08-01 14:31:07 -07:00
Tim St. Clair 99d05d1a3b
Add AppArmor Beta API proposal 2016-08-01 13:54:34 -07:00
Tim St. Clair b6bdce155f
Remove pod-level profile specification 2016-08-01 13:54:33 -07:00
lixiaobing10051267 ae9cc76b7d Redirect the website to new location in gpu-support.md 2016-07-26 15:33:16 +08:00
Tim St. Clair 55c39b929c
AppArmor design proposal 2016-07-25 16:07:28 -07:00
Buddha Prakash e425c6bbda Propasal for pod level resource management
Signed-off-by: Buddha Prakash <buddhap@google.com>
2016-07-25 14:27:48 -07:00
k8s-merge-robot e20dbc039b Merge pull request #29321 from derekwaynecarr/eviction-proposal-update-flags
Automatic merge from submit-queue

Update proposed flag names for kubelet eviction

This PR changes the flag names proposed in kubelet eviction for minimum amount of resource to reclaim when triggering an eviction.

This captures the design change proposed and agreed to in #27199 

Having it in a separate PR removes noise from reviewing the core PR.

/cc @vishh @ronnielai PTAL
2016-07-22 07:55:07 -07:00
k8s-merge-robot 5b21ae4ca7 Merge pull request #28814 from lixiaobing10051267/mastercidr
Automatic merge from submit-queue

Flannel doc description cidr modify

File "docs\proposals\flannel-integration.md", line 123, "node controller backs off cidr allocation", here cidr is not easy to understand, can be modified to CIDR.
2016-07-21 16:35:48 -07:00
Ryan Hitchman fdc85ade76 Fix broken verify-munge-docs build by running hack/update-munge-docs.sh. 2016-07-20 18:58:55 -07:00
Tim Hockin b829d4d4ef Merge pull request #26702 from joe2far/fix-broken-links
Fix broken warning image link in docs
2016-07-20 15:10:41 -07:00
derekwaynecarr 96a1d2fc9a Update proposed flag names for kubelet eviction 2016-07-20 16:43:07 -04:00
k8s-merge-robot b7490d5cb6 Merge pull request #25256 from gmarek/proposal
Automatic merge from submit-queue

Proposal for ControllerReference

Proposal for including the reference pointing to the owning "collection" (controller) for objects that can be grouped. The goal is to prevent a situation when two controllers are fighting over some resources.

cc @bgrant0607 @lavalamp @caesarxuchao @davidopp @fgrzadkowski @wojtek-t @kubernetes/sig-api-machinery
2016-07-20 11:11:28 -07:00
k8s-merge-robot 1720b66ddc Merge pull request #29073 from rata/service-external-name
Automatic merge from submit-queue

Add proposal for service externalName

This is a proposal to address: #13748.

@smarterclayton @ncdc @thockin.  Please check this out when you have time, hopefully this is okay :-D

I created the proposal because was unsure if the feature would be able to go in if there isn't a proposal already merged, because of this mail to kubernetes-pm: https://groups.google.com/forum/#!topic/kubernetes-pm/Ki63EztfZMo.

So, IIUC it would be nice to have the proposal merged ASAP (I think the interface looks ok for all, so hopefully this will be easy) so we can have this feature in 1.4 as you guys ( @smarterclayton @ncdc ) need.
2016-07-20 07:52:07 -07:00
gmarek 8e0ff4436e Proposal for ControllerReference 2016-07-19 07:05:37 +02:00
k8s-merge-robot 5d0d77df6c Merge pull request #28733 from rata/secret-configmap-file-mode-proposal
Automatic merge from submit-queue

Add proposal for secret and configmap files mode bits

This is a proposal to address https://github.com/kubernetes/kubernetes/issues/28317.

cc @pmorie (owner) @thockin 

@thockin: Sorry if you preferred not to be CCed, I thougth you'd be interested :-)

I think this is always the case, but let me say it one more time just in case: as this is a PR, ALL the feedback is more than welcome!

It's my first time in kubernetes, so sorry in advance if this is obviously wrong. What I realize now is that I forgot to add the headers to the proposal. Is there some script to add them? Or should I just c&p from some other proposal?


Thanks a lot,
Rodrigo
2016-07-18 09:34:49 -07:00
Rodrigo Campos 5fcd7b994b Add proposal for service externalName
This is a proposal to address: #13748.
2016-07-18 10:28:38 -03:00
Rodrigo Campos 45ea7eb1f4 Add proposal for secret and configmap files mode bits
This is a proposal to address
https://github.com/kubernetes/kubernetes/issues/28317.
2016-07-18 10:17:14 -03:00
k8s-merge-robot 08b4f5f8f5 Merge pull request #28766 from lixiaobing10051267/masterOverlayId
Automatic merge from submit-queue

Doc referrence "container-id" incorrect

File "docs\proposals\disk-accounting.md", line 154, "Everything under  `/var/lib/docker/overlay/<container-id>` are files required for running the container", here "container-id" is incorrect because files under "/var/lib/docker/overlay" are layer files, and  "container-id"  should be "id" thus consistent with line 148 "Image layers and writable layers are stored under `/var/lib/docker/overlay/<id>`".
2016-07-18 00:35:56 -07:00
joe2far 88b6d4ad36 Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
k8s-merge-robot cdb4df8ea5 Merge pull request #26908 from pmorie/pv-dynprov
Automatic merge from submit-queue

dynamic provisioning proposal

Proposal for dynamic provisioning using storage classes; supercedes #17056

@kubernetes/sig-storage
2016-07-14 04:54:37 -07:00
Jan Safranek 7aa61dd0ff Dynamic provisioning proposal 2016-07-14 10:14:06 +02:00