- 11 May, 2017 3 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45382, 45384, 44781, 45333, 45543) Ensure desired state of world populator runs before volume reconstructor If the kubelet's volumemanager reconstructor for actual state of world runs before the desired state of world has been populated, the pods in the actual state of world will have some incorrect volume information: namely outerVolumeSpecName, which if incorrect leads to part of the issue here https://github.com/kubernetes/kubernetes/issues/43515, because WaitForVolumeAttachAndMount searches the actual state of world with the correct outerVolumeSpecName and won't find it so reports 'timeout waiting....', etc. forever for existing pods. The comments acknowledge that this is a known issue The all sources ready check doesn't work because the sources being ready doesn't necessarily mean the desired state of world populator added pods from the sources. So instead let's put the all sources ready check in the *populator*, and when the sources are ready, it will be able to populate the desired state of world and make "HasAddedPods()" return true. THEN, the reconstructor may run. @jingxu97 PTAL, you wrote all of the reconstruction stuff ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45382, 45384, 44781, 45333, 45543) Copy internal types to metrics Supersedes #45306. #45306 removed the internal types and suggested whoever needs the internal types should define their own copy, and use the code-gen tools to generated the conversion functions. Per offline discussion with @DirectXMan12, we wanted to go that direction but it's not clear where to put the internal types yet. Hence, as a temporary solution, we decided copy the referred client-go/pkg/api types into metrics api to avoid the dependency. The commit "remove need of registry from custom_metrics/client.go" is similar to what I did to the fake client in an earlier PR. Let me know if you want to put the commit in another PR.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45382, 45384, 44781, 45333, 45543) [Federation] Provide updater timeout to instance rather than to Update() This PR changes the federated updater to receive its timeout at construction rather than on every call to Update(). This provides a slight decrease in coupling by removing the need for the deletion handler to be provided the timeout along with the updater. cc: @kubernetes/sig-federation-pr-reviews @perotinus
-
- 10 May, 2017 25 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add sts alias for kubectl statefulset
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add myself to client-go OWNERS **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 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Improve the logging and user feedback in 'kubefed init' This is a follow-up to #41849, which added some status information. This PR is based off of that one, and includes its changes as well. See #41725. ```release-note None ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add owners to new packages Adds owners files to some packages that need it.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Edge based winuserspace proxy Last PR in the series of making kube-proxy event-based. This is a sibling PR to https://github.com/kubernetes/kubernetes/pull/45356 that is already merged. The second commit is removing the code that is no longer used.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable shared PID namespace by default for docker pods **What this PR does / why we need it**: This PR enables PID namespace sharing for docker pods by default, bringing the behavior of docker in line with the other CRI runtimes when used with docker >= 1.13.1. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: ref #1615 **Special notes for your reviewer**: cc @dchen1107 @yujuhong **Release note**: ```release-note Kubernetes now shares a single PID namespace among all containers in a pod when running with docker >= 1.13.1. This means processes can now signal processes in other containers in a pod, but it also means that the `kubectl exec {pod} kill 1` pattern will cause the pod to be restarted rather than a single container. ``` -
Anthony Yeh authored
-
Maru Newby authored
-
Justin Santa Barbara authored
Saves a lot of typing!
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue azure: load balancer: support UDP, fix multiple loadBalancerSourceRanges support, respect sessionAffinity **What this PR does / why we need it**: 1. Adds support for UDP ports 2. Fixes support for multiple `loadBalancerSourceRanges` 3. Adds support the Service spec's `sessionAffinity` 4. Removes dead code from the Instances file **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #43683 **Special notes for your reviewer**: n/a **Release note**: ```release-note azure: add support for UDP ports azure: fix support for multiple `loadBalancerSourceRanges` azure: support the Service spec's `sessionAffinity` ```
-
Chao Xu authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue modify the outdated link modify the outdated link
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add support for PodPreset in `kubectl get` command **What this PR does / why we need it**: PR title **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44736 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45453, 45307, 44987) [Federation] Add a worker queue to the generic sync controller. This is in preparation for converting the ReplicaSet controller to be a generic sync controller. This doesn't include support for multiple workers yet: it's not immediately obvious how to support the command-line flags for ReplicaSet (or, I suppose in general, how do TypeAdapters support external configuration via whatever flag mechanism we're using). cc @marun **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45453, 45307, 44987) Migrate the docker client code from dockertools to dockershim Move docker client code from dockertools to dockershim/libdocker. This includes DockerInterface (renamed to Interface), FakeDockerClient, etc. This is part of #43234
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45453, 45307, 44987) Init cache with assigned non-terminated pods before scheduling **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #45220 **Release note**: ```release-note The fix makes scheduling go routine waiting for cache (e.g. Pod) to be synced. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Filter out IPV6 addresses from NodeAddresses() returned by vSphere The vSphere CP returns both IPV6 and IPV4 addresses for a Node as part of NodeAddresses() implementation. However, Kubelet fails due to duplicate api.NodeAddress value when the node has an IPV6 address associated with it. This issue is tracked in #42690. The following are observed: - when we enabled the logs and checked the addresses sent by vSphere CP to Kubelet, we don't see any duplicate addresses at all. - Also, kubelet_node_status doesn’t receive any duplicate address from cloud provider. However, when we filter out the IPV6 addresses and only return IPV4 addresses to the Kubelet, it works perfectly fine. Even though the Kubelet receives the non-duplicate node-addresses, it still errors out with duplicate node addresses. It might be an issue when kubelet propagates these addresses to API server (or) API server is enable to handle IPV6 addresses. @divyenpatel @abrarshivani @pdhamdhere @tusharnt **Release note**: ```release-note None ```
-
Chao Xu authored
-
Chao Xu authored
client, which will be fixed soon
-
Chao Xu authored
-
Chao Xu authored
remove init and reference to client-go/api from metrcis install package
-
Chao Xu authored
-
xiangpengzhao authored
-
- 09 May, 2017 12 commits
-
-
Jonathan MacMillan authored
-
Jonathan MacMillan authored
-
Matthew Wong authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue rkt: Generate a new Network Namespace for each Pod **What this PR does / why we need it**: This PR concerns the Kubelet with the Container runtime rkt. Currently, when a Pod stops and the kubelet restart it, the Pod will use the **same network namespace** based on its PodID. When the Garbage Collection is triggered, it delete all the old resources and the current network namespace. The Pods and all containers inside it loose the _eth0_ interface. I explained more in details in #45149 how to reproduce this behavior. This PR generates a new unique network namespace name for each new/restarting Pod. The Garbage collection retrieve the correct network namespace and remove it safely. **Which issue this PR fixes** : fix #45149 **Special notes for your reviewer**: Following @yifan-gu guidelines, so maybe expecting him for the final review. **Release note**: `NONE`
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue cni Log changes Newly modified log error, modified
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Skip inspecting pod network if unknown namespace **What this PR does / why we need it**: If we fail to determine the network namespace of a container we still try to inspect the state - even though there is no way for it to succeed. This leads to errors like: > NetworkPlugin cni failed on the status hook for pod "X": Unexpected command output nsenter: cannot open : No such file or directory Instead, if we cannot determine the network namespace, we should just exit with a (hopefully) more clear error message. I left the wording as assuming a terminated pod, based on: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/helpers.go#L208-L211 ref: https://github.com/kubernetes-incubator/bootkube/issues/475 https://github.com/coreos/coreos-kubernetes/issues/856
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue oidc auth plugin not to override the Auth header if it's already exits **What this PR does / why we need it**: oidc auth client plugin should not override the `Authorization` header if it's already exits. **Which issue this PR fixes** : fix oidc auth plugin override the` Authorization` header **Special notes for your reviewer**: **Release note**:
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45304, 45006, 45527) Fixed indent for some statefulset for e2e test. **What this PR does / why we need it**: Make sure the e2e test passed for statefulset. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #45526 **Special notes for your reviewer**: **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45304, 45006, 45527) Add node e2e tests for hostIPC **What this PR does / why we need it**: Add node e2e tests for hostIPC. **Which issue this PR fixes** Part of #44118. **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /assign @Random-Liu @yujuhong
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45304, 45006, 45527) increase the QPS for namespace controller The namespace controller is really chatty. Especially to discovery since that involves two requests for every API version available. This bumps the QPS and burst on the namespace controller to avoid being stuck waiting.
-
Klaus Ma authored
-
Klaus Ma authored
-