- 03 Apr, 2017 24 commits
-
-
Anthony Yeh authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42973, 41582) Improve status manager unit testing This is designed to simplify testing logic in the status manager, and decrease reliance on syncBatch. This is a smaller portion of #37119, and should be easier to review than that change. It makes the following changes: - creates convenience functions for get, update, and delete core.Action - prefers using syncPod on elements in the podStatusChannel to using syncBatch to reduce unintended reliance on syncBatch - combines consuming, validating, and clearing actions into single verifyActions function. This replaces calls to testSyncBatch(), verifyActions(), and ClearActions - changes comments in testing functions into log statements for easier debugging @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix vsphere selinux support Managed flag must be true for SELinux relabelling to work for vsphere. Fixes #42972
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding gnufied as reviewer for volume controller I have helped review several PRs and made new PRs to this area. cc @childsb @saad-ali
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43925, 42512) AWS: add KubernetesClusterID as additional option when VPC is set This is a small enhancement after the PRs https://github.com/kubernetes/kubernetes/pull/41695 and https://github.com/kubernetes/kubernetes/pull/39996 ## Release Notes ```release-note AWS cloud provider: allow to set KubernetesClusterID or KubernetesClusterTag in combination with VPC. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [CRI] Use DNSOptions passed by CRI in dockershim. When @xlgao-zju is working on the CRI validation test, he found that dockershim is not using the DNSOptions passed in CRI. https://github.com/kubernetes-incubator/cri-tools/pull/30#issuecomment-290644357 This PR fixed the issue. I've manually tried, for `ClusterFirst` DNSPolicy, the resolv.conf will be: ``` nameserver 8.8.8.8 search corp.google.com prod.google.com prodz.google.com google.com options ndots:5 ``` For `Default` DNSPolicy, the resolv.conf will be: ``` nameserver 127.0.1.1 search corp.google.com prod.google.com prodz.google.com google.com ``` @xlgao-zju You should be able to test after this PR is merged. /cc @yujuhong @feiskyer
-
David Ashpole authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 40432, 43955) Fix coverage report testing on macOS **What this PR does / why we need it**: Fixes coverage testing on macOS **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #43952 **Special notes for your reviewer**: Uses SHA1 SUM of tests instead of full test string to generate directory, so that the directory doesn't exceed 255 chars. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubelet: change image-gc-high-threshold below docker dm.min_free_space docker dm.min_free_space defaults to 10%, which "specifies the min free space percent in a thin pool require for new device creation to succeed....Whenever a new a thin pool device is created (during docker pull or during container creation), the Engine checks if the minimum free space is available. If sufficient space is unavailable, then device creation fails and any relevant docker operation fails." [1] This setting is preventing the storage usage to cross the 90% limit. However, image GC is expected to kick in only beyond image-gc-high-threshold. The image-gc-high-threshold has a default value of 90%, and hence GC never triggers. If image-gc-high-threshold is set to a value lower than (100 - dm.min_free_space)%, GC triggers. xref https://bugzilla.redhat.com/show_bug.cgi?id=1408309 ```release-note changed kubelet default image-gc-high-threshold to 85% to resolve a conflict with default settings in docker that prevented image garbage collection from resolving low disk space situations when using devicemapper storage. ``` @derekwaynecarr @sdodson @rhvgoyal
-
Random-Liu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43450, 42999, 43968) Update federation openapi spec hack/verify-federation-openapi-spec.sh fails on master
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43450, 42999, 43968) fix kubectl config return 0 on error Fixes https://github.com/kubernetes/kubernetes/issues/42852 cc @kubernetes/sig-cli-bugs @ymqytw ptal
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43450, 42999, 43968) unit test for kubectl config set-context **What this PR does / why we need it**: unit test for create context **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: think you **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix deletion of Gluster, Ceph and Quobyte volumes GetClassForVolume should check pv.spec.storageClassName together with beta annotation. Fixes #43929 @kubernetes/sig-storage-pr-reviews ```release-note Fix bug with error "Volume has no class annotation" when deleting a PersistentVolume. ```
-
Kubernetes Submit Queue authored
Merge pull request #43627 from pospispa/make-constants-public-so-that-they-can-be-used-in-an-external-provisioner Automatic merge from submit-queue Make Constants Public so that They Can Be Used in an Ext. Provisioner Out-of-tree external provisioners have the same purpose as in-tree provisioners. As external provisioners work with PV and PVC datastructures it's an advantage to import certain Kubernetes packages instead of copy-pasting the Kubernetes code. That's why the constants are made public so that they can be used in an external provisioner. @jsafrane @kubernetes/sig-storage-pr-reviews ``` NONE ```
-
Jan Safranek authored
GetClassForVolume should check pv.spec.storageClassName together with beta annotation.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42038, 42083) Validate ConfigMapRef and SecretRef name fixes #42037 **Release note**: ```release-note When creating a container using envFrom, 1. validate the name of the ConfigMap in a ConfigMapRef 2. validate the name of the Secret in a SecretRef ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42038, 42083) Add backup-volfile-servers to mount option. This feature ensures the `backup servers` in the trusted pool is contacted if there is a failure in the connected server. Mount option becomes: mount -t glusterfs -o log-level=ERROR,log-file=/var/lib/kubelet/plugins/kubernetes.io/glusterfs/glustermount/glusterpod-glusterfs.log,backup-volfile-servers=192.168.100.0:192.168.200.0:192.168.43.149 .. Signed-off-by:Humble Chirammal <hchiramm@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add/remove kargakis from a couple of places I've replaced myself in some tests in test_owners with the actual owners of those tests and I've also picked up a bunch of deployment tests. Also due to lack of review bandwidth I am removing myself from sig_cli reviewers. @janetkuo
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Debug problems encountered in #43702
-
Wojciech Tyczynski authored
-
Jordan Liggitt authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update godoc to match **What this PR does / why we need it**: comments don't match the code. I can also just remove them. **Which issue this PR fixes** golint if it was run, but it is nice to have comments that appear to be relevant to the code. **Special notes for your reviewer**: docs only **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix a typo Fix a typo **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
-
- 02 Apr, 2017 2 commits
-
-
Christoph Blecker authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: Adding IPv6 brackets for IPv6 endpoints This fixes the lack of IPv6 when printing the IP:Port tuple with kubectl describe command. Signed-off-by:André Martins <aanm90@gmail.com> **What this PR does / why we need it**: This adds IPv6 brackets on IPv6 endpoints when using `kubectl describe service` **Special notes for your reviewer**: Since the IP is a string I think the fastest way to detect if it's an IPv6 was to check for the presence of : in it. Let me know what you think.
-
- 01 Apr, 2017 7 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue update pkg/controller/volume/OWNER to add appropriate approvers for both volume controllers Update pkg/controller/volume approvers so that the attach/detach and binding controllers have approvers.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix typo in kubeadm join -h ``` Flags: --config string Path to kubeadm config file --discovery-file string A file or url from which to load cluster information --discovery-token string A token used to validate cluster information fetched from the master --skip-preflight-checks skip preflight checks normally run before modifying the system --tls-bootstrap-token string A token used for TLS bootstrapping --token string Use this token for both discovery-token and tls-bootstrap-token ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue test/e2e_node: prepull images with CRI Part of https://github.com/kubernetes/kubernetes/issues/40739 - This PR builds on top of #40525 (and contains one commit from #40525) - The second commit contains a tiny change in the `Makefile`. - Third commit is a patch to be able to prepull images using the CRI (as opposed to run `docker` to pull images which doesn't make sense if you're using CRI most of the times) Marked WIP till #40525 makes its way into master @Random-Liu @lucab @yujuhong @mrunalp @rhatdan
-
Antonio Murdaca authored
Signed-off-by:Antonio Murdaca <runcom@redhat.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 43407, 43918) Fix typo in mysql-galera example Dockerfile **What this PR does / why we need it**: Minor Bugfix. **Which issue this PR fixes** fixes #43692
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue tests: e2e-node: refactor node-problem-detector test to avoid selinux… Fixes https://github.com/kubernetes/kubernetes/issues/43401 This test creates a file in /tmp on the host and creates a HostPath volume in the container to so that the host can inject messages into the logfile being read by the node problem detector in the container. However, selinux prohibits the container from reading files out of /tmp on the host. This PR modifies the test to create the log file in an EmptyDir volume instead, which will be properly labeled for container access. @derekwaynecarr
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Attach/detach controller: fix potential race in constructor **What this PR does / why we need it**: There is a potential race condition in the Attach/detach controller: The "constructor" first installs informer event handlers and then creates and initializes the other data structures. However there is no guarantee an event cannot arrive before the data structures required by the event handlers are ready. This may result in nil pointer derefernces and potential crashes (e.g. the nodeAdd method calls adc.actualStateOfWorld.SetNodeStatusUpdateNeeded even though the actualStateOfWorld might be still nil). It should be enough just to move the event handlers installation at the end of the constructor function. **Release note**: ```release-note NONE ```
-
- 31 Mar, 2017 7 commits
-
-
childsb authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add derekwaynecarr to approvers list for test/e2e_node I am a maintainer and have approve rights in `pkg/kubelet`. /cc @vishh
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42667, 43923) Specify a directory for the logs Switch from hard coded "/tmp" to a user specified location for the logs. Default to "/tmp" to keep the current behavior and not break any current users or jobs.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42667, 43923) Adding test to perform volume operations storm **What this PR does / why we need it**: Adding new test to perform volume operations storm Test Steps 1. Create storage class for thin Provisioning. 2. Create 30 PVCs using above storage class in annotation, requesting 2 GB files. 3. Wait until all disks are ready and all PVs and PVCs get bind. (**CreateVolume** storm) 4. Create pod to mount volumes using PVCs created in step 2. (**AttachDisk** storm) 5. Wait for pod status to be running. 6. Verify all volumes accessible and available in the pod. 7. Delete pod. 8. wait until volumes gets detached. (**DetachDisk** storm) 9. Delete all PVCs. This should delete all Disks. (**DeleteVolume** storm) 10. Delete storage class. This test will help validate issue reported at https://github.com/vmware/kubernetes/issues/71 **Which issue this PR fixes** fixes # **Special notes for your reviewer**: executed test on 1.5.3 release with `VOLUME_OPS_SCALE` set to `5` Will execute test with the changes made on PR - https://github.com/kubernetes/kubernetes/pull/42422, with the `VOLUME_OPS_SCALE` set to `30` **Release note**: ```release-note None ``` cc: @abrarshivani @BaluDontu @tusharnt @pdhamdhere @luomiao @kerneltime
-
Derek Carr authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix Judgment code in cycle The 'i' can not be equal to updateNodeStatusMaxRetries in updateNetworkingCondition(), and can not get error. Let's update it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make func modifySandboxNamespaceOptions() more robust Make func `modifySandboxNamespaceOptions()` more robust, just like what we do in func [`modifyContainerNamespaceOptions`](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/security_context.go#L117). /cc @feiskyer Signed-off-by:
Xianglin Gao <xlgao@zju.edu.cn>
-