- 23 Jun, 2017 29 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47915, 47856, 44086, 47575, 47475) kubelet should resume csr bootstrap Right now the kubelet creates a new csr object with the same key every time it restarts during the bootstrap process. It should resume with the old csr object if it exists. To do this the name of the csr object must be stable. Issue https://github.com/kubernetes/kubernetes/issues/47855
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump event-exporter version to reduce warnings noise Fixes https://github.com/kubernetes/kubernetes/issues/47914
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792) Avoid redundant copying of tars during kube-up for gce if the same file already exists **What this PR does / why we need it**: Whenever I execute cluster/kube-up.sh it copies my tar files to google cloud, even if the files haven't changed. This PR checks to see whether the files already exist, and avoids uploading them again. These files are large and can take a long time to upload. **Which issue this PR fixes**: fixes #46791 **Special notes for your reviewer**: Here is the new output: cluster/kube-up.sh ... Starting cluster in us-central1-b using provider gce ... calling verify-prereqs ... calling verify-kube-binaries ... calling kube-up Project: PROJECT Zone: us-central1-b +++ Staging server tars to Google Storage: gs://kubernetes-staging-PROJECT/kubernetes-devel +++ kubernetes-server-linux-amd64.tar.gz uploaded earlier, cloud and local file md5 match (md5 = 3a095kcf27267a71fe58f91f89fab1bc) **Release note**: ```cluster/kube-up.sh on gce now avoids redundant copying of kubernetes tars if the local and cloud files' md5 hash match```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792) [Federation] Convert the ReplicaSet controller to a sync controller. See #45563 for previous discussion: that PR was split into two, with this one containing the actual conversion work and that one containing the implementation of the scheduling methods in the sync controller. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792) Add test case for namespace **What this PR does / why we need it**: Unit test case need add that when name is "". **Special notes for your reviewer**: refer to https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/namespace.go#L74 **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792) add ContainerRuntimeVersion to `kubectl get nodes -o=wide` output **What this PR does / why we need it**: adds container runtime version to `kubectl get nodes -o=wide` output as a way to surface more node-level information When upgrading to a new container runtime version (docker 1.11 -> docker 1.12) or when experimenting with a different container runtime version (experimenting with rkt in a docker cluster), it's useful for cluster operators to see which nodes are running which container runtime version. `kubectl get nodes -o=wide` already provides kernel and OS version, and I believe adding container runtime version would be good. **Release note**: ```release-note container runtime version has been added to the output of `kubectl get nodes -o=wide` as `CONTAINER-RUNTIME` ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47403, 46646, 46906, 46527, 46792) E2E:Delete unecessary check **What this PR does / why we need it**: Delete meaningless check The deleted check is redundant. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix error message of isDir **What this PR does / why we need it**: Use IsRegular to replace isDir Accoding to the code logic, using IsRegular is proper. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add test for kubectl create pdb **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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696) Mark deprecated info in short description of deprecated commands. **What this PR does / why we need it**: Mark deprecated commands in 'kubectl help'. See https://github.com/kubernetes/kubectl/issues/20 **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/kubernetes/kubectl/issues/20 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696) Move seccomp helper methods and tests to platform-specific files. **What this PR does / why we need it**: Seccomp helper methods are for linux only, move them to linux-specific helper file. As discussed in https://github.com/kubernetes/kubernetes/pull/46744 **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 47227, 47119, 46280, 47414, 46696) Improve code coverage for pkg/printer **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 NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47227, 47119, 46280, 47414, 46696) controller: fix error message **What this PR does / why we need it**: just fix error typo, think you :) **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 correct the name of the script to generate swagger doc **What this PR does / why we need it**: The name of the script to generate swagger doc is not correct, this PR is to fix it. **Which issue this PR fixes**: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue volumes: SetNodeStatusUpdateNeeded on error If an error happened during the UpdateNodeStatuses loop, there were some code paths where we would not call SetNodeStatusUpdateNeeded, leaking the state. Add it to all paths by adding a function. Part of #40583 ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401) AWS: Set CredentialsChainVerboseErrors This avoids a rather confusing error message. Fix #39374 ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401) Fix firewall e2e test for multizone CIs Fixes #46894. - Getting node/master tags from config instead of instance. - Don't assume instance always run in default zone. /assign @freehan **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401) Change cephfs secret related logs level Fixes: #45387 **Release note**: ```release-note NONE ``` /cc @rootfs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47922, 47195, 47241, 47095, 47401) Run cAdvisor on the same interface as kubelet **What this PR does / why we need it**: cAdvisor currently binds to all interfaces. Currently the only solution is to use iptables to block access to the port. We are better off making cAdvisor to bind to the interface that kubelet uses for better security. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Fixes #11710 **Special notes for your reviewer**: **Release note**: ```release-note cAdvisor binds only to the interface that kubelet is running on instead of all interfaces. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove limits from ip-masq-agent for now and disable ip-masq-agent in GCE ip-masq-agent when issuing an iptables-save will read any configured iptables on the node. This means that the ip-masq-agent's memory requirements would grow with the number of iptables (i.e. services) on the node. **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 # #47865 **Special notes for your reviewer**: **Release note**: ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923) Remove unnecessary wrapper flags **What this PR does / why we need it**: Drop KUBE_GOFLAGS, KUBE_GOGCFLAGS, KUBE_GOLDFLAGS references from the build infrastructure **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47296 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923) Add git branch to make build short hash unique **What this PR does / why we need it**: KUBE_ROOT_HASH depends just on the host name and directory path. So when working with branches, it could lead to some confusion since the hash is the same even when you switch from branch to branch. Let us use the git branch information when we compute the short hash **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Fixes #1801 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47921, 45984, 46829, 46896, 46923) Create output_dir if doesn't exist **What this PR does / why we need it**: Minor fix to the swagger spec gen, that if the directory doesn't exist, create it before copying. **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 (batch tested with PRs 47921, 45984, 46829, 46896, 46923) Move govet verify into rest of verify*-.sh scripts **What this PR does / why we need it**: Instead of having two govet scripts, consolidate them to into one and have both the Makefile and verify.sh scripts target the same script. This also will allow proper syntax highlighting and timing when the vet script is run as part of `make verify`. **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/kubernetes/test-infra/issues/2725 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /cc @fejta @rmmh
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't audit log tokens in TokenReviews We don't want to leak auth tokens in the audit logs, so only log TokenReview requests at the metadata level. Issue: kubernetes/features#22
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Give developer more help info when running integration tests without etcd found. **What this PR does / why we need it**: When running integration tests, if etcd version on env is lower than expected, developer will get info `You can use 'hack/install-etcd.sh' to install a copy in third_party/.` It would be better to have the same info if no etcd installed on env. **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 ```
-
Dong Liu authored
-
Jonathan MacMillan authored
-
Daniel Nardo authored
ip-masq-agent when issuing an iptables-save will read any configured iptables on the node. This means that the ip-masq-agent's memory requirements would grow with the number of iptables (i.e. services) on the node. Disable ip-masq-agent in GCE
-
- 22 Jun, 2017 11 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix link to apiextensions client-go example Fixes link to client-go example for apiextensions-apiserver. Fixing #47211. **Special notes for your reviewer**: When I run `hack/update-staging-client-go.sh`, I get this error: ``` !!! Error in staging/copy.sh:132 Error in staging/copy.sh:132. 'git commit -q -m "Snapshot" > /dev/null' exited with status 1 Call stack: 1: staging/copy.sh:132 main(...) Exiting with status 1 ``` What am I missing here? /cc @caesarxuchao @sttts **Release note**: ``` NONE ``` -
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix broken command in registry addon document **What this PR does / why we need it**: Fix a command example in registry addon document so it matches the example yaml above.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Shorten issue template. **What this PR does / why we need it**: As discussed on contrib-ex, this shortens the github issue template. - Be more explicit about sending people to stackoverflow for support - Add boilerplate for setting an issue as a bug or feature - Add boilerplate for setting a SIG - Cut out the rest for brevity.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix the typo in translations' README.md **What this PR does / why we need it**: Tiny fix the typo in README file. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # No issues.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Modify NewVolumeManager() function return value
-
Mike Danese authored
Right now the kubelet creates a new csr object with the same key every time it restarts during the bootstrap process. It should resume with the old csr object if it exists. To do this the name of the csr object must be stable. Also using a list watch here eliminates a race condition where a watch event is missed and the kubelet stalls.
-
Chao Xu authored
Create staging folder for repo k8s.io/api, move external API used by client-go to k8s.io/api
-
Tim St. Clair authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47906, 47910) Reduce scheduler CPU request to 75m On a 1 cpu master we are over budget with CPU requests. Components like npd or cluster autoscaler don't have *any* space to run. We need to reduce some requests. cc: @gmarek @mikedanese @roberthbailey @davidopp @dchen1107
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Decrese fluentd cpu request Fix #47905 cc @piosz - this should fix your tests. cc @dchen1107
-
Chao Xu authored
-