- 22 Oct, 2016 3 commits
-
-
Mike Danese authored
-
Mike Danese authored
-
Mike Danese authored
-
- 21 Oct, 2016 35 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix poll to not fail on first error Fixes https://github.com/kubernetes/kubernetes/issues/35225 I hope. No repro locally.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Create restclient interface Refactoring of code to allow replace *restclient.RESTClient with any RESTClient implementation that implements restclient.RESTClientInterface interface.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Eliminate half-baked multi-architecture support **What this PR does / why we need it**: We have release `kubeadm` with half-baked support for clusters with nodes of different CPU architectures. The problem with the code as it stand is that user will notice pending daemonsets of `kube-proxy` for machines with architectures that they don't have. At the same time, the code as it stand did not pick up correct images for architectures it wanted to allow. Additionally, it only treated `kube-proxy` in such a way, but didn't do anything about `kube-dns`. This removes multiple daemonesets, but ensures that whichever resources we deploy have node affinity set to the architecture native to the master. Users wishing to use mixed architectures can still create extra daemonsets via the API. **Which issue this PR fixes**: fixes #33916 **Release note**: ```release-note Remove support for multi-architecture code in `kubeadm`, which was released untested. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue CRI: Handle container/sandbox restarts for pod with RestartPolicy == … If all sandbox and containers are dead in a pod, and the restart policy is "Never", kubelet should not try to recreate all of them.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Deny service ClusterIP update from `None` **What this PR does / why we need it**: Headless service should not be transformed into a service with ClusterIP, therefore update of this field if it's set to `None` is disallowed. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #33029 **Release note**: ```release-note Changing service ClusterIP from `None` is not allowed anymore. ```
-
Yu-Ju Hong authored
If all sandbox and containers are dead in a pod, and the restart policy is "Never", kubelet should not try to recreate all of them.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add generic shared informer backed by existing informer Adds the ability to get an informer and lister that returns `[]runtime.Object` methods with the "normal" filtering capabilities based on a `GroupResource`. Right now, it only works on known types (and re-uses those caches for efficiency by having a different skin on the `Index`). It should be extended in the future. @derekwaynecarr I think this gives you the types you were looking for to avoid the ugly array copies.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Support resourceVersion in GetToList - unify interface of List and Ge… This pretty much unifies the interface of List() and GetToList() methods of storage interface. I'm going to use it in a subsequent PR to improve performance of the whole cluster.
-
Ilya Dmitrichenko authored
Eliminate half-baked multi-architecture support, but keep node affinity architecture-agnostic (fix #33916)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue vSphere kube-up: Wait for cbr0 configuration to complete before setting up routes. <!-- 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**: Fixes routing setup when deploying via kube-up.sh on vSphere. Remove optimizations for salt status check till flakyness of install with optimization is addressed. **Which issue this PR fixes** fixes #34248, #31310 **Special notes for your reviewer**: Ref PR with a similar fix https://github.com/kubernetes/kubernetes/issues/31672
-
deads2k authored
-
Wojciech Tyczynski authored
Added 'mounterPath' to Mounter interface in 'mount_unsupported.go'.
-
Maciej Kwiek authored
Test cases from ClusterIP using types to other ClusterIP using types (ClusterIP, NodePort, LoadBalancer) added.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Return an empty network namespace path for exited infra containers If the infra container has already terminated, `docker inspect` will report pid 0. The path constructed using the pid to check the network namespace of the process will be invalid. This commit changes docker to report an empty path to stop kubenet from erroring out whenever TearDown is called on an exited infra container. This is not a fix for all the plugins, as some plugins may require the actual network namespace to tear down properly. -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Detect whether a cluster exists before deleting it Now with correct CLUSTER_NAME variable.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove last probe time from replica sets While experimenting with Deployment conditions I found out that if we are going to use lastProbeTime as we are supposed to be using it then we hotloop between updates (see https://github.com/kubernetes/kubernetes/pull/19343#issuecomment-255096778 for more info) cc: @smarterclayton @soltysh
-
Klaus Ma authored
-
Jan Chaloupka authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Did not print 'No resources found.' if error. fixes #35092 .
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update kubectl in addon-manager to v1.5.0-alpha.1 This updates the kubectl version that is vendored into the addon-manager image `kubectl apply --prune` is currently only implemented in v1.5.0-alpha.1 https://github.com/kubernetes/kubernetes/commit/ea5ecc414510320ac07437702f314bda012f55f6 The kube-addon-manager script will fail on kubectl versions that don't have this flag https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/kube-addons.sh#L154
-
Maciej Kwiek authored
If the service is of the type using the ClusterIP (ClusterIP, NodePort, LoadBalancer), the update of ClusterIP is prohibited.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Generify kube-proxy conntracker setmax() and refactor util/sysctl <!-- 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**: Fix Kube-proxy `conntrack.go` **TODO** [here](https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-proxy/app/conntrack.go#L56). This PR consists of two parts: * Generify kube-proxy `realConntracker.SetMax(int)` That is, change `ioutil.WriteFile("/sys/module/nf_conntrack/parameters/hashsize", []byte(strconv.Itoa(max/4)), 0640)` to `sysctl.New().WriteValue("/sys/module/nf_conntrack/parameters/hashsize", max/4)` * Refactor `sysctl.SetSysctl()` and `sysctl.GetSysctl()` to `WriteValue(path string, value string) error` and `GetValue(path value) (error, string)`
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add an informer for StorageClass Add an informer for `StorageClass` for later consumption in quota. /cc @eparis @deads2k @erinboyd
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue HA master: fixed removal of master replica w/o suffix (GCE).
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue use LC_ALL=C on all sort commands Most of these don't matter, but this makes it predicable no matter who runs the commands.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Optimize label selector The number of values for a given label is generally pretty small (in huge majority of cases it is exactly one value). Currently computing selectors is up to 50% of CPU usage in both apiserver and scheduler. Changing the structure in which those values are stored from map to slice improves the performance of typical usecase for computing selectors. Early results: - scheduler throughput it ~15% higher - apiserver cpu-usage is also lower (seems to be also ~10-15%)
-
Jess Frazelle authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubeadm: Normalized reset command to match init and join commands. **What this PR does / why we need it**: Overall, improves code structure. Opening single PR in order avoid big PRs in the future, when adding tests and new functionality, i.e. #34404. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add streaming methods to CRI API Copied verbatim from the proposal in the [design doc](https://docs.google.com/document/d/1OE_QoInPlVCK9rMAx9aybRmgFiVjHpJCHI9LrfdNM_s/edit#heading=h.akcz9mrsrc0x). Note: this will conflict with https://github.com/kubernetes/kubernetes/pull/33988, but the fix ("not implemented") is simple so we can see which gets approved first. For https://github.com/kubernetes/kubernetes/pull/33988/files /cc @Random-Liu @kubernetes/sig-node
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Updating the GCI image to gci-dev-55-8872-18-0. @jessfraz @fabioy @wonderfly @vishh ```release-note Update the GCI image to gci-dev-55-8872-18-0 ```
-
Ritesh H Shukla authored
- fixes #34248, #31310 - Remove optimizations for salt status check till flakyness of install is addressed - fix indentation
-
Yu-Ju Hong authored
If the infra container has already terminated, `docker inspect` will report pid 0. The path constructed using the pid to check the network namespace of the process will be invalid. This commit changes docker to report an empty path to stop kubenet from erroring out whenever TearDown is called on an exited infra container. This is not a fix for all the plugins, as some plugins may require the actual network namespace to tear down properly.
-
bprashanth authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add `--mounter-path` flag to kubelet that will allow overriding the `mount` command used by kubelet In order to be able to use new mounter library, this PR adds the mounterPath flag to kubelet which passes the flag to the mount interface. If flag is empty, mount uses default mount path.
-
- 20 Oct, 2016 2 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete some old, dead release code
-
Maisem Ali authored
-