- 27 Jun, 2017 2 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48012, 47443, 47702, 47178) incluster config will be used when creating external shared informers. **What this PR does / why we need it**: Previously the loopback configuration was used to talk to the server. As a consequence a custom API server was unable to talk to the root API server. This PR changes the above by using incluster configuration to create shared informers. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48012, 47443, 47702, 47178) Extending timeout waiting for delete node to become ready before the test ends. **What this PR does / why we need it**: It seems to take longer than 5 minutes for the node to recover. Changing the timeout to 10 minutes. This is an extension of PR #46746 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48008 /release-note-none
-
- 26 Jun, 2017 38 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update custom-resources example in client-go - Update client-go examples `README.md` to point to the CustomResources example instead of the deprecated TPR one. - Delete `staging/src/k8s.io/client-go/examples/custom-resources`. Fixing #47743. **Release note**: ```release-note NONE ``` /cc @ahmetb @sttts
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) don't pass CRI error through to waiting state reason Raw gRPC errors are getting into the `Reason` field of the container status `State`, causing it to be output inline on a `kubectl get pod` xref https://bugzilla.redhat.com/show_bug.cgi?id=1449820 Basically the issue is that the err and msg are reversed in `startContainer()`. The msg is short and the err is long. It should be the other way around. This PR changes `startContainer()` to return a short error that becomes the Reason and the extracted gPRC error description that becomes the Message. @derekwaynecarr @smarterclayton @eparis
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) Fix error in local-cluster-up When $GO_OUT is not set, line 152 outputs an error. ``` ./hack/local-up-cluster.sh: line 152: [: ==: unary operator expected ``` This occurs because the if condition expands as `if [ == "" ]`. This results in an error because == is a binary operator and expects something on the LHS. **Release note**: ```release-note NONE ``` cc @sttts FYI @Gouthamve
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) Retry finding RBAC version if not found in discovery cache Alternate to https://github.com/kubernetes/kubernetes/pull/47995 xref #47977 The caching discovery client can indicate whether it used fresh discovery data. `kubefed init` should invalidate and recheck if it doesn't find an RBAC API group ```release-note `kubefed init` correctly checks for RBAC API enablement. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) Move iptables logging in kubeproxy from Errorf to V(2).Infof Fixes https://github.com/kubernetes/kubernetes/issues/48052 This will stop fluentd from OOM'ing in reasonably large clusters with services due to kube-proxy. You'll still get iptables printed on setups which run at >= v2, but we can at least optout. @bowei Does this look reasonable? cc @kubernetes/sig-network-misc
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) Make background garbage collection cascading Fix #44046, fix #47843 where user reported that the garbage collector didn't delete pods when a deployment was deleted with PropagationPolicy=Background. The cause is that when propagating background garbage collection request, the garbage collector deletes dependents with DeleteOptions.PropagationPolicy=nil, which means the default GC policy of a resource (defined by its REST strategy) and the existing GC-related finalizers will decide how the delete request is propagated further. Unfortunately, the default GC policy for RS is orphaning, so the pods are behind when a deployment is deleted. This PR changes the garbage collector to delete dependents with DeleteOptions.PropagationPolicy=Background when the owner is deleted in background. This means the dependent's existing GC finalizers will be overridden, making orphaning less flexible (see this made-up [case](https://github.com/kubernetes/kubeadm/issues/149#issuecomment-278942012)). I think sacrificing the flexibility of orphaning is worthwhile, because making the behavior of background garbage collection matching users' expectation is more important. cc @lavalamp @kargakis @krmayankk @enisoc ```release-note The garbage collector now cascades deletion properly when deleting an object with propagationPolicy="background". This resolves issue [#44046](https://github.com/kubernetes/kubernetes/issues/44046), so that when a deployment is deleted with propagationPolicy="background", the garbage collector ensures dependent pods are deleted as well. ```
-
Nikhita Raghunath authored
Remove custom-resources directory from client-go Add TPR example back Mention CRD is successor to TPR
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47860, 47170) Fix restart action on juju kubernetes-master **What this PR does / why we need it**: Restart action of kubernetes-master of Juju is not functioning. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/299 **Special notes for your reviewer**: **Release note**: ``` Fix: Restart action of juju's kubernetes-master restarts the respective snap based services ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47860, 47170) Make fluentd log to stdio instead of a dedicated file Lower verbosity also, to reduce volume of system logs exported to the backend. Fix https://github.com/kubernetes/kubernetes/issues/43772 /cc @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48036, 48022) Move more printers to TablePrinter Continues work from 1.7
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48036, 48022) apiextensions-apiserver: fix build Can't build CRD due to this bug. This PR will fix it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48074, 47971, 48044, 47514, 47647) Use more meaningful and consistent variable names in glusterfs plugin.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48074, 47971, 48044, 47514, 47647) Move LoadPodFromFile to volume utils SavePodToFile is not used anywhere and LoadPodFromFile is used only by PV recycler. Fix #16970 ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48074, 47971, 48044, 47514, 47647) Update kube-dns to 1.14.4 - Fixes broken arm dnsmasq image - Fixes kube-dns log spam issue https://github.com/kubernetes/dns/issues/111 ```release-note none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48074, 47971, 48044, 47514, 47647) e2e: bump kubelet's resurce usage limit We don't have per-OS image limits. Bumping these to more generous numbers to not fail the tests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump Cluster Autoscaler to 0.6.0 ```release-note Cluster Autoscaler 0.6 ``` cc: @MaciekPytel @aleksandra-malinowska @wasylkowski
-
Shyam Jeedigunta authored
-
Chao Xu authored
policy if the object doesn't already have finalizers.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Revert "Decrese fluentd cpu request" Reverts kubernetes/kubernetes#47906
-
Jordan Liggitt authored
-
Nikhita Raghunath authored
When $GO_OUT is not set, line 152 will output the error: [: ==: unary operator expected. This occurs because the if condition becomes if [ == "" ]. This results in an error because == is a binary operator.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47656, 47488) Checked whether balanced Pods were created. **What this PR does / why we need it**: In #47382, it seems balanced Pods were not created; this PR will check whether balanced Pods were created, and show logs. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: partially fixes #47382 **Release note**: ```release-note-none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Speed up PV integration tests Integration tests are ~20 seconds shorter. Before (with #47645 applied): ``` --- PASS: TestPodDeletionWithDswp (3.70s) --- PASS: TestPodUpdateWithWithADC (3.61s) --- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.59s) --- PASS: TestPodAddedByDswp (5.69s) --- PASS: TestPersistentVolumeRecycler (2.68s) --- PASS: TestPersistentVolumeDeleter (12.61s) --- PASS: TestPersistentVolumeBindRace (12.53s) --- PASS: TestPersistentVolumeClaimLabelSelector (12.52s) --- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (2.62s) --- PASS: TestPersistentVolumeMultiPVs (3.98s) --- PASS: TestPersistentVolumeMultiPVsPVCs (3.67s) --- PASS: TestPersistentVolumeControllerStartup (7.41s) --- PASS: TestPersistentVolumeProvisionMultiPVCs (4.85s) --- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (2.71s) ok k8s.io/kubernetes/test/integration/volume 82.304s ``` After: ``` --- PASS: TestPodDeletionWithDswp (3.70s) --- PASS: TestPodUpdateWithWithADC (3.61s) --- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.63s) --- PASS: TestPodAddedByDswp (5.73s) --- PASS: TestPersistentVolumeRecycler (3.53s) --- PASS: TestPersistentVolumeDeleter (4.56s) --- PASS: TestPersistentVolumeBindRace (3.52s) --- PASS: TestPersistentVolumeClaimLabelSelector (3.52s) --- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (3.49s) --- PASS: TestPersistentVolumeMultiPVs (3.07s) --- PASS: TestPersistentVolumeMultiPVsPVCs (3.94s) --- PASS: TestPersistentVolumeControllerStartup (7.64s) --- PASS: TestPersistentVolumeProvisionMultiPVCs (6.25s) --- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (3.55s) ok k8s.io/kubernetes/test/integration/volume 59.945s ``` /assign @gnufied @kubernetes/sig-storage-pr-reviews Release note ```release-note NONE ```
-
Clayton Coleman authored
-
Marcin Wielgus authored
-
Piotr Szczesniak authored
-
Jan Safranek authored
Removal of io.go revealed new lint errors in pkg/util/io
-
Jan Safranek authored
SavePodToFile is not used anywhere and LoadPodFromFile is used only by PV recycler.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Retry service syncs with exponential backoff in endpoints-controller This should make it avoid missing any syncs. /cc @smarterclayton @gmarek @seh
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46425, 47975) make proto time precision match json json readers/writers see second precision, but protobuf readers/writers seen nanosecond precision. This means that a json client can read and write and accidentally mutate fields as seen by protobuf clients. This makes the precision consistent. @kubernetes/sig-api-machinery-misc @smarterclayton ```release-note Update protobuf time serialization for a one second granularity ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Move the workload e2e tests to it's own package **What this PR does / why we need it**: Move the workload e2e tests to it's own package **Release note**: ``` None ```
-
Shyam Jeedigunta authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Get rid of 30s ResyncPeriod in endpoint controller Ref: #47597 This should fix one of the demons of endpoint controller. /cc @smarterclayton @gmarek
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47961, 46276) Remove duplicate error message output in hyperkube. **What this PR does / why we need it**: Currently hyperkube binary will always print duplicate messages if fatal error occurs: ``` $ ./kubelet # run without permission I0523 08:38:02.642638 25701 feature_gate.go:144] feature gates: map[] W0523 08:38:02.642827 25701 server.go:472] No API client: no api servers specified Error: failed to run Kubelet: error reading /var/run/kubernetes/kubelet.key, certificate and key must be supplied as a pair Error: failed to run Kubelet: error reading /var/run/kubernetes/kubelet.key, certificate and key must be supplied as a pair ``` This is due to RunToExit will print out the error which Run has just printed. https://github.com/kubernetes/kubernetes/blob/8bee44b/cmd/hyperkube/hyperkube.go#L178-L189 This was introduced in following commit for adding GOMAXPROCS calls. https://github.com/kubernetes/kubernetes/commit/1e679f0069f629d76fcab6f9f39ef0efc1814cc4 The following commit removes GOMAXPROCS calls, but did not remove the corresponding error output line. https://github.com/kubernetes/kubernetes/commit/88ea80b5728fe4adb5c0f43f0283302ab3b9eb22 **Which issue this PR fixes** **Special notes for your reviewer**: **Release note**:
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47961, 46276) Bumped Heapster to v1.4.0-beta.0 Heapster release candidate for Kubernetes 1.7 cc @dchen1107 @caesarxuchao
-
Bowei Du authored
- Fixes broken arm dnsmasq image - Fixes kube-dns log spam issue
-
Chao Xu authored
-
Hongchao Deng authored
-