- 17 Oct, 2017 2 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48665, 52849, 54006, 53755). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Order PSP by name, prefer non-mutating PSPs Fixes #36184 Fixes #23217 Related to #23217 Removes unnecessary mutation of pods: * Determines effective security context for pods using a wrapper containing the pod and container security context, rather than building/setting a combined struct on every admission * Does not set `privileged:&false` on security contexts with `privileged:nil` * Does not set `runAsNonRoot:&true` on security contexts that already have a non-nil, non-0 `runAsUser` * Does not mutate/normalize container capabilities unless changes are required (missing defaultAddCapabilities or requiredDropCapabilities) Defines behavior when multiple PSP objects allow a pod: * PSPs which allow the pod as-is (no defaulting/mutating) are preferred * If the pod must be defaulted/mutated to be allowed, the first PSP (ordered by name) to allow the pod is selected * During update operations, when mutations to pod specs are disallowed, only non-mutating PSPs are used to validate the pod ```release-note PodSecurityPolicy: when multiple policies allow a submitted pod, priority is given to ones which do not require any fields in the pod spec to be defaulted. If the pod must be defaulted, the first policy (ordered by name) that allows the pod is used. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add missing short names to kubectl help text **What this PR does / why we need it**: This PR adds two short names that exist but are not listed in the help text that `kubectl get` produces. **Special notes for your reviewer**:
🍰 **Release note**: ```release-note NONE ```
-
- 16 Oct, 2017 38 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Make HPA tolerance a flag **What this PR does / why we need it**: Make HPA tolerance configurable as a flag. This change allows us to use different tolerance values in production/testing. **Which issue this PR fixes**: Fixes #18155 **Release note:** ```release-note Control HPA tolerance through the `horizontal-pod-autoscaler-tolerance` flag. ``` Signed-off-by:
mattjmcnaughton <mattjmcnaughton@gmail.com>
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53106, 52193, 51250, 52449, 53861). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Move version-conversion code out of shared kubectl resource package ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53106, 52193, 51250, 52449, 53861). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. add replicaset upgrade test **What this PR does / why we need it**: This PR adds existing replicaset upgrade test. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: xref #52118 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53106, 52193, 51250, 52449, 53861). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. bump CNI to v0.6.0 **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 #49480 **Special notes for your reviewer**: /assign @luxas @bboreham @feiskyer **Release note**: ```release-note bump CNI to v0.6.0 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53106, 52193, 51250, 52449, 53861). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kube-dns-anti-affinity: kube-dns never-co-located-in-the-same-node **What this PR does / why we need it**: This is upstreaming the kubernetes/kops#2705 pull request by @jamesbucher that was originally against [kops](github.com/kubernetes/kops). Please see kubernetes/kops#2705 for more details, including a lengthy discussion. Briefly, given the constraints of how the system works today: + if you need multiple DNS pods primarily for availability, then requiredDuringSchedulingIgnoredDuringExecution makes sense because putting more than one DNS pod on the same node isn't useful + if you need multiple DNS pods primarily for performance, then preferredDuringScheduling IgnoredDuringExecution makes sense because it will allow the DNS pods to schedule even if they can't be spread across nodes **Which issue this PR fixes** fixes kubernetes/kops#2693 **Release note**: ```release-note Improve resilience by annotating kube-dns addon with podAntiAffinity to prefer scheduling on different nodes. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53106, 52193, 51250, 52449, 53861). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. E2E test cases for Invalid user inputs for vSphere Add E2E test cases to invalid inputs for vSphere - Invalid FS Type in Storage Class. - Invalid datastoreName in Storage Class. - Invalid disksize for a persistent volume. @divyenpatel @rohitjogvmw
-
Jun Xiang Tee authored
-
Phillip Wittrock authored
Move kubectl type conversion libs out of the resource & util package and into the conversion command. Kubectl shouldn't have code that does type conversion. This should be in the server.
-
Balu Dontu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53694, 53919). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Do not crash when groupVersion doesn't have a group **What this PR does / why we need it**: fixes a crash when the group is empty, because it assumes that split will return a two element array. Which it doesn't. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes/kubectl#78 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53694, 53919). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix controller manager crash issue on a manually created k8s cluster **What this PR does / why we need it**: fix controller manager crash issue on a manually created k8s cluster, it's due to availability set nil issue in azure loadbalancer **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # In the testing of a manually created k8s cluster, I found controller manager on master would crash in current scenario: 1. Use acs-engine to set up k8s 1.7.7 cluster (it's with an availability set) 2. Manually add a node to the k8s cluster (without an availibity set in this VM) 3. Set up a service and schedule the pod onto this newly added node 4. controller manager would crash on master because although this k8s cluster has an availability set, the newly added node's `machine.AvailabilitySet` is nil which would cause controller manager crash **Special notes for your reviewer**: @brendanburns @karataliu @JiangtianLi **Release note**: ``` fix controller manager crash issue on a manually created k8s cluster ``` /sig azure
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix build scripts on Mac
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. typo in annotations **What this PR does / why we need it**: just typo in annotations **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Release note**: ```release-note none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add sample-apiserver namespace manifest **What this PR does / why we need it**: Adds a manifest to also create the required namespace for the api server example. It was previously proposed here kubernetes/sample-apiserver#11 ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Enable autoscaling test of scale from 0 in GKE This enables scale from zero test scenario in GKE jobs.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53862, 53974). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Auto-calculate master disksize and cluster IP range in kubemark /cc @wojtek-t
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 53862, 53974). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. unused para useInfDec in quantity_test **What this PR does / why we need it**: the para useInfDec unused and some comment error,so fix 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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Make EVENT_PD variable useful for kubemark /cc @wojtek-t
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Aleksandra Malinowska authored
-
Shyam Jeedigunta authored
-
Shyam Jeedigunta authored
-
Fabian Deutsch authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Modify Schedule function **What this PR does / why we need it**: It is obvious that no need to prioritizing when only one node after predicate. **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**: @davidopp @timothysc **Release note**: ```release-note NONE ```
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Jordan Liggitt authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update rules_go, repo-infra, and rules_docker dependencies **What this PR does / why we need it**: several of our bazel dependencies were getting pretty old, since they required bazel 0.5.4+ but there were various failures if we tried to use them with bazel 0.5.4. Now that bazel 0.6.0 (and 0.6.1) have been out for a while, we can bump our dependencies and get a number of fixes and new functionality. x-ref #52677 and others **Special notes for your reviewer**: * This will now explicitly require bazel 0.6.0+ to build kubernetes. * Our staging directories are causing some issues for `gazelle`; it wants to set `importpath = "k8s.io/kubernetes/staging/src/k8s.io/blah"` instead of `importpath = "k8s.io/blah"`. I'm not sure what is the correct way to fix this; what we're doing here is pretty weird and nonstandard. I've used a `sed` substitution for now. * The `-proto=default` option of `gazelle` has a number of bugs right now (https://github.com/bazelbuild/rules_go/issues/888, https://github.com/bazelbuild/rules_go/issues/900, https://github.com/bazelbuild/rules_go/issues/907), so I am forcing the legacy behavior. **Release note**: ```release-note NONE ``` /assign @mikedanese @spxtr @BenTheElder
-