Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
...
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.
This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:
KUBE_TEST_REPO=quay.io/openshift/community-e2e-images
would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.
The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.
The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Kubernetes Prow Robot
cbcb26e7a5
Merge pull request #97653 from heqg/unused-kubeletPort
...
remove unused constant of kubeletPort in e2e test
2021-01-12 11:56:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
...
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Kubernetes Prow Robot
db183c7e80
Merge pull request #97754 from wzshiming/fix-kubectl-convert
...
Fix kubectl-convert import known versions
2021-01-12 09:27:54 -08:00
Kubernetes Prow Robot
ef3337a443
Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
...
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
Kubernetes Prow Robot
564b0e55c7
Merge pull request #97954 from yue9944882/fixes-nil-panic-for-delegated-auth-options
...
Fixes nil panic for nil delegated auth options
2021-01-12 07:06:25 -08:00
Kubernetes Prow Robot
bd947dfc65
Merge pull request #97919 from neolit123/1.21-fix-coredns-migration-preflight
...
kubeadm: trim leading "v" when running CoreDNS migration preflight
2021-01-12 06:12:25 -08:00
Kubernetes Prow Robot
88f93e7909
Merge pull request #97911 from heqg/changeLog-Fixtypo
...
changeLog-Fixtypo
2021-01-12 04:40:25 -08:00
wzshiming
df9a7797bb
kubectl-convert import known versions
2021-01-12 19:04:50 +08:00
Kubernetes Prow Robot
aa2e6d0927
Merge pull request #96972 from 249043822/bugfix-changelog113
...
CHANGELOG: fix hyperlink failure for author
2021-01-12 02:06:25 -08:00
yue9944882
9ade821baa
fixes nil panic for nil delegated auth options
2021-01-12 17:12:33 +08:00
Kubernetes Prow Robot
65395137b5
Merge pull request #97913 from chymy/k8s-typo
...
Fix typo of changelog-1.20
2021-01-12 01:06:25 -08:00
KeZhang
ca0fdbaddc
fix hyperlink failure for author
2021-01-12 15:48:38 +08:00
Kubernetes Prow Robot
9caf675ed1
Merge pull request #97909 from adamzhoul/fix-chan-bug
...
fix unit test "TestSPDYExecutorStream" flaking problem
2021-01-11 20:52:45 -08:00
Kubernetes Prow Robot
51f31bd42c
Merge pull request #97113 from 249043822/bugfix-job-log111
...
Optimize log output for job controller
2021-01-11 20:52:38 -08:00
Kubernetes Prow Robot
9720013d92
Merge pull request #96821 from wongma7/translateebsinline
...
Use volumeHandle as PV name when translating EBS inline volume
2021-01-11 20:52:25 -08:00
Kubernetes Prow Robot
31e8937271
Merge pull request #97095 from sabbox/fix-panic-azure-oidc-auth-plugins
...
fix: Azure/OIDC auth panics when no AuthProviderConfigPersister is nil
2021-01-11 19:56:25 -08:00
Kubernetes Prow Robot
1f5c1b6d91
Merge pull request #96722 from adtac/apfvalidation
...
APF: make command-line args validation error more descriptive
2021-01-11 18:38:37 -08:00
Kubernetes Prow Robot
eb08f36c7d
Merge pull request #96371 from andrewsykim/kube-proxy-terminating
...
kube-proxy: track serving/terminating conditions in endpoints cache
2021-01-11 18:38:25 -08:00
Kubernetes Prow Robot
5e22f7fead
Merge pull request #92938 from DataDog/lbernail/CVE-2020-8558
...
Do not set sysctlRouteLocalnet (CVE-2020-8558)
2021-01-11 17:38:24 -08:00
Kubernetes Prow Robot
0b75828dfc
Merge pull request #97922 from liggitt/heketi
...
Update gluster client, configure with filtered dialer
2021-01-11 16:40:45 -08:00
Kubernetes Prow Robot
abf187a21b
Merge pull request #97899 from JornShen/migrate_UpdateServiceMap_to_func_of_serviceMap
...
migrate proxy.UpdateServiceMap to be a method of ServiceMap
2021-01-11 16:40:37 -08:00
Kubernetes Prow Robot
443f563f25
Merge pull request #96941 from 249043822/bugfix-changelog111
...
CHANGELOG: fix punctuation error
2021-01-11 16:40:25 -08:00
Matthew Wong
28f2355c72
Use volumeHandle as PV name when translating EBS inline volume
2021-01-11 16:23:18 -08:00
Kubernetes Prow Robot
2636a959c6
Merge pull request #97477 from heqg/run-test01
...
Optimized some non-standard variable names
2021-01-11 14:46:25 -08:00
Andrey Viktorov
2dd86fe8c2
add noop persister to plugin loader
2021-01-12 00:12:53 +02:00
Andrew Sy Kim
a11abb5475
kube-proxy: ipvs proxy should ignore endpoints with condition ready=false
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
9c096292cc
kube-proxy: iptables proxy should ignore endpoints with condition ready=false
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
1acdfb4e7c
kube-proxyy: update winkernel proxier to read 'ready', 'serving' and 'terminating' conditions
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
a7333e1a3e
kube-proxy: add endpointslice cache unit tests for terminating endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
e5f9b80023
kube-proxy: health check server should only check ready endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
55cb453a3c
kube-proxy: update internal endpoints map with 'serving' and 'terminating' condition from EndpointSlice
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Kubernetes Prow Robot
65bdc9efe6
Merge pull request #97761 from liggitt/1.20-testdata
...
Add 1.20 API testdata
2021-01-11 12:46:24 -08:00
Kubernetes Prow Robot
d2575b7ddb
Merge pull request #97255 from chotiwat/patch-1
...
Fix stale object causing a panic on DELETE event
2021-01-11 11:18:37 -08:00
Kubernetes Prow Robot
f1941c9c6d
Merge pull request #97046 from claudiubelu/test-images-2004
...
test images: Adds BASEIMAGE for windows/amd64/2004 and windows/amd64/20H2
2021-01-11 11:18:25 -08:00
Kubernetes Prow Robot
ba5f5bea64
Merge pull request #96984 from adtac/apfe2e-3
...
APF e2e test: wait for steady state before proceeding
2021-01-11 09:36:25 -08:00
Jordan Liggitt
25ba5c5480
Use gluster client filter
2021-01-11 11:55:38 -05:00
Kubernetes Prow Robot
e9dba7a627
Merge pull request #97857 from liggitt/exec-auth-reuse-dialer
...
Track opened connections with a single tracker per authenticator
2021-01-11 08:39:54 -08:00
Kubernetes Prow Robot
97d7e50a4b
Merge pull request #97843 from mborsz/watcher-log
...
Improve logging in cacheWatcher
2021-01-11 08:39:46 -08:00
Kubernetes Prow Robot
c4ea46c05f
Merge pull request #97626 from pandaamanda/kubectl_quiet_shortname
...
cleanup: add -q as shorthand for --quiet
2021-01-11 08:39:37 -08:00
Kubernetes Prow Robot
7e8824f4b3
Merge pull request #97564 from pandaamanda/kubectl_wait_for
...
add more usage info for kubectl wait option --for
2021-01-11 08:39:28 -08:00
Kubernetes Prow Robot
e054aa268e
Merge pull request #97480 from lingsamuel/etcd-lease-max-size
...
apiserver add lease object count metric
2021-01-11 08:39:20 -08:00
Kubernetes Prow Robot
1f0ef8e679
Merge pull request #97293 from roycaihw/storage-version/gc-rbac
...
add rbac rule for storage version garbage collector
2021-01-11 08:39:07 -08:00
Lubomir I. Ivanov
3b5e698cb2
kubeadm: trim leading "v" when running CoreDNS migration preflight
...
During upgrade the coredns migration library seems to require
that the input version doesn't have the "v" prefix".
Fixes a bug where the user cannot run commands such as
"kubeadm upgrade plan" if they have `v1.8.0` installed.
Assuming this is caused by the fact that previously the image didn't
have a "v" prefix.
2021-01-11 18:21:19 +02:00
Jordan Liggitt
8ddd9ef759
bump github.com/heketi/heketi v10.2.0
2021-01-11 11:07:05 -05:00
Adhityaa Chandrasekar
1ae5ed9f6f
APF e2e: wait for steady state before proceeding
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-01-11 15:46:05 +00:00
Kubernetes Prow Robot
94a623a45a
Merge pull request #90299 from josephw/send-static-retry-after-when-hitting-pod-disruption-budget
...
Set a static Retry-After when evicting a pod is not allowed.
2021-01-11 07:19:07 -08:00
Kubernetes Prow Robot
334b426a6b
Merge pull request #97405 from dlorenc/dns
...
Update github.com/miekg/dns to pick up fix for CVE-2019-19794.
2021-01-11 05:49:09 -08:00
Ling Samuel
7e9fe39cd7
apiserver add metric etcd_lease_object_counts
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-11 21:22:07 +08:00
Kubernetes Prow Robot
85bb370c44
Merge pull request #97008 from 249043822/bugfix-changelog114
...
CHANGELOG: fix symbols lost, formatter error
2021-01-11 04:29:08 -08:00