Commit Graph

71348 Commits

Author SHA1 Message Date
Pradip-Khakurel
8c4fd312c9 make error messages more helpful for some e2e auth tests 2018-10-18 22:03:02 +02:00
k8s-ci-robot
e9d1514b95
Merge pull request #68994 from charrywanganthony/pr_template
Add guidance for testing in the PR template
2018-10-18 12:47:07 -07:00
Sean Sullivan
ffd4ea963d kubectl: copy deployment util dependency into kubectl 2018-10-18 12:02:39 -07:00
Chris O'Haver
0cfb4bbe2c make coredns kubeup default, update manifest 2018-10-18 14:52:38 -04:00
Brad Hoekstra
409a48ef91 Set the default for EnableServiceLinks only in Pod 2018-10-18 13:44:21 -04:00
k8s-ci-robot
4d66eeb922
Merge pull request #69709 from seans3/kubectl-translate-fix
kubectl: move translated data into kubectl
2018-10-18 10:25:18 -07:00
Han Kang
56cd8ecf08 fix lint issues in the apis/abac directory (except latest.go) 2018-10-18 09:05:04 -07:00
Lubomir I. Ivanov
8c9cb0c71f docs/admin: add OWNERS file with cmd/kubeadm approvers 2018-10-18 18:45:17 +03:00
Chris O'Haver
402266afde add dns pod memory constraint 2018-10-18 10:35:30 -04:00
bjhaid
44bed94f0e Opt out of chowning and chmoding from kubectl cp.
`kubectl cp` relies on tar to extract the copied file/directory in the
container, tar by default attempts to chown/chmod the extracted file
after extraction if the user is the "superuser"(root)

```
--same-owner
try extracting files with the same ownership as exists in the archive
(default for superuser)
-p, --preserve-permissions, --same-permissions
extract information about file permissions (default for superuser)
```

This fails in environment where the container runs as root but is not
granted the OWNER or CHOWN capability.

Before this patch below was the behavior of `kubectl cp`

```
kubectl cp README.md foo-67b6fcbd4c-qjlt6:/tmp
tar: README.md: Cannot change ownership to uid 1000, gid 1000: Operation
not permitted
tar: Exiting with failure status due to previous errors
command terminated with exit code 2
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw------- 1 1000 1000 3179 Oct  7 22:00 /tmp/README.md
```

After this patch

```
kubectl cp -x a foo-67b6fcbd4c-qjlt6:/
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw-r--r-- 1 root root 3179 Oct  7 22:00 /tmp/README.md
```
2018-10-18 14:16:06 +00:00
k8s-ci-robot
d425258532
Merge pull request #69788 from ravisantoshgudimetla/taint-based-eviction
Add test cases for taintbasedevictions
2018-10-18 06:34:31 -07:00
Matt Matejczyk
803ee8426d Add EndpointsLastTriggerTime annotation. 2018-10-18 09:25:27 -04:00
k8s-ci-robot
b5c25728ec
Merge pull request #69718 from andyzhangx/azurefile-premium
support Azure premium file for azure file plugin
2018-10-18 05:18:50 -07:00
Rostislav M. Georgiev
91049ef77b kubeadm: Introduce config print init/join-defaults
In order to improve the UX of kubeadm, it was decided to introduce the
following subcommands:

- `kubeadm config print` - this is currently only a placeholder for subcommands
  that deal printing of some kind of configuration.
- `kubeadm config print init-defaults` - prints the default combination of
  InitConfiguration and ClusterConfiguration. Selected component configs can be
  printed too if the `--component-configs` command line switch is used.
- `kubeadm config print join-defaults` - prints the default JoinConfiguration.
  This command also supports the use of `--component-configs`.
- `kubeadm config print-defaults` is deprecated in favor of
  `kubeadm config print init/join-defaults`.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-10-18 14:21:02 +03:00
fabriziopandini
22da6a66a2 autogenerated 2018-10-18 11:52:15 +02:00
fabriziopandini
abac950cd7 kubeadm graduate preflight phase 2018-10-18 11:52:04 +02:00
k8s-ci-robot
0ab29b4852
Merge pull request #69944 from jingxu97/defertest
Make sure kubelet is restarted after it is stopped in the test
2018-10-18 00:10:54 -07:00
chao wang
a6a5c91a06 Add guidance for testing in the PR template 2018-10-18 14:29:18 +08:00
k8s-ci-robot
1ba06b0444
Merge pull request #69939 from ixdy/clean-crossbuild-protoc-3.0.2
Clean cross-build image and update to protoc 3.0.2
2018-10-17 22:25:59 -07:00
k8s-ci-robot
060ecb8837
Merge pull request #69936 from seans3/describe-fix
kubectl: remove internalclientset dependency
2018-10-17 22:25:49 -07:00
k8s-ci-robot
7a53a075e4
Merge pull request #69824 from Huang-Wei/enable-TaintBasedEvictions
promote TaintBasedEvictions featuregate to beta
2018-10-17 21:04:04 -07:00
Pingan2017
797f0ac660 remove unneed if block for kubectl delete command 2018-10-18 11:33:45 +08:00
k8s-ci-robot
aad6437aa9
Merge pull request #64061 from wgliang/master.remove-unused-code-pkg-controller
remove unused code of (pkg/controller)
2018-10-17 19:54:05 -07:00
k8s-ci-robot
6f4b768c94
Merge pull request #65350 from liggitt/simplify-taint-manager-key
Simplify taint manager workqueue keys
2018-10-17 18:39:03 -07:00
Katharine Berry
9ec5b7ffde Include vendor/k8s.io in coverage. 2018-10-17 17:15:27 -07:00
k8s-ci-robot
feb6475a30
Merge pull request #68952 from grayluck/node-cidr-size
Skip node cidr mask size check for cloud allocation
2018-10-17 16:19:49 -07:00
k8s-ci-robot
0652e098d0
Merge pull request #67547 from pbarker/audit-api
dynamic audit configuration api
2018-10-17 16:19:39 -07:00
Jing Xu
9de354034b Make sure kubelet is restarted in the storage test
In some storage tests, kubelet is stopped first and the test check node
NotReady state. However, if it fails to have this state, kubelet could
not be restarted because the defer function is placed after the stop
kubelet command. This PR fixes this issue.
2018-10-17 14:19:04 -07:00
k8s-ci-robot
bc79dcfd05
Merge pull request #69933 from wangzhen127/fix
Put node lease lister behind feature gate
2018-10-17 13:42:12 -07:00
k8s-ci-robot
5f750c593f
Merge pull request #69837 from guineveresaenger/pr-labels
Adds label prompt and explanation to pull request template
2018-10-17 13:42:02 -07:00
Jeff Grafton
2812b55263 Clean cross-build image and update to protoc 3.0.2 2018-10-17 11:57:46 -07:00
k8s-ci-robot
30a06af453
Merge pull request #69671 from mooncak/fix_kubelet
Delete duplicated words in logs
2018-10-17 11:57:12 -07:00
k8s-ci-robot
897b3a9fa7
Merge pull request #69437 from ravisantoshgudimetla/promote-resource-limits-priority-function
Promote resource limits priority function to beta
2018-10-17 11:57:02 -07:00
k8s-ci-robot
1669277bb3
Merge pull request #68350 from wgliang/fixbug/recursive-call-cloudprovider
fix bug, infinite recursive call of GetLoadBalancerName()
2018-10-17 11:56:51 -07:00
k8s-ci-robot
e85cb406eb
Merge pull request #65567 from ceshihao/pod_status_after_eviction
Pod status should contain ContainerStatuses if deadline exceeded
2018-10-17 11:56:41 -07:00
k8s-ci-robot
7c17beb639
Merge pull request #65477 from pusher/fix-client-ca-hook
Minimize writes to the client CA ConfigMap during API server start up
2018-10-17 11:56:30 -07:00
yankaiz
e3121c1f81 Skip node cidr mask size check for cloud allocation.
Unittest added for node_ipan_controller.go.
2018-10-17 11:29:49 -07:00
Sean Sullivan
b7f8369da2 kubectl: move translated data into kubectl 2018-10-17 10:34:21 -07:00
Sean Sullivan
a76b6ee56a kubectl: remove internalclientset dependency 2018-10-17 10:23:55 -07:00
Zhen Wang
7bb61c566d Put node lease lister behind feature gate 2018-10-17 09:41:30 -07:00
k8s-ci-robot
688550b2d3
Merge pull request #69838 from mikedanese/testonly
make tokentest available to tests only
2018-10-17 08:42:02 -07:00
Jordan Liggitt
9503c64f27 Simplify taint manager workqueue keys 2018-10-17 10:47:14 -04:00
k8s-ci-robot
0d6f6a680b
Merge pull request #68441 from smarterclayton/describe_dependency
Move versioned generators into their own package
2018-10-17 04:24:06 -07:00
SataQiu
8d4f4d3d70 remove duplicate kubeadm root check 2018-10-17 18:07:10 +08:00
k8s-ci-robot
7de4c007f7
Merge pull request #69858 from losipiuk/jobs-rbac
Grant permissions for batch/job to cluster-autoscaler
2018-10-17 01:22:14 -07:00
k8s-ci-robot
ec87d22dea
Merge pull request #66057 from xujieasd/cleanLeacyBindAddr-test
add UT code for cleanLegacyBindAddr
2018-10-17 01:22:05 -07:00
Ed Bartosh
ad0179897d kubeadm: skip upgrade if manifest is not changed
When doing upgrades kubeadm generates new manifest and
waits until kubelet restarts correspondent pod.

However, kubelet won't restart pod if there are no changes
in the manifest. That makes kubeadm stuck waiting for
restarted pod.

Skipping upgrade if new component manifest is the same as
current manifest should solve this.

Fixes: kubernetes/kubeadm#1054
2018-10-17 11:07:51 +03:00
Jesse Haka
5ff99a2a58 delete node from aws if it is terminated
fix comment
2018-10-17 10:11:09 +03:00
k8s-ci-robot
399cade806
Merge pull request #69914 from mikedanese/trev8
add some helpers to Audiences to find intersecting audiences
2018-10-17 00:04:37 -07:00
k8s-ci-robot
a3e6c3c0a0
Merge pull request #69900 from php-coder/update_owners_files
Remove myself from OWNERS files
2018-10-17 00:04:27 -07:00