Commit Graph

73979 Commits (509bd528957bdb934a1195489d7c410563045a17)

Author SHA1 Message Date
Kubernetes Prow Robot 68909b5683
Merge pull request #70784 from gaorong/typo-fix
fix some typos
2019-01-10 17:08:43 -08:00
Jonathan Basseri 28a6a446a1 Allow FeatureGate values to be overridden in benchmarks.
This updates `SetFeatureGateDuringTest` to use the `testing.TB`
interface, which matches *testing.T and *testing.B.
2019-01-10 16:20:08 -08:00
Kubernetes Prow Robot 94806e6a9a
Merge pull request #72739 from rajathagasthya/expandpv-72651
Remove ExpandPersistentVolumes feature gate from validation
2019-01-10 15:53:47 -08:00
Kubernetes Prow Robot 6a8ad537a7
Merge pull request #72688 from liggitt/token-test
Update service account token mount test
2019-01-10 14:42:51 -08:00
Kubernetes Prow Robot 08d7030f62
Merge pull request #72520 from dims/add-content-type-for-healthz-response
Ensure we set a content-type for healthz
2019-01-10 14:42:40 -08:00
Kubernetes Prow Robot b92756e85d
Merge pull request #72340 from makocchi-git/cadvisor_crisocket
kubelet: fixes cadvisor internal error
2019-01-10 14:42:30 -08:00
Kubernetes Prow Robot 0f50fdc58d
Merge pull request #71667 from pohly/testfiles-absolute
e2e/framework: absolute test file paths
2019-01-10 14:42:19 -08:00
Clayton Coleman 88cac12ce8
Support e2e testing via a bastion host for SSH commands
Until we port the remaining e2e tests to use exec host pods instead
of SSH, it should be possible to use bastion host when
clusters don't expose public IPs for nodes. Testers can use the
KUBE_SSH_BASTION environment variable set to a `host:port` to
specify the host that the tests will use as a jump host.

If KUBE_SSH_BASTION is specified, the test will first connect to
the bastion using SSH and the provider private key, then establish
a tunnel from the bastion to the target node by its IP. If the
node has an external IP, the external IP must be routable from the
bastion.
2019-01-10 17:10:09 -05:00
Clayton Coleman d09a655c4c
Allow a single SSH key to be used in all providers
Support KUBE_SSH_KEY_PATH as a single environment variable that if
specified ignores the provider specific settinsg and loads the
SSH private key from the provided path. Makes it much easier to
specify a consistent signer across providers.
2019-01-10 17:10:09 -05:00
Clayton Coleman c6ae7ae3b2
Move ssh related utilities into their own file
Code movement only.
2019-01-10 17:10:04 -05:00
Yu-Ju Hong f8ab673b8f Remove the rkt deprecation warning
The feature was deprecated 1.10. Remove the warning.
2019-01-10 13:27:23 -08:00
Rajath Agasthya da6c97f710 Remove ExpandPersistentVolumes feature gate from validation
Drops new PV Status.Conditions if old PV Status.Conditions was not set.
2019-01-10 12:43:20 -08:00
Kubernetes Prow Robot 5647244b0c
Merge pull request #72752 from rajathagasthya/sysctls-72651
Remove Sysctls feature gate from validation
2019-01-10 12:26:56 -08:00
mourya007 d0b35d1b05 Move TokenRequestProjection feature gate out of validation 2019-01-11 00:49:30 +05:30
Kubernetes Prow Robot ee9331e585
Merge pull request #72725 from dims/fix-reference-to-non-existing-variable-in-run_test
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
2019-01-10 11:16:13 -08:00
Vikranth Thati f72072cd60 Allow setting images for initContainers through kubectl set command. 2019-01-10 22:28:26 +05:30
Jordan Liggitt 61be3683f3 Deprecate DenyEscalatingExec and DenyExecOnPrivileged admission plugins 2019-01-10 11:57:12 -05:00
Thomas Hartland 1bcab05f7d Dereference number of replicas in describe statefulset 2019-01-10 14:56:18 +01:00
Kubernetes Prow Robot 3d9c6eb9e6
Merge pull request #72727 from bart0sh/PR0057-kubeadm-selfhosting-pivot-controller-manager-add-front-proxy-ca
kubeadm: add front-proxy CA certificate to selfhosting controller-manager
2019-01-10 05:06:57 -08:00
Kubernetes Prow Robot 8955857998
Merge pull request #71199 from k-toyoda-pi/fix_node_authn_e2e_test
e2e/auth: fix NodeAuthenticator tests not working
2019-01-10 02:31:28 -08:00
Wei Guo 44b2e8464b change the period of GarbageCollector.Sync to 200ms for TestGarbageCollectorSync 2019-01-10 17:51:53 +08:00
Kubernetes Prow Robot 4fec22b3e4
Merge pull request #72745 from ncdc/int-tests-stop-special-casing-KUBE_TEST_ARGS
int tests: stop special casing KUBE_TEST_ARGS
2019-01-10 01:18:51 -08:00
Kubernetes Prow Robot a6d7527ac3
Merge pull request #72280 from verb/kubelet-no-containertype
Remove container type from kubelet runtime labels
2019-01-10 01:18:41 -08:00
Kubernetes Prow Robot 0dbc99719a
Merge pull request #72076 from derekwaynecarr/pid-limiting
SupportPodPidsLimit feature beta with tests
2019-01-10 01:18:30 -08:00
Dmitry Rozhkov 43fce8d6e4 e2e-node-tests: fix path to system specs
e2e-node tests may use custom system specs for validating nodes to
conform the specs. The functionality is switched on when the tests
are run with this command:

    make SYSTEM_SPEC_NAME=gke test-e2e-node

Currently the command fails with the error:

    F1228 16:12:41.568836   34514 e2e_node_suite_test.go:106] Failed to load system spec: open /home/rojkov/go/src/k8s.io/kubernetes/k8s.io/kubernetes/cmd/kubeadm/app/util/system/specs/gke.yaml: no such file or directory

Move the spec file under `test/e2e_node/system/specs` and introduce a single
public constant referring the file to use instead of multiple private constants.
2019-01-10 10:37:55 +02:00
Roman Mohr f866ca079a Set omitempty on DataSource for snapshot on PVCs
Add "omitempty" to spec.dataSource like it is done for all other
optional fields too.

Serialized code creates otherwise "null" fields and some introspection
tools rely on that value to determine if a value is optional or
required.
2019-01-10 08:57:32 +01:00
Kubernetes Prow Robot 152226c557
Merge pull request #71198 from cofyc/go1.11-GOFLAGS-env
No need to pass GOFLAGS to $goflags variables with go 1.11
2019-01-09 23:35:09 -08:00
Kubernetes Prow Robot 97d7795070
Merge pull request #71504 from ping035627/k8s-181128
Perfect some logs description
2019-01-09 19:28:10 -08:00
Rajath Agasthya 5de2d7694d Remove Sysctls feature gate from validation 2019-01-09 18:56:11 -08:00
Tim Allclair 485b21e8cb Fix kube-proxy PodSecurityPolicy RoleBinding namespace 2019-01-09 17:57:15 -08:00
Kubernetes Prow Robot c9e1ffb0e7
Merge pull request #71952 from vyta/sig-windows-tests
Sig windows tests
2019-01-09 17:19:28 -08:00
Kubernetes Prow Robot 2c8b571d57
Merge pull request #71875 from wgliang/cleanup/remove-newfrom-functions
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 13:55:51 -08:00
Kubernetes Prow Robot bd5a4ccfc3
Merge pull request #72744 from deads2k/controller-04-namespace
delete as much content from a namespace as possible
2019-01-09 12:44:45 -08:00
Andy Goldstein 4c34895e0a
int tests: stop special casing KUBE_TEST_ARGS
Stop special casing KUBE_TEST_ARGS and limiting the API
group/version settings to "v1" when running the tests. This was
helpful in the past when we used to test multiple values for
KUBE_TEST_API_VERSIONS - if you were specifying KUBE_TEST_ARGS to run a
single test case, you probably didn't want to have it tested for
multiple values of KUBE_TEST_API_VERSIONS.

Now, however, KUBE_TEST_API_VERSIONS comes from
KUBE_AVAILABLE_GROUP_VERSIONS by default, which is a single list instead
of multiple, so we shouldn't need to special case KUBE_TEST_ARGS any
more. This is especially necessary because certain tests that are using
testapi break if KUBE_TEST_API_VERSIONS is just "v1".

Signed-off-by: Andy Goldstein <goldsteina@vmware.com>
2019-01-09 14:58:26 -05:00
David Eads 47ca64c8f2 delete as much content from a namespace as possible 2019-01-09 14:16:07 -05:00
Kubernetes Prow Robot 0ac65cdb85
Merge pull request #62406 from keitwb/patch-1
Fixing Update Function in FakeCustomStore
2019-01-09 10:20:24 -08:00
Kubernetes Prow Robot e6413d2042
Merge pull request #72653 from RomanKrasavtsev/RomanKrasavtsev-patch-3
Fix typo
2019-01-09 09:06:43 -08:00
Kubernetes Prow Robot d88994cf9f
Merge pull request #71306 from ping035627/k8s-181121
fix some typos
2019-01-09 09:06:31 -08:00
Patrick Lang 9468ca420d Updating README.md with fixed repo-list and --node-os-distro 2019-01-09 08:51:47 -08:00
Derek Carr bce9d5f204 SupportPodPidsLimit feature beta with tests 2019-01-09 10:50:59 -05:00
Kubernetes Prow Robot 49891cc270
Merge pull request #72698 from rajathagasthya/podsharepsnamespace-72651
Move PodShareProcessNamespace feature gate out of validation
2019-01-09 07:40:00 -08:00
Kubernetes Prow Robot 15521d0274
Merge pull request #72540 from immutableT/expose-kms-timeout-in-config-v2
Expose kms timeout value via encryption config.
2019-01-09 07:39:49 -08:00
Ed Bartosh d91861e883 kubeadm: add front-proxy CA certificate to selfhosting controller-manager
Selfhosting pivoting fails when using --store-certs-in-secrets
as controller-manager fails to start because of missing front-proxy CA
certificate:
    unable to load client CA file: unable to load client CA file: open
    /etc/kubernetes/pki/front-proxy-ca.crt: no such file or directory

Added required certificate to fix this.

This should fix kubernetes/kubeadm#1281
2019-01-09 17:01:18 +02:00
Davanum Srinivas 53d0b8ce7e
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
Change-Id: I16b9061c07f4a43aff9fe236892128af8697a0b4
2019-01-09 08:53:48 -05:00
Kubernetes Prow Robot bd8edc27db
Merge pull request #72615 from xiaoanyunfei/cleanup/getBinderFunc
Change `getBinderFunc` from method to function
2019-01-09 05:33:22 -08:00
fabriziopandini fd842480d1 Refactor the kubeadm join command 2019-01-09 12:46:53 +01:00
Kubernetes Prow Robot bf56c7be42
Merge pull request #72695 from rajathagasthya/podreadiness-72651
Move PodReadinessGates feature gate out of validation
2019-01-09 01:32:10 -08:00
Rajath Agasthya 86165ac878 Move pod ReadinessGates feature gate out of validation 2019-01-08 21:37:43 -08:00
Kubernetes Prow Robot 555c63fff5
Merge pull request #71529 from ixdy/bazel-refactor-openapi-gen-new-kazel
bazel: refactor openapi-gen logic for new kazel
2019-01-08 20:58:07 -08:00
Kubernetes Prow Robot 45b54f5c44
Merge pull request #72686 from sbezverk/PersistentLocalVolumes
Moving PersistentLocalVolumes feature gate check from validation
2019-01-08 19:22:40 -08:00