Commit Graph

9228 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
aed3f05495
Merge pull request #88459 from joakimr-axis/joakimr-axis_config-test.sh
Fix shellcheck warnings/errors in cluster/gce/config-test.sh
2020-04-14 15:38:02 -07:00
Bartek Żurawski
3e4744c736 Set ip alias route on kubernetes-master during booting 2020-04-15 00:03:05 +02:00
Kubernetes Prow Robot
ea2d784545
Merge pull request #89895 from jingyih/update_etcd_server_3p4p7
Update default etcd server to 3.4.7 in k8s v1.19
2020-04-14 12:34:06 -07:00
jingyih
394df132bd Update default etcd server to 3.4.7 2020-04-13 14:37:56 -07:00
Kubernetes Prow Robot
c0be582ca5
Merge pull request #89269 from Jefftree/network-proxy-beta
Use v1beta1 for egress selector config
2020-04-09 18:07:49 -07:00
Kubernetes Prow Robot
08e1fd3bb9
Merge pull request #89970 from liggitt/static-priority
Fix priorityClassName typo, add numeric priority to static pods
2020-04-09 07:49:57 -07:00
Joakim Roubert
21bef7536c Fix shellcheck warnings/errors in cluster/gce/config-test.sh
Change-Id: I3760337aa345ca5b801587ea12c971a95168f7d7
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-09 08:30:13 +02:00
Lubomir I. Ivanov
9bbd321fec remove /cluster/kubeadm.sh and /test/cmd/kubeadm.sh
/cluster/kubeadm.sh is used to find the kubeadm binary.
This file is legacy and is removed.

Remove /test/cmd/kubeadm.sh. This file contains a function that is used
to build kubeadm and invoke "make test". Move the function contents
to hack/make-rules/test-cmd.cmd.

Stop sourcing /test/cmd/kubeadm.sh in /test/cmd/legacy-script.sh.

Also remove the --kubeadm-path invocation as this can be handled
with an env. variable directly.
2020-04-09 00:47:15 +03:00
Jordan Liggitt
5534c12dad Fix priorityClass typo, add numeric priority to static pods 2020-04-08 15:33:39 -04:00
Kubernetes Prow Robot
4ae223fbff
Merge pull request #84904 from clarklee92/FixShellCheck
Fix shell check
2020-04-06 19:09:58 -07:00
Kubernetes Prow Robot
c158001bbc
Merge pull request #89825 from tosi3k/log-dump-ssh-timeout
Enable timeout for SSH-ing to non-logexported nodes
2020-04-06 07:15:46 -07:00
Antoni Zawodny
15160168e5 Apply PR fixes 2020-04-06 14:53:02 +02:00
Kubernetes Prow Robot
fa6b9bec81
Merge pull request #89759 from cheftako/master
Switch COS image to m81.
2020-04-04 02:57:46 -07:00
Antoni Zawodny
6e34409f2b Enable timeout for SSH-ing to non-logexported nodes 2020-04-03 17:05:58 +02:00
Kubernetes Prow Robot
d721cb4c71
Merge pull request #89760 from jprzychodzen/le-enable-extra-services
Enable env defined services to dump in logexporter
2020-04-03 06:09:45 -07:00
Kubernetes Prow Robot
81a0e2f62b
Merge pull request #85923 from MrHohn/sig-gcp-owner-file
Migrate OWNERS file to apply the area/provider/gcp label
2020-04-02 19:03:46 -07:00
Mateusz Matejczyk
9639464e43 Propagate CONCURRENT_SERVICE_SYNCS to node env 2020-04-02 14:38:41 +02:00
Jakub Przychodzeń
2b533f9720 Enable env defined services to dump in logexporter 2020-04-02 09:38:39 +02:00
Walter Fender
31393df6ee Switch COS image to m81. 2020-04-02 00:18:31 -07:00
Kubernetes Prow Robot
6a552da932
Merge pull request #89664 from spiffxp/ignore-list-resources-fails
Allow list-resources.sh to continue if a resource fails to list
2020-03-31 20:03:41 -07:00
Kubernetes Prow Robot
a256498ba4
Merge pull request #89661 from pjh/gce-win-pause-bump
Bump GCE Windows pause image version
2020-03-30 17:09:19 -07:00
Kubernetes Prow Robot
103fb552ad
Merge pull request #89634 from YangLu1031/master
Fix dumping docker images log
2020-03-30 17:09:02 -07:00
Aaron Crickenberger
52653195f6 Allow list-resources.sh to continue if a resource fails to list
The list-resources.sh script is used solely by our CI, specifically
kubernetes/test-infra/kubetest with the --check-leaked-resources
flag. Currently if a single resource fails to list, we fail the entire
job.

I think this is too brittle. A review of previous issues on
kubernetes/kubernetes that relate to failure of this script shows that
the issues usually resolve themselves, or would be caught by the diff
of before/after.

Let's instead allow the script to continue listing all resources,
and let kubetest's resource diff fail the job.
2020-03-30 12:01:29 -07:00
Peter Hornyack
72f58ae4ff Bump GCE Windows pause image version
pause-win:1.2.1 is based on the March Windows container base images for
both LTSC 2019 and SAC 1909.
2020-03-30 11:30:53 -07:00
Kubernetes Prow Robot
24d8a17f70
Merge pull request #89601 from pjh/gce-march-images
Update GCE Windows node images with March's Windows updates
2020-03-30 08:22:29 -07:00
Kubernetes Prow Robot
93400b4347
Merge pull request #89578 from oxddr/bump-logexporter
Bump logexporter to v20200327-9ba073aa98
2020-03-30 04:45:53 -07:00
Yang Lu
735ab684ce Fix docker image log dump 2020-03-29 08:43:50 -07:00
Kubernetes Prow Robot
c7abf44a19
Merge pull request #88856 from yaseenhamdulay/patch-1
Create etcd user in cloud-init master.yaml rather than in configure-h…
2020-03-27 20:41:53 -07:00
Peter Hornyack
55df85ba37 Update GCE Windows node images with March's Windows updates 2020-03-27 15:44:08 -07:00
Kubernetes Prow Robot
edbbb6a89f
Merge pull request #89571 from oxddr/enable-logexporter
Revert "Revert "log-dump.sh: allow to dump extra log files""
2020-03-27 14:36:16 -07:00
Janek Łukaszewicz
875e39e37a Bump logexporter to v20200327-9ba073aa98 2020-03-27 16:17:15 +01:00
Kubernetes Prow Robot
3842a92f5f
Merge pull request #89413 from zhouya0/remove_prometheus_references_from_etcd_version_monitor
Remove prometheus references from etcd version monitor
2020-03-27 06:56:23 -07:00
Janek Łukaszewicz
4f0816ebf2 Revert "Revert "log-dump.sh: allow to dump extra log files""
This reverts commit c20e604377.
2020-03-27 12:23:17 +01:00
Peter Hornyack
3583816112 Fix INFRA_CONTAINER variable references
Tested:
NUM_NODES=2 NUM_WINDOWS_NODES=2 KUBE_GCE_ENABLE_IP_ALIASES=true \
  KUBERNETES_NODE_PLATFORM=windows \
  LOGGING_STACKDRIVER_RESOURCE_TYPES=new \
  KUBE_UP_AUTOMATIC_CLEANUP=true \
  WINDOWS_NODE_OS_DISTRIBUTION=win2019 \
  ./cluster/kube-up.sh
2020-03-26 19:30:39 -07:00
Kubernetes Prow Robot
08ce946e09
Merge pull request #89257 from jprzychodzen/fix-create
Util script - move variables setting for replicated master to outer if
2020-03-26 14:10:36 -07:00
Kubernetes Prow Robot
a9f6b93b62
Merge pull request #89498 from sambdavidson/mount-tweak
Changed readonly to true and type to "File" for authn/authz config.
2020-03-26 12:48:43 -07:00
Kubernetes Prow Robot
295b53f7b4
Merge pull request #89214 from jingyih/update_etcd_server_3p4p4
Update default etcd server to 3.4.4 in k8s v1.19
2020-03-26 01:14:24 -07:00
Samuel Davidson
c70cd1e82f Changed readonly to true and type to File for authn/authz config. 2020-03-25 17:45:27 -07:00
Yaseen Hamdulay
58f78a53ee Add ssh_redirect_user 2020-03-24 11:30:48 +00:00
Cédric de Saint Martin
335bfe0911 cluster add-ons: fluentd: update gems.
In particular, update fluent-plugin-kubernetes_metadata_filter to 2.4.5 to solve a potential high apiserver request count.
2020-03-24 08:59:13 +01:00
zhouya0
04d06d2f23 Remove prometheus references from etcd version monitor 2020-03-24 14:23:26 +08:00
Kubernetes Prow Robot
de877ec26e
Merge pull request #89327 from aojea/conntrack
cluster: ipvs conntrack module vs kernel version
2020-03-22 13:28:44 -07:00
Kubernetes Prow Robot
2ede416104
Merge pull request #89309 from yliaog/windep
infra_container is passed in as env variable
2020-03-21 04:10:44 -07:00
Antonio Ojea
33810a99d9 cluster: ipvs conntrack module vs kernel version
We should use 'nf_conntrack' instead of 'nf_conntrack_ipv4'
for linux kernel >= 4.19
2020-03-21 11:23:28 +01:00
Yu Liao
50c0827856 infra_container is passed in as env variable 2020-03-20 10:50:25 -07:00
Michael S. Fischer
c6fa1391f5 nodelocaldns: have Prometheus collect metrics 2020-03-20 08:40:33 -07:00
Jakub Przychodzeń
f48268d13b Util script - move variables setting for replicated master to outer if 2020-03-20 12:42:44 +01:00
Jefftree
936f7665cf network proxy alpha -> beta 2020-03-19 11:49:47 -07:00
yaseenhamdulay
5de3c64ad0 Create etcd user in cloud-init master.yaml rather than in configure-helper.sh
An etcd unix user is currently created in configure-helper.sh if it does not exist
on the master.

cloud-init is the only supported mechanism to add users on COS VMs. If an attempt
is made to add a key using OS Login or the instance metadata mechanism the
google_accounts_daemon will race with useradd and potentially attempt to use
the same UID. This will lock out any attempt to SSH into the VM. We therefore
migrate to using cloud-init to create this user and prevent this issue from occurring.
2020-03-19 11:05:42 +00:00
Kubernetes Prow Robot
f899ad704a
Merge pull request #89069 from enj/enj/i/drop_password_file
Remove support for basic authentication
2020-03-18 22:24:20 -07:00
Kubernetes Prow Robot
51b2d02717
Merge pull request #88676 from dims/remove-hyperkube
Remove hyperkube and debian-hyperkube-base images
2020-03-18 06:36:48 -07:00
Kubernetes Prow Robot
1a334335bc
Merge pull request #88215 from kublr/fix/addon-manager
fix addon manager failing to elect leader on masters with _ in the hostname
2020-03-18 01:44:47 -07:00
jingyih
f9e0e4c6b4 Update default etcd server to 3.4.4 2020-03-18 00:27:46 -07:00
Kubernetes Prow Robot
3667411297
Merge pull request #88865 from caesarxuchao/add-cheftako-owner
Add cheftako as an owner of cluster/
2020-03-17 19:27:45 -07:00
Kubernetes Prow Robot
c53909498c
Merge pull request #88810 from oxddr/logdump-better-logging
log-dump.sh: better logging in case of error from listing GCS
2020-03-17 19:27:08 -07:00
Kubernetes Prow Robot
fbbe9bba8c
Merge pull request #88806 from monotek/fluent-elasticsearch-290
updated fluentd to 1.9.2 & use docker builder pattern in dockerfile
2020-03-17 19:26:55 -07:00
Davanum Srinivas
e6cdc0e0f3
Remove hyperkube 2020-03-17 21:33:50 -04:00
Kubernetes Prow Robot
5011621fe5
Merge pull request #88653 from oxddr/log-dump-extra-files
Bump logexporter version to v20200227-da16e1b17
2020-03-17 16:21:46 -07:00
Kubernetes Prow Robot
8055c92e26
Merge pull request #88125 from mwwolters/flex2healthz
Switch flexvolume_node_setup.sh from kubelet RO port to healthz port
2020-03-17 16:20:07 -07:00
Kubernetes Prow Robot
a6f209c1c0
Merge pull request #86259 from rajansandeep/corednsto1.6.6-kube-up
Bump CoreDNS version to 1.6.7 [kube-up]
2020-03-17 16:19:26 -07:00
Kubernetes Prow Robot
ff21f45680
Merge pull request #89095 from losipiuk/lo/ca-1.18.0
Bump Cluster-Autoscaler to 1.18.0
2020-03-13 07:04:40 -07:00
Kubernetes Prow Robot
3524a5a32a
Merge pull request #89097 from jpbetz/patch-1
Fix unbound variable error in gce/configure.sh
2020-03-12 20:48:38 -07:00
Kubernetes Prow Robot
6847b2aeba
Merge pull request #88955 from pradeepnss/patch-1
Add tolerations with effect "NoExecute" and "NoSchedule" to allow sch…
2020-03-12 18:12:39 -07:00
Joe Betz
23c358d883
Fix unbound variable error in gce/configure.sh
Looks like UBUNTU_INSTALL_RUNC_VERSION should be optional here.
2020-03-12 16:41:25 -07:00
Łukasz Osipiuk
c957b2509f Bump Cluster-Autoscaler to 1.18.0 2020-03-12 21:33:18 +01:00
Łukasz Osipiuk
02915ef179 Remove endpoints RBAC for Cluster Autoscaler 2020-03-12 17:56:45 +01:00
Srinivasa Satya Pradeep Nekkalapudi
66491d2d89 Add tolerations with effect "NoExecute" and "NoSchedule" to allow schedule of nodelocaldns pods on node pools with taints
Currently if we define taints on all node pools in a cluster then nodelocaldns pods wont get scheduled on those node pools. Also in GKE as the daemonset has reconcile flag set tolerations cannot be added. So adding these tolerations will allow nodelocaldns pods to get scheduled on all node pools.
2020-03-11 18:27:13 -07:00
Monis Khan
df292749c9
Remove support for basic authentication
This change removes support for basic authn in v1.19 via the
--basic-auth-file flag.  This functionality was deprecated in v1.16
in response to ATR-K8S-002: Non-constant time password comparison.

Similar functionality is available via the --token-auth-file flag
for development purposes.

Signed-off-by: Monis Khan <mok@vmware.com>
2020-03-11 20:55:47 -04:00
Łukasz Osipiuk
6be4d0a705 Bump Cluster-Autoscaler to cluster-autoscaler:v1.18.0-beta.1 2020-03-11 16:16:30 +01:00
Kubernetes Prow Robot
f8ff8f4420
Merge pull request #88641 from antoninbas/fix-regex-in-conformance-tests-runner
Fix default regular expressions in conformance tests runner
2020-03-09 23:33:35 -07:00
Kubernetes Prow Robot
988982a1f7
Merge pull request #88048 from mtaufen/provider-info-e2etest
Add e2e test for validating JWTs as OIDC tokens
2020-03-06 17:59:34 -08:00
Kubernetes Prow Robot
b9f15ece18
Merge pull request #88877 from prameshj/nodecache-update
Update to latest node-cache image
2020-03-06 13:17:45 -08:00
Kubernetes Prow Robot
b9cd76519e
Merge pull request #88869 from Jefftree/egress_flag
[Network Proxy] Allow both grpc and http-connect mode to be toggled in kube-up
2020-03-05 21:40:05 -08:00
Kubernetes Prow Robot
86fc6d5d4c
Merge pull request #88863 from caesarxuchao/0.0.8
Use the v0.0.8 network proxy images
2020-03-05 21:39:48 -08:00
Kubernetes Prow Robot
4065a5a236
Merge pull request #88022 from YangLu1031/master
Dump docker image list
2020-03-05 20:03:29 -08:00
Jefftree
6fd748e2c5 exit if KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE is set incorrectly 2020-03-05 16:59:55 -08:00
Jefftree
06abedb063 Allow both GRPC and http-connect mode to be toggled 2020-03-05 16:16:59 -08:00
Charles Eckman
aee9fde751 Add e2e test for validating JWTs as OIDC tokens
Adds an E2E test to deploy an agnhost container that runs the test.

Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-05 13:58:52 -08:00
Sandeep Rajan
5ce4198152 update coredns to 1.6.7 2020-03-05 16:55:28 -05:00
Pavithra Ramesh
bb318ea84a Update to latest node-cache image 2020-03-05 11:07:06 -08:00
Chao Xu
7ac25f4812 Add cheftako as an onwer of cluster/ 2020-03-05 10:24:29 -08:00
Chao Xu
7d86217043 Use the v0.0.8 network proxy images 2020-03-05 09:54:19 -08:00
Janek Łukaszewicz
96567c8dcc log-dump.sh: better logging in case of error from listing GCS 2020-03-05 10:40:46 +01:00
Janek Łukaszewicz
eaeceb9f98 Bump logexporter version to v20200227-da16e1b17 2020-03-04 16:23:47 +01:00
André Bauer
adc59271d3 updated fluentd to 1.9.2 & use docker builder pattern in dockerfile
Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-04 15:15:53 +01:00
Kubernetes Prow Robot
76245147f3
Merge pull request #88598 from jennybuckley/base-image
Update etcd debian base image to v2.0.0
2020-03-03 23:17:47 -08:00
Aleksandra Malinowska
472a935294 Update Cluster Autoscaler version to 1.18.0-gke.0 2020-03-03 14:42:25 +01:00
Kubernetes Prow Robot
5726fa2184
Merge pull request #88747 from BenTheElder/approvers
update cluster/ approvers
2020-03-03 00:17:51 -08:00
Kubernetes Prow Robot
eaceb7bf5c
Merge pull request #88419 from Jefftree/netproxy-udstoken
Add support for token authentication with network proxy
2020-03-02 22:13:37 -08:00
Jefftree
2a98cb7f8b Use GRPC mode for network proxy 2020-03-02 15:54:52 -08:00
Benjamin Elder
efe35b9a9a move eparis and zmerlynn to cluster/ emeritus_approvers 2020-03-02 12:49:39 -08:00
Benjamin Elder
904c2d8bc0 add bentheelder to cluster/ approvers 2020-03-02 12:46:24 -08:00
Jefftree
0989770135 Update network proxy to v0.0.7 2020-03-02 10:09:00 -08:00
Jefftree
4c54241c3d Support token authentication for network proxy 2020-03-01 17:24:48 -08:00
Davanum Srinivas
f92c55a476
Make sure we fail the job and log more details when it does 2020-03-01 09:14:04 -05:00
Davanum Srinivas
bdea23380b
Move conformance image to debian:stretch-slim
Pros:
- really small image (see comparison below)
- we need to get rid of hyperkube in upcoming releases

```
davanum@cloudshell:~$ docker images
REPOSITORY                                       TAG                 IMAGE ID            CREATED             SIZE
debian                                           stretch-slim        4e6990ebcef5        4 days ago          55.3MB
gcr.io/google-containers/debian-hyperkube-base   0.12.1              a46476511725        13 months ago       393MB
```
2020-03-01 09:10:07 -05:00
Antonin Bas
97e8bf5f84 Fix default regular expressions in conformance tests runner
[Serial] should be \[Serial\]
[Conformance] should be \[Conformance\]
2020-02-27 17:38:09 -08:00
Kubernetes Prow Robot
641616362d
Merge pull request #88133 from julianvmodesto/dry-run-tests
Cleanup --dry-run values in tests, docs, and scripts
2020-02-27 11:33:42 -08:00
jennybuckley
7346579a03 Update etcd debian base image to v2.0.0 2020-02-26 14:29:48 -08:00
Kubernetes Prow Robot
831dae75bf
Merge pull request #88185 from vinayakankugoyal/appendandreplace
append_or_replace_prefixed_line in /cluster/gce/gci/configure-helper.…
2020-02-26 13:33:19 -08:00
Kubernetes Prow Robot
add2e8b4d0
Merge pull request #88519 from mm4tt/cluster-gce-owners
Make sig-scalability reviewers / approvers of cluster/gce
2020-02-26 08:22:27 -08:00
Mateusz Matejczyk
98df9d9db6 Make sig-scalability reviewers / approvers of cluster/gce
Justification: Our CI/CD tests are based on gce provider, people from our sig are in top contributors for this directory.
2020-02-25 13:18:32 +01:00
Mateusz Matejczyk
6739bde9ca Create OWNERS file for cluster/log-dump
Make sig-scalability-reviewers and sig-scalability-approvers reviewers and approvals of that dir.
2020-02-25 13:12:54 +01:00
Vinayak Goyal
388ebfe7d0 append_or_replace_prefixed_line in /cluster/gce/gci/configure-helper.sh fails for prefixes that contain quotes and = sign. 2020-02-24 17:35:36 -08:00
Kubernetes Prow Robot
c8814fd5c6
Merge pull request #88175 from yliaog/windep
added nodeSelector to constrain it to Linux only
2020-02-23 12:32:47 -08:00
Matt Matejczyk
c20e604377 Revert "log-dump.sh: allow to dump extra log files"
This reverts commit c43b940586.
2020-02-21 14:27:02 +01:00
Kubernetes Prow Robot
4e26c35064
Merge pull request #88383 from BenTheElder/get-kube-auth
fix get-kube authorization headers
2020-02-21 02:36:32 -08:00
Kubernetes Prow Robot
1d28e8cf32
Merge pull request #88113 from oxddr/log-dump-extra-files
log-dump.sh: allow to dump extra log files
2020-02-21 01:04:34 -08:00
Kubernetes Prow Robot
6461e6f4fb
Merge pull request #87179 from Jefftree/netproxy-uds
UDS + GRPC Support for Network Proxy
2020-02-20 21:20:32 -08:00
Benjamin Elder
f90726a6a6 fix get-kube authorization headers 2020-02-20 14:07:14 -08:00
Jefftree
725d2b6a8f Network Proxy: GRPC + HTTP Connect with UDS 2020-02-20 10:19:37 -08:00
Janek Łukaszewicz
c43b940586 log-dump.sh: allow to dump extra log files
Supports both method: logexporter and ssh
2020-02-20 14:58:18 +01:00
Kubernetes Prow Robot
72b04eff8e
Merge pull request #88281 from cheftako/master
Update default cos image to include runc-1.0.0-rc10
2020-02-18 15:33:02 -08:00
Walter Fender
ae0e1b0ca2 Update default cos image to include runc-1.0.0-rc10 2020-02-18 11:24:39 -08:00
Oleg Chunikhin
a6739dbffc fix addon manager failing to elect leader on masters with _ in the hostname (issue #88214) 2020-02-16 14:48:35 -05:00
Julian V. Modesto
d97169f59a Clean up --dry-run values.
- Clean up --dry-run values in tests, docs, and scripts
- Fix --dry-run for auth reconcile and add a test
2020-02-15 00:43:30 -05:00
Benjamin Elder
4454ce6f37 fix shellcheck failures in health-monitor.sh 2020-02-14 16:12:18 -08:00
Yu Liao
2fd62ad72a added nodeSelector to constrain it to Linux only 2020-02-14 12:44:17 -08:00
Kubernetes Prow Robot
289bbaa1bb
Merge pull request #88102 from cheftako/cos-runc
Switch test COS image to include runc-1.0.0-rc10 fix.
2020-02-13 18:24:17 -08:00
Kubernetes Prow Robot
461a494f69
Merge pull request #87907 from pjh/configure-windows-gce-carefully
Separate containerd install from config, and other cleanups
2020-02-13 16:55:01 -08:00
Walter Fender
0da08ffd6a Updated test cos image to include runc-1.0.0-rc10 2020-02-13 15:02:56 -08:00
Mark Wolters
ba74c1cfb4 Switch flexvolume_node_setup.sh from kubelet RO port to healthz port 2020-02-13 09:58:51 -08:00
Yu-Ju Hong
bcd975aa65 Replace Beta OS/arch labels with the GA ones
Beta OS/arch labels have been deprecated since 1.14.
This change replaces these labels with the GA ones.
2020-02-13 09:38:51 -08:00
Peter Hornyack
d61e90b0ee Separate containerd install from config, and other cleanups 2020-02-12 10:57:14 -08:00
Kubernetes Prow Robot
78a02a223d
Merge pull request #88010 from dims/support-for-adding-test-handler-for-containerd
Support for adding test-handler for containerd
2020-02-11 23:15:58 -08:00
Kubernetes Prow Robot
04cfa4981a
Merge pull request #87463 from mwwolters/healthmon2healthz
Migrate health monitor from read only port to healthz port
2020-02-11 17:06:08 -08:00
Yang Lu
c27fb4bad6 dump docker image list 2020-02-11 06:21:16 -08:00
Davanum Srinivas
8f764b113e
Support for adding test-handler for containerd 2020-02-10 20:43:40 -05:00
Davanum Srinivas
da024f9a57
Ability to override versions of containerd/runc 2020-02-08 20:20:15 -05:00
Davanum Srinivas
acd286d95d
Install containerd package depending on CONTAINER_RUNTIME 2020-02-08 17:53:37 -05:00
Davanum Srinivas
c4ef6a94b3
Add gid to config.toml only when docker group is present
If we don't install docker and install just containerd apt packages,
there is no docker group. In this scenario, we should not add the gid to
config.toml
2020-02-08 17:53:37 -05:00
Kubernetes Prow Robot
334d788f08 Merge pull request #87299 from mikedanese/ctx
context in client-go
2020-02-08 06:43:52 -08:00
Kubernetes Prow Robot
c90fd17642 Merge pull request #87701 from yliaog/windep
added env var WINDOWS_CNI_STORAGE_PATH and WINDOWS_CNI_VERSION
2020-02-08 02:59:52 -08:00
Kubernetes Prow Robot
9bbd1a1a29
Merge pull request #87877 from justaugustus/cluster-augustus
cluster: Add justaugustus as reviewer
2020-02-07 18:33:19 -08:00
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Yu Liao
81252a6d78 added env var WINDOWS_CNI_STORAGE_PATH and WINDOWS_CNI_VERSION 2020-02-07 12:44:13 -08:00
Davanum Srinivas
2c93aa6ec3
Ensure kubectl is available in PATH by explicitly exporting the script 2020-02-07 09:05:07 -05:00
Stephen Augustus
56711b9ac0 cluster: Add justaugustus as reviewer
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-07 05:31:43 -05:00
Kubernetes Prow Robot
ab97b666e2
Merge pull request #87902 from apelisse/ensureexist-limit-range-gce
gce-addons: Make sure default/limit-range doesn't get overridden
2020-02-07 00:08:29 -08:00
Antoine Pelisse
e41f2ccd41 gce-addons: Make sure default/limit-range doesn't get overridden 2020-02-06 12:10:12 -08:00
Davanum Srinivas
f20e17e9dd
python snippets should work on both old and new python versions 2020-02-05 11:22:56 -05:00
Kubernetes Prow Robot
23aa2e2f5c
Merge pull request #87786 from Jefftree/netproxy-logging
Save log files for network proxy
2020-02-05 01:08:35 -08:00
Kubernetes Prow Robot
4601189105
Merge pull request #87761 from dims/ensure-specified-container-runtimes-are-present
Ensure specified container runtimes are present
2020-02-05 01:08:09 -08:00
Jefftree
97eed70d74 Add konnectivity log files 2020-02-03 13:21:42 -08:00
Davanum Srinivas
dc3f31569e
Ensure specified container runtimes are present 2020-02-03 13:40:57 -05:00
Davanum Srinivas
ee3f897ca7
update network-y stuff for supporting ubuntu/bionic as master
On bionic, we don't have eth0 hard coded. example below, so we use `ip
route` to figure out the default ethernet interface
```
dims@kubernetes-master:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 42:01:0a:80:00:23 brd ff:ff:ff:ff:ff:ff
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:b2:4e:dd:86 brd ff:ff:ff:ff:ff:ff
```

Also, bionic uses systemd-resolver by default and adds entries in
/etc/resolv.conf that CoreDNS does not link. So follow the
recommendation in the documentation to specify resolv.conf explicitly
2020-02-02 19:23:10 -05:00
Kubernetes Prow Robot
7a01cdcaea
Merge pull request #82454 from beautytiger/fix_shellcheck_common.sh
fix shell checks errors in cluster/common.sh
2020-02-02 07:05:20 -08:00
Kubernetes Prow Robot
a77ed7234c
Merge pull request #87629 from pjh/gcp-windows-nodes-20200114
Update GCP Windows node image versions
2020-02-01 18:33:34 -08:00
Jeffrey Ying
2eb48f6049
Reduce default CPU requirement for konnectivity server
Our network proxy [e2e job](https://k8s-testgrid.appspot.com/sig-api-machinery-network-proxy#ci-kubernetes-e2e-gci-gce-network-proxy) is failing because we are requesting more resources than available on the system. 

The test clusters are consuming exactly 970m CPU resources without the konnectivity-server pod. Requesting 40m exceeds the 1000m limit and causes all tests to fail.
2020-01-31 10:45:21 -08:00
Peter Hornyack
cc7799a437 Update GCP Windows node image versions
- Makes Windows Server 2019 the default version for Windows clusters on
  GCP, since 1809 will be EOL in a few months.
- Adds Windows Server version 1909 as a Windows node choice.
- Use Windows images with updates from January 2020.
- Cleans up the code that sets the node image.
2020-01-31 10:29:39 -08:00
Kubernetes Prow Robot
fa4bc10ef1
Merge pull request #86793 from prameshj/gce-finalizer
Attach a new finalizer in GCE ILB creation.
2020-01-30 21:20:32 -08:00
Kubernetes Prow Robot
9f44f7ecc2
Merge pull request #87632 from pjh/multi-arch-smoke-test
Update GCE Windows smoke-test script to work with 1909 nodes.
2020-01-30 16:59:43 -08:00
Kubernetes Prow Robot
3ea368e53c
Merge pull request #87652 from dims/bump-default-gci-image-to-cos-77-12371-114-0
Update GCI_VERSION to cos-77-12371-114-0 as older image is deprecated
2020-01-30 05:06:25 -08:00
Davanum Srinivas
2686087888
Update GCI_VERSION to cos-77-12371-114-0 as older image is deprecated
details about the image are here:
https://cloud.google.com/container-optimized-os/docs/release-notes/m77#cos-77-12371-141-0
2020-01-29 11:18:42 -05:00
Stephen Augustus
1174e6698e cni: Update CNI version to v0.8.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 04:41:29 -05:00
Stephen Augustus
96f2588b61 cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 02:32:22 -05:00
Peter Hornyack
cb942c23a7 Update GCE Windows smoke-test script to work with 1909 nodes. 2020-01-28 17:07:59 -08:00
Pavithra Ramesh
1de2327afc Attach a new finalizer in GCE ILB creation.
Add logic in service_controller to skip create/update
if finalizer from a different controller is found.

The newly added finalizer will be checked by other controllers
implementing ILB services to determine if a given service is
already being managed by service_controller.

Moved finalizer check into cloudprovider code.

added unit test to verify new finalizer.

Modified existing unit test to create a fake service so that
attach/remove finalizer step can be tested.
2020-01-28 15:02:19 -08:00
Kubernetes Prow Robot
e2b823fa7d
Merge pull request #87243 from SenXuDC/fix-staticcheck
fix static check in cluster/images/etcd-version-monitor
2020-01-25 22:41:02 -08:00
Kubernetes Prow Robot
324b5921c1
Merge pull request #87529 from cheftako/master
Added relevent approvers and reviewers for gci.
2020-01-25 11:49:02 -08:00
Kubernetes Prow Robot
15f96a807a
Merge pull request #86305 from saschagrunert/cri-tools
Update cri-tools to v1.17.0
2020-01-24 12:18:32 -08:00
Walter Fender
b2f3236771 Added relevent approvers and reviewers for gci.
Adding new approver and reviewers for the gci scripts.
2020-01-24 09:29:35 -08:00
Kubernetes Prow Robot
90da466221
Merge pull request #87504 from cheftako/master
Fix issue with GCE scripts assuming Python2.
2020-01-24 03:03:19 -08:00
Walter Fender
1dd53fd3ba Fix issue with GCE scripts assuming Python2.
For bug #87482.
Newer OSs are now defaulting to Python3.
This breaks the kube-up scripts for GCE.
Adding code to detect this and explicitly use Python2.
2020-01-23 15:05:04 -08:00
Kubernetes Prow Robot
0255614f29
Merge pull request #87478 from cadmuxe/cni-plugin
Add env var(CNI_TAR_PREFIX) for cni install.
2020-01-23 02:54:49 -08:00
Koonwah Chen
cfd61e801b Add env var(CNI_TAR_PREFIX) for cni install.
cni release has changed the prefix, add a var to make this configurable.
2020-01-22 15:14:31 -08:00
Mark Wolters
aee028dab8 Migrate health monitor from read only port to healthz port 2020-01-22 10:52:08 -08:00
Yu Liao
368fe70aed bumped pause-win to 1.1.0 2020-01-21 13:42:00 -08:00
Kubernetes Prow Robot
34e090187c
Merge pull request #87032 from awly/preload-gke-exec-plugin
Allow a preloaded gke-exec-auth-plugin
2020-01-16 13:14:52 -08:00
Kubernetes Prow Robot
ac1832b709
Merge pull request #87041 from matheusneder/master
Fixed fluentd (addon) docker.log format (configuration)
2020-01-16 04:36:24 -08:00
SenXuDC
cc8e8401e2 fix static check in cluster/images/etcd-version-monitor 2020-01-15 21:31:33 +08:00
Janek Łukaszewicz
a9e5fd6623 Revert "Revert "Add an option to specify kubelet flags for heapster node.""
This reverts commit 00ea8c4f9e.
2020-01-14 12:53:25 +01:00
Sascha Grunert
7e5e7c141c
Update cri-tools to v1.17.0
Update the crictl binaries to the latest release

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-14 08:36:20 +01:00
Kubernetes Prow Robot
0c026656fe
Merge pull request #83358 from wawa0210/zx-kubedns
Bind  kube-dns containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2020-01-09 20:12:35 -08:00
Matheus Neder
33a449474c
Fixed docker.log format 2020-01-09 19:10:45 -03:00
Kubernetes Prow Robot
fc98aa5446
Merge pull request #83364 from wawa0210/zx-dns-horizontal
Bind dns-horizontal containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2020-01-09 13:28:34 -08:00
Kubernetes Prow Robot
d039021d6a
Merge pull request #86495 from pjh/smoke-again
Repair smoke-test for Windows GCE clusters
2020-01-09 11:33:02 -08:00
Kubernetes Prow Robot
daaa0b9c6b
Merge pull request #84163 from david-tigera/update-calico-v3.8.4
Update Calico to v3.8.4
2020-01-09 11:32:34 -08:00
Andrew Lytvynov
71966adfc3 Allow a preloaded gke-exec-auth-plugin 2020-01-09 10:37:43 -08:00
Kubernetes Prow Robot
a233e0115b
Merge pull request #85944 from SataQiu/fix-es-20191205
Addons: elasticsearch supports automatically setting the advertise address
2020-01-08 14:45:39 -08:00
Peter Hornyack
9b17de7462 Repair smoke-test for Windows GCE clusters 2020-01-08 14:00:50 -08:00
Kubernetes Prow Robot
8727eef79c
Merge pull request #85836 from YangLu1031/master
Add instructions about how to bring up e2e test cluster
2020-01-02 14:31:41 -08:00
Guangming Wang
faf27331bc fix shell checks errors in cluster/common.sh
handle local variable in cluster/common.sh

add comment for shellcheck disable line, and fix error change

fix error: "read" parameters -r position

update function comment

refactor function find-release-tars

rm lines in .shellcheck_failures

Continue to cleanup common.sh
2019-12-25 16:35:11 +08:00
Kubernetes Prow Robot
9b3db701a1
Merge pull request #86433 from monotek/fluentd-elasticsearch
update fluentd to 1.8.0 / fixed gemfile / fixed shellcheck
2019-12-23 01:41:33 -08:00
Kubernetes Prow Robot
277523b77f
Merge pull request #85868 from logicalhan/readyz
swap over kube-apiserver manifest to use livez and readyz
2019-12-21 14:23:32 -08:00
Kubernetes Prow Robot
13e3904f0f
Merge pull request #86453 from pjh/lwvnic
Update Windows subnet mask calculation for compatibility with future VNIC changes
2019-12-20 04:03:32 -08:00
Yang Lu
b88788b085 update to use e2e-up.sh instead of kubetest 2019-12-19 20:03:49 -08:00
Yang Lu
b4f5238535 Add instructions about how to use kubetest to bring up e2e test cluster 2019-12-19 15:09:34 -08:00
Peter Hornyack
0ae8b6ba59 Update subnet mask calculation for compatibility with future VNIC changes 2019-12-19 14:55:10 -08:00
Han Kang
0e786cbafc swap over kube-apiserver manifest to use livez and readyz
Change-Id: I90df19b58b0d4d3004dcc3ca3002b099845dfe3a
2019-12-19 13:52:23 -08:00
Kubernetes Prow Robot
9295fdbf5a
Merge pull request #84146 from RainbowMango/pr_fix_etcd_version_monitor_readme
Update etcd-version-monitor readme and yaml file.
2019-12-19 12:39:56 -08:00
André Bauer
f2adf33bc8 update fluentd to 1.8.0 / fixed gemfile / fixed shellcheck lint problems by using xarg
Signed-off-by: André Bauer <monotek23@gmail.com>
2019-12-19 14:33:16 +01:00
Kubernetes Prow Robot
127c47caf4
Merge pull request #85512 from serathius/remove-cluster-monitoring
Remove cluster-monitoring
2019-12-17 21:05:57 -08:00
Kubernetes Prow Robot
4a62b3ac6d
Merge pull request #86329 from mml/core_pattern
Set core_pattern to an absolute path.
2019-12-17 19:48:11 -08:00
Kubernetes Prow Robot
64274ef473
Merge pull request #86221 from Random-Liu/upload-containerd-logs
[Windows] Upload containerd logs to stackdriver
2019-12-16 21:39:12 -08:00
SataQiu
09032bea6c addons: elasticsearch supports automatically setting the advertise address 2019-12-14 15:12:05 +08:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Jordan Liggitt
5c6371502a Update addon permissions 2019-12-13 12:23:39 -05:00
Jordan Liggitt
995d408334 Clean up conformance tar test data 2019-12-12 21:05:28 -05:00
Lantao Liu
c229c78af7 Upload containerd logs to stackdriver
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-12 11:49:14 -08:00
Matt Liggett
ec24d3c7e8 Set core_pattern to an absolute path.
Change-Id: I71e848783c05dc75b2232e05dd2ed3aa9a983e23
2019-12-11 15:05:48 -08:00
Nikolaos Moraitis
00ea8c4f9e
Revert "Add an option to specify kubelet flags for heapster node." 2019-12-11 11:19:13 +01:00
Kubernetes Prow Robot
7a9788be8c
Merge pull request #85838 from like-inspur/master
optimize some log config
2019-12-10 14:50:06 -08:00
Kubernetes Prow Robot
cae442a7ce
Merge pull request #86039 from monotek/fluentd-elasticsearch
updated fluentd to 1.7.4 + plugin updates and switch to debian buster
2019-12-09 15:22:54 -08:00
Kubernetes Prow Robot
f029700630
Merge pull request #86065 from serathius/metrics-server-owners
Add serathius to metrics-server OWNERS file
2019-12-09 04:56:02 -08:00
Kubernetes Prow Robot
332f452198
Merge pull request #83363 from wawa0210/zx-metadata-agent
Bind metadata-agent containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2019-12-09 03:10:16 -08:00
Kubernetes Prow Robot
082883cba3
Merge pull request #83362 from wawa0210/zx-metrics
Bind metrics-server containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2019-12-09 03:10:02 -08:00
Marek Siarkowicz
e7e9d1cf24 Add serathius to metrics-server OWNERS file 2019-12-09 11:27:56 +01:00
Marek Siarkowicz
31fb04fa98 Remove cluster-monitoring
Heapster is deprecated and no longer supported
2019-12-09 11:25:20 +01:00
likerj
597816c11e update total_limit_size 2019-12-09 16:39:35 +08:00
likerj
3ffd8f34b2 update fluentd-es-configmap
queue_limit_length is not supported by fluentd, and I config total_limit_size 2G for buffer total size
2019-12-09 16:39:35 +08:00
likerj
a192b59f9f fluentd add port promtheus and health check
fluentd readiness and liveness health check can use fluent-plugin-prometheus port
2019-12-09 16:39:35 +08:00
likerj
325848509a es add readiness and liveness health check
use transport as health check port
2019-12-09 16:39:35 +08:00
André Bauer
31c302994a updated fluentd to 1.7.4 + plugin updates and switch to debian buster
Signed-off-by: André Bauer <monotek23@gmail.com>
2019-12-08 16:27:02 +01:00
Kubernetes Prow Robot
117a3a7f2a
Merge pull request #85709 from tanjunchen/correct-404-ruls
correct  invalid  urls
2019-12-06 11:54:51 -08:00
tanjunchen
efd61ae3e4 correct invalid urls 2019-12-06 23:34:34 +08:00
Kubernetes Prow Robot
616fce7839
Merge pull request #85797 from oxddr/taint-heapster
Add an option to specify kubelet flags for heapster node.
2019-12-06 07:20:50 -08:00
Janek Łukaszewicz
39cb8222c7 Add an option to specify kubelet flags for heapster node.
Useful in scalability tests, where we don't want test pods (e.g. Kubemark hollow
nodes) to be scheduled on heapster node.
2019-12-06 12:44:26 +01:00
Kubernetes Prow Robot
a6f41a46a5
Merge pull request #85827 from barney-s/fix-windows-fluentd-config-hostname
Replace the hostname in the fluentd config file even if the file exists
2019-12-05 17:15:27 -08:00
barney-s
dd7430134a
Removing conditional check
Addressing review comment. Removing conditional check for fluentd config file path.
2019-12-05 10:35:47 -08:00
Kubernetes Prow Robot
bcc6b22121
Merge pull request #85913 from jkaniuk/log-dump-fix
Fix waiting for logexporter log fetching processes
2019-12-05 01:48:32 -08:00
Kubernetes Prow Robot
d9ed6110e8
Merge pull request #85466 from pjh/gce-shielded-windows-master
Update GCE Windows startup scripts for plugin-based authentication
2019-12-04 18:02:33 -08:00
Zihong Zheng
5463eda704 Migrate OWNERS file to apply the area/provider/gcp label 2019-12-04 17:05:43 -08:00
Peter Hornyack
cff9751112 Update GCE Windows startup scripts for TPM-based authentication
"Shielded" nodes have a virtual TPM attached which is used for
generating the client certificate, instead of using a bootstrap
kubeconfig. Determining which to use happens during node startup based
on the instance metadata.
2019-12-04 13:57:59 -08:00
Kubernetes Prow Robot
72ff530e9a
Merge pull request #85290 from ialidzhikov/enh/calico-cluster-service-removal
Clean up cluster-service label from calico-policy-controller
2019-12-04 13:28:57 -08:00
Jacek Kaniuk
2dc3684cf7 Fix waiting for logexporter log fetching processes
Fix bug found by shellcheck in logexporter log fetching
where last wait was not working properly.
Fix DumpClusterLogs hanging in 5k nodes clusters:
https://github.com/kubernetes/kubernetes/issues/85753

Change-Id: Id02bf9048b19e790940c7eac6d45d7fa7a3dfb2b
2019-12-04 18:13:09 +01:00
Kubernetes Prow Robot
85b5a046f7
Merge pull request #85793 from bskiba/ar-1.8.7
Switch addon resizer to 1.8.7
2019-12-03 14:31:12 -08:00
Jacek Kaniuk
7eb6182a63 Revert "Fix shellcheck failure in log-dump/log-dump.sh"
This reverts commit e99a325d4e.
2019-12-03 18:17:54 +01:00
Kubernetes Prow Robot
95a3cd54cf
Merge pull request #82720 from hwdef/add-err-handling-in-gce-gci
add err handling in gce/gci
2019-12-02 22:56:57 -08:00
hwdef
e581be1ec7 add err handling in gce/gci 2019-12-03 09:34:41 +08:00
Barni S
a70a534736 Replace the hostname in the fluentd config file even if the file exists 2019-12-02 16:04:52 -08:00
Lantao Liu
e687bf4fe9 Use GCS bucket for crictl on windows.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-02 14:11:48 -08:00
Kubernetes Prow Robot
fe2ee4f09e
Merge pull request #85396 from Random-Liu/windows-containerd-on-gce
Add containerd windows support on GCE for test.
2019-12-02 12:22:57 -08:00
Kubernetes Prow Robot
650c797d3f
Merge pull request #85543 from SataQiu/fix-elasticsearch-20191122
Make elasticsearch discovery supports IPv6
2019-11-30 18:31:03 -08:00
Kubernetes Prow Robot
82ee37f3e1
Merge pull request #85610 from losipiuk/lo/ca-1.17-beta.1-master
Bump Cluster Autoscaler version to 1.17.0
2019-11-30 08:01:03 -08:00
Beata Skiba
366e053e28 Switch addon resizer to 1.8.7 2019-11-29 16:50:51 +01:00
Mayank Kumar
fef9e413df Make cluster auto scaler use leases 2019-11-29 13:58:24 +01:00
Łukasz Osipiuk
b1b9e6254a Bump Cluster Autoscaler version to 1.17.0 2019-11-29 13:58:20 +01:00
Kubernetes Prow Robot
f9e51ccda4
Merge pull request #85274 from chendave/kube-up
fix the defect in the shell scripts
2019-11-28 08:07:03 -08:00
Kubernetes Prow Robot
711790af23
Merge pull request #85704 from yliaog/windep
catch the exception raised in Remove-HnsPolicyList
2019-11-27 21:03:10 -08:00
Kubernetes Prow Robot
2eda47221a
Merge pull request #83604 from k-toyoda-pi/fix_shellcheck_log-dump
Fix shellcheck failure in cluster/log-dump/log-dump.sh
2019-11-27 21:03:03 -08:00
Yu Liao
bbc49d6b1f catch the exception raised in Remove-HnsPolicyList 2019-11-27 15:43:39 -08:00
Lantao Liu
ee2418c7aa Move hostdns.conf out of cni directory. 2019-11-27 11:48:58 -08:00
Lantao Liu
e66f4ca537 Add containerd windows support on GCE for test. 2019-11-27 11:48:58 -08:00
Kubernetes Prow Robot
10883c4c69
Merge pull request #84728 from notpad/kubemark
Migrate Kubemark to distroless
2019-11-26 02:09:10 -08:00
Kubernetes Prow Robot
a3a2c4230d
Merge pull request #85496 from tanjunchen/fix-invalid-urls
fix 1-12 number urls
2019-11-25 15:25:10 -08:00
Kubernetes Prow Robot
e6b0dbbbfc
Merge pull request #85508 from notpad/kubemark_script
Set default value for TEST_CLUSTER_LOG_LEVEL and KUBE_GCE_INSTANCE_PREFIX
2019-11-25 09:03:52 -08:00
SataQiu
bbbf396348 make elasticsearch discovery supports IPv6 2019-11-24 09:26:59 +08:00
Kubernetes Prow Robot
225aa3aa70
Merge pull request #85404 from yliaog/windows
added yliaog to OWNERS
2019-11-22 17:30:55 -08:00
notpad
8b951edada Set default value for TEST_CLUSTER_LOG_LEVEL and KUBE_GCE_INSTANCE_PREFIX 2019-11-21 23:26:24 +08:00