- 20 Oct, 2016 2 commits
- 19 Oct, 2016 38 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add import restriction to clientset This prevents clientset from import more packages in pkg/client/unversioned, because we want to deprecate pkg/client/unversioned. cc @ingvagabund
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Wait for all pods to be running before checking PDB status.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add validation that detects repeated keys in the labels and annotations maps Fixes #2965 (a nearly 2 year old feature request!) @kubernetes/kubectl @eparis
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Avoid computing keys multiple times in Cacher This should significantly reduce both cpu-usage and number of allocations in Cacher. This is a proper follow-up from #30998 @deads2k @liggitt
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding default StorageClass annotation printout for resource_printer and describer and some refactoring adding ISDEFAULT for _kubectl get storageclass_ output ``` [root@screeley-sc1 gce]# kubectl get storageclass NAME TYPE ISDEFAULT another-class kubernetes.io/gce-pd NO generic1-slow kubernetes.io/gce-pd YES generic2-fast kubernetes.io/gce-pd YES ``` ```release-note Add ISDEFAULT to kubectl get storageClass output ``` @kubernetes/sig-storage
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use clientset in GetReadySchedulableNodesOrDie
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use LC_ALL=C with sort In some user env LANG=C might lose: Wrong: ``` echo -e "test/images/port-forward-tester\ntest/images/porter" | LANG=C sort test/images/porter test/images/port-forward-tester ``` Right: ``` echo -e "test/images/port-forward-tester\ntest/images/porter" | LC_ALL=C sort test/images/port-forward-tester test/images/porter ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove PV annotations for Gluster provisioner. Don't store Gluster SotrageClass parameters in annotations, it's insecure. Instead, expect that there is the StorageClass available at the time when it's needed by Gluster deleter. See #34822 for detais @kubernetes/sig-storage
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Move the common test functions from cmd_test.go to cmd/testing/fake.go **What this PR does / why we need it**: This is so that we can use NewAPIFactory() from cmd/set/*test.go Up until now we would get a import loop error. This commit also adds a basic unit test case for cmd/set/set_image.go **Which issue this PR fixes** partial #34592 **Special notes for your reviewer**: None **Release note**: ```release-note NONE ```
-
Scott Creeley authored
-
gmarek authored
-
Eric Paris authored
In some user env LANG=C might lose: Wrong: ``` echo -e "test/images/port-forward-tester\ntest/images/porter" | LANG=C sort test/images/porter test/images/port-forward-tester ``` Right: ``` echo -e "test/images/port-forward-tester\ntest/images/porter" | LC_ALL=C sort test/images/port-forward-tester test/images/porter ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Get rid of output line that break automated usage of `kubectl set image` **What this PR does / why we need it**: **Which issue this PR fixes**: fixes #35105 **Special notes for your reviewer**: We could consider printing it to stderr, or using `IsTerminal()`, but I went for the simplest thing first. **Release note**: ```release-note Make `kubectl set image` easier to script ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue separate third party resources from master (moves + consequences) Remove the third party resource code from the main `Master` struct. I think we may be able to get this down to particular way to configure/`New` a generic API server.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable local-up-cluster.sh to start with the secured port related to #33375
-
Ilya Dmitrichenko authored
-
deads2k authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow setting master root disk size in kubemark
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Mount disk in kubemark earlier
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make APIGroupPrefix constant: "/apis" It's not wired externally, so let's get rid of it and make it constant.
-
gmarek authored
-
Davanum Srinivas authored
Generate a kubeconfig for use with controller-manager, kubelet, scheduler etc. This kubeconfig should use the secure https port of the api server with appropriate ca cert for the components to talk to api server. With this change, one can set API_PORT=0 to completely switch off insecure access for testing admission controllers etc. Fixes #33375
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix StartPods Fix #34221
-
Dr. Stefan Schimanski authored
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue update oscodenames supporting systemd
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't overwrite FLANNEL_OTHER_NET_CONFIG in ubuntu config Make it easier to pass options to flannel through environment variables.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue WIP: Remove the legacy networking mode <!-- 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**: Removes the deprecated configure-cbr0 flag and networking mode to avoid having untested and maybe unstable code in kubelet, see: #33789 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #30589 fixes #31937 **Special notes for your reviewer**: There are a lot of deployments who rely on this networking mode. Not sure how we deal with that: force switch to kubenet or just delete the old deployment? But please review the code changes first (the first commit) **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 Removed the deprecated kubelet --configure-cbr0 flag, and with that the "classic" networking mode as well ``` PTAL @kubernetes/sig-network @kubernetes/sig-node @mikedanese
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typos
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Change merge key for VolumeMount to mountPath Fixes #34800
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Collect resource usage test with 0 pod for node benchmark.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue CRI: add docs for AppArmor and Seccomp This PR adds docs for AppArmor and Seccomp in CRI. cc/ @yujuhong @Random-Liu
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue build: Fix version generation. This PR provides update to version string generation procedure to handle additional case - working on branch delivered from release tag, instead of working on `-(alpha|beta).no` suffixed tag. Reason of it is that actually if someone would start working on branch forked from release tag (`v1.4.1` for example), will add some commits and then would try to build k8s/run conformance tests - will end up with broken version string in form similar to `v1.4.1.X+YYYY` where `X` is a dictance/number of commits from base tag and `YYYY` will be first 14 characters from commit hash. Such version - containing four dotted parts is rejected during conformance tests with error similar to: ``` /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:843 Oct 11 12:38:33.726: Failed to get server version: Unable to parse server version "v1.4.1.5+somecommithash": Invalid character(s) found in patch number "1.5" /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:413 ``` This PR provides a cure for this situation creating version string in form `v1.4.1-X+YYYY` which then should be readable for version validation checks. Release note: ```release-note Fix version string generation for local version different from release and not based on `-alpha.no` or `-beta.no` suffixed tag. ```
-