- 04 Oct, 2016 12 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete evicted pet If pet was evicted by kubelet - it will stuck in this state forever. By analogy to regular pod we need to re-create pet so that it will be re-scheduled to another node, so in order to re-create pet and preserve consitent naming we will delete it in petset controller and create after that. fixes: https://github.com/kubernetes/kubernetes/issues/31098
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Kubelet: fix port forward for dockershim This PR fixes port forward for dockershim and also adds a `kubecontainer.FormatPod`. Locally cluster has passed `--ginkgo.focus=Port\sforwarding'` tests. cc/ @Random-Liu @yujuhong
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix issue in updating device path when volume is attached multiple times When volume is attached, it is possible that the actual state already has this volume object (e.g., the volume is attached to multiple nodes, or volume was detached and attached again). We need to update the device path in such situation, otherwise, the device path would be stale information and cause kubelet mount to the wrong device. This PR partially fixes issue #29324
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix #33784, IN_CREATE event does not guarantee file content written Fixed #33784. The CREATE inotify event [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/config/file_linux_test.go#L275) is triggered by os.OpenFile(), however the content would be written by the following f.Write(). It will fail if the program try to process the event in between. IN_CREAE event is triggered by open(2), mkdir(2), link(2), symlink(2), bind(2), but not all of them will guarantee the content is written ([ref](http://man7.org/linux/man-pages/man7/inotify.7.html)). <s>Hence we should not respond to IN_CREATE event for pod creation. I believe listen on IN_MODIFY and IN_MOVED_TO would be sufficient for pod addition&update. Would like to see the Jenkins test results for further evaluation. @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Split NodeDiskPressure into NodeInodePressure and NodeDiskPressure Added NodeInodePressure as a NodeConditionType. SignalImageFsInodesFree and SignalNodeFsInodesFree signal this pressure. Also added simple pieces to the scheduler predicates so that it takes InodePressure into account.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable alpha features in local-up-cluster because why not
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add seccomp and apparmor support. This PR adds seccomp and apparmor support in new CRI. This a WIP because I'm still adding unit test for some of the functions. Sent this PR here for design discussion. This PR is similar with https://github.com/kubernetes/kubernetes/pull/33450. The differences are: * This PR passes seccomp and apparmor configuration via annotations; * This PR keeps the seccomp handling logic in docker shim because current seccomp implementation is very docker specific, and @timstclair told me that even the json seccomp profile file is defined by docker. Notice that this PR almost passes related annotations in `api.Pod` to the runtime directly instead of introducing new CRI annotation. @yujuhong @feiskyer @timstclair
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue e2e.go / kops: Add ssh-key option to override ssh key **What this PR does / why we need it**: By default, Jenkins stuffs the ssh key in `/workspace/.aws/kube_aws_rsa`. This allow the SSH key to be overridden easily on the command line.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue wait for federation informer store to catch up before update Fixes #33838 #33880 There is a flake in the federation-controller code where an update to a resource is done too quickly after the create. Because the resource is not yet in the federated informer store, when the reconcile<Resource>() is called, it can't find the resource and treats the change as a create rather than a update. This causes a failure (actually a panic) in the test code, which expects an update event, not a create, in response to the resource modification. @derekwaynecarr @apelisse @mwielgus
-
Zach Loafman authored
By default, Jenkins stuffs the ssh key in /workspace/.aws/kube_aws_rsa. Allow this to be overridden easily on the command line.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Deregister clusters during federated namespace e2e tear down. This is causing other tests to leak resources. cc @mwielgus @kubernetes/sig-cluster-federation
-
Jing Xu authored
When volume is attached, it is possible that the actual state already has this volume object (e.g., the volume is attached to multiple nodes, or volume was detached and attached again). We need to update the device path in such situation, otherwise, the device path would be stale information and cause kubelet mount to the wrong device. This PR partially fixes issue #29324
-
- 03 Oct, 2016 18 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix condition for deleting master etcd firewall rule Fix tiny bug in #33094. cc @fgrzadkowski @jszczepkowski
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue DeltaFIFO should not report HasSynced until deletes are reported Deletions identified by knownObjects on the initial sync replace (immediately after the List from a reflector) should be considered part of the initial sync since we have the information available at the time we do the deletion. An error during Replace() can result in Populated not being set, but it was incorrect before (population would be wrong) and queueActionLocked does not error except on "my cache is broken because I gave an incorrect keyFunc". @lavalamp @deads2k hit this while trying to use DeltaFIFO to implement an "external" controller (one that uses the knownObjects as provided by a call to a remote system of record). Not 1.4
-
MrHohn authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue CRI: Fix bug in dockershim to set sandbox id properly. For https://github.com/kubernetes/kubernetes/issues/33189#issuecomment-249307796. During debugging `Variable Expansion should allow composing env vars into new env vars`, I found that the root cause is that the sandbox was removed before all containers were deleted, which caused the pod to be started again after succeed. This happened because the `PodSandboxID` field is not set. This PR fixes the bug. Some other test flakes are also caused by this ``` Downward API volume should provide node allocatable (cpu) as default cpu limit if the limit is not set Downward API volume should provide container's memory limit EmptyDir volumes should support (non-root,0666,tmpfs) ... ``` /cc @yujuhong @feiskyer
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix loopback authorizer Fixes the loopback authorizer to properly inspect groups. P0 for security problem. @liggitt @dims let's get this fixed.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix URL in README
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix summary test Issue was comparing an `unversioned.Time` rather than `time.Time`. I temporarily removed the `[Flaky]` tag so the PR builder will run the test. I will revert that change before submitting.
-
David Ashpole authored
-
David Ashpole authored
-
Jeff Grafton authored
-
Davanum Srinivas authored
Fixes #33888
-
Seth Jennings authored
-
David Ashpole authored
-
David Ashpole authored
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improve sysctl psp tests <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Do not probe so aggressively which may lead to unnecessary restarts @errordeveloper @mikedanese PTAL I came across a case where etcd restarted about 5-10 times because the load was very high on the machine. The load seems to have lead to that the `etcd` container occasionally didn't respond to the probe, which caused many restart and made the whole thing even worse. Maybe we should remove the etcd probe totally? I don't know, what do you think? This is at least a try to loosen the limits here...
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue HA master: add firewall rule for etcd cluster.
-
- 02 Oct, 2016 7 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Explicitly return nil for underlying cluster's service in Federated Service e2e cleanup function.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Replace references to http://releases.k8s.io/HEAD/docs/user-guide/ All of the anchor references are broken right now, so this change fixes that (at least). I only touched `http://releases.k8s.io/HEAD/docs/user-guide/`, as all files in `docs/user-guide` had been moved, apart `kubectl*` ones (but those aren't referenced anywhere in the code for some reason.
-
Ilya Dmitrichenko authored
-
-
Random-Liu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix kubectl taint e2e flake: add retries for removing taint **What this PR does / why we need it**: Why we need it: recent failures occurred in #29503 are caused by taints removing conflict on nodes, this PR is to fix it. (#33073 fixed taints updating conflict, but not taints removing.) What this PR does: use `runKubectlRetryOrDie()` instead of `RunKubectlOrDie()` in all the places in "Kubectl taint" e2e tests. **Which issue this PR fixes** : fixes part of #29503, (would like to keep this issue open for some days more to make sure no other failures occur) **Special notes for your reviewer**: NONE **Release note**: NONE
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove old references to contrib/mesos @deads2k @k82cn @derekwaynecarr
-
- 01 Oct, 2016 3 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Provide more detailed error message when pod fails to be success state Return more detailed error message when it timeouts for waiting for pod to success state. This PR extends #31895. #31895 is for running and ready state. It is used for debugging #31561 #32980 cc: @lavalamp
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Start a doc for well-known labels & taints
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Kubeadm: print information about certificates Prints basic information about certificates to the user. Example of `kubeadm init` output: ``` <master/pki> generated Certificate Authority key and certificate: Issuer: CN=kubernetes | Subject: CN=kubernetes | CA: true Not before: 2016-09-30 11:19:19 +0000 UTC Not After: 2026-09-28 11:19:19 +0000 UTC Public: /etc/kubernetes/pki/ca-pub.pem Private: /etc/kubernetes/pki/ca-key.pem Cert: /etc/kubernetes/pki/ca.pem <master/pki> generated API Server key and certificate: Issuer: CN=kubernetes | Subject: CN=kube-apiserver | CA: false Not before: 2016-09-30 11:19:19 +0000 UTC Not After: 2017-09-30 11:19:19 +0000 UTC Alternate Names: [172.18.76.239 10.0.0.1 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] Public: /etc/kubernetes/pki/apiserver-pub.pem Private: /etc/kubernetes/pki/apiserver-key.pem Cert: /etc/kubernetes/pki/apiserver.pem <master/pki> generated Service Account Signing keys: Public: /etc/kubernetes/pki/sa-pub.pem Private: /etc/kubernetes/pki/sa-key.pem ``` Example of `kubeadm join` command: ``` <node/csr> received signed certificate from the API server: Issuer: CN=kubernetes | Subject: CN=system:node:minion | CA: false Not before: 2016-09-30 11:28:00 +0000 UTC Not After: 2017-09-30 11:28:00 +0000 UTC ``` Fixes #33642 cc @kubernetes/sig-cluster-lifecycle
-