Commit Graph

627 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
446da13de1 Merge pull request #94975 from zshihang/hash
replace sha1 with sha512
2020-10-06 13:00:42 -07:00
Jing Xu
d02f3a84e1 Add gate to install CSI proxy
Add a gate ENABLE_CSI_PROXY to enable/disable csi proxy installation.
The default value is true
2020-10-02 16:37:08 -07:00
Kubernetes Prow Robot
3777ca7c2a Merge pull request #94784 from vteratipally/revert-94669-revert-94634-master
"Switch cos version to M85""
2020-09-24 20:45:11 -07:00
varsha teratipally
7b2ef398a3 switching to stable version 2020-09-25 00:39:29 +00:00
Shihang Zhang
e99dbbde62 replace sha1 with sha512 2020-09-23 11:27:20 -07:00
Varun Marupadi
04a51cac17 Allow the lifecycle of kube-proxy to be managed independently of the startup scripts for GCE
Introduces a new env variable KUBE_PROXY_DISABLE which causes the configure scripts to skip over
the creation of both static pods as well as daemonset addons for kube-proxy.
When false, the behavior falls back to the default today, which is to rely on the value of
KUBE_PROXY_DAEMONSET to decide whether to start static pods on the nodes or an addon on the
master.
2020-09-22 20:37:35 -07:00
vteratipally
8f22a58dda Revert "Revert "Switch cos version to M85"" 2020-09-14 15:16:41 -07:00
Aldo Culquicondor
2ae4eeb3ea Mount kubelet and container runtime rootdir on LSSD
When environment variable NODE_LOCAL_SSD_EPHEMERAL=true,
create a RAID 0 array on all attached SSDs to mount:

- kubelet root dir
- container runtime root dir
- pod logs dir

Those directories account for all ephemeral storage.
An array is not created when there is only one SSD.

Change-Id: I22137f1d83fc19e9ef58a556d7461da43e4ab9bd
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-09-14 14:32:28 -04:00
Daniel Gutowski
adf7ed4241 Allow to disable logrotation of kubernetes and pod logs
Make logrotate disabled by default
2020-09-03 11:21:44 +00:00
Roy Yang
1b13308edb Fix sig-node-containerd/containerd-e2e-gci
Signed-off-by: Roy Yang <royyang@google.com>
2020-06-26 18:38:27 -07:00
Kubernetes Prow Robot
29f96dfa2d Merge pull request #92063 from jingxu97/June/docker
Add WINDOWS_CONTAINER_RUNTIME env variable and set default to docker for windows node
2020-06-14 18:53:56 -07:00
Jing Xu
953597134b Add WINDOWS_CONTAINER_RUNTIME env vairable
Now the default value of container runtime for linux is changed to
containerd. However, containerd is not ready to be used in Windows node.
THis PR adds a new env varabile to handle container runtime setup for
windows nodes. This way, linux and windows can set up their owe container runtime.
By default, linux uses containerd while windows uses dockerd
2020-06-12 17:22:12 -07:00
Davanum Srinivas
66015ff654 fix default CONTAINER_RUNTIME_ENDPOINT for docker
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-11 06:41:17 -04:00
Davanum Srinivas
1731cb30f5 Use containerd as default in kube-up.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-07 14:34:50 -04:00
toyoda
a01b1dada5 Fix shellcheck failure in cluster/gce/config-default.sh 2020-04-17 16:11:58 +09:00
Kubernetes Prow Robot
4ae223fbff Merge pull request #84904 from clarklee92/FixShellCheck
Fix shell check
2020-04-06 19:09:58 -07:00
Walter Fender
31393df6ee Switch COS image to m81. 2020-04-02 00:18:31 -07:00
Jefftree
06abedb063 Allow both GRPC and http-connect mode to be toggled 2020-03-05 16:16:59 -08:00
Walter Fender
ae0e1b0ca2 Update default cos image to include runc-1.0.0-rc10 2020-02-18 11:24:39 -08:00
Davanum Srinivas
da024f9a57 Ability to override versions of containerd/runc 2020-02-08 20:20:15 -05: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
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
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
Marek Siarkowicz
31fb04fa98 Remove cluster-monitoring
Heapster is deprecated and no longer supported
2019-12-09 11:25:20 +01:00
Lantao Liu
e66f4ca537 Add containerd windows support on GCE for test. 2019-11-27 11:48:58 -08:00
Xing Yang
3324722e07 VolumeSnapshot CRD v1beta1: Enable VolumeSnapshotDataSource feature gate and update e2e tests 2019-11-11 02:34:24 +00:00
clarklee92
a2efefc820 Fix shell check
https://github.com/koalaman/shellcheck/wiki/SC2068
https://github.com/koalaman/shellcheck/wiki/SC2086
https://github.com/koalaman/shellcheck/wiki/SC2164
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-08 10:39:34 +08:00
Kubernetes Prow Robot
a8e819746d Merge pull request #83442 from serathius/remove-prometheus-addon
Remove prometheus addon
2019-10-29 01:34:43 -07:00
Maciej Borsz
afbe1898e7 Few improvements to cloud nat 2019-10-22 13:58:46 +02:00
David Huh
90862aaf3f Updated COS version to M77 2019-10-15 22:23:53 +00:00
Marek Siarkowicz
887e84e330 Remove Prometheus addon and it's tests
Prometheus addon was developed for exterimental and test purpose only.
As readme states it should not be used by anyone.
2019-10-03 14:15:58 +02:00
Jacek Kaniuk
46e7a14227 Ability to set up additional, bigger nodes during tests 2019-10-03 12:20:06 +02:00
Jacek Kaniuk
3d746aabdf Revert "Updated COS version to M77"
This reverts commit bc3f4b269a
which caused regression in scalability tests:
https://github.com/kubernetes/kubernetes/issues/83020
2019-09-23 15:22:46 +02:00
Kubernetes Prow Robot
b9ba61b41a Merge pull request #82766 from dhuh/master
Updated COS version to M77
2019-09-19 11:05:28 -07:00
David Huh
bc3f4b269a Updated COS version to M77 2019-09-16 22:27:39 +00:00
Ling Huang
dc9db4b413 Upgrade stackdriver-logging-agent image to 1.6.17 to fix CVEs.
Change-Id: Ic37a8d3663d616e7d196353efd9a0164da724728
2019-09-12 04:02:08 -04:00
Rob Scott
66196c1043 Improving GCE cluster up logic for EndpointSlice Controller 2019-09-06 09:49:32 -07:00
Rob Scott
dc0c81a5f1 Ensuring endpointslice controller starts up as part of cluster up when all alpha feature gates are enabled 2019-09-05 09:16:13 -07:00
Tim Allclair
a4f8ee17ee Enable the RuntimeClass admission controller on GCE & CI 2019-08-28 13:23:55 -07:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
Walter Fender
ebb65c5f4c Get network-proxy working with GCE.
Got the proxy-server coming up in the master.
Added certs and have it comiung up with those certs.
Added a daemonset to run the network-agent.
Adding support for agent running as a sameon set on every node.

Added quick hack to test that proxy server/agent were correctly
tunneling traffic to the kubelet.

Added more WIP for reading network proxy configuration.
Get flags set correctly and fix connection services.
Adding missing ApplyTo
Added ConnectivityService.
Fixed build directives. Added connectivity service configuration.
Fixed log levels.
Fixed minor issues for feature turned off.
Fixed boilerplate and format.
Moved log dialer initialization earlier as per Liggits suggestion.
Fixed a few minor issues in the configuration for GCE.
Fixed scheme allocation
Adding unit test.
Added test for direct connectivity service.

Switching to injecting the Lookup method rather than using a Singleton.
First round of mikedaneses feedback.
Fixed deployment to use yaml and other changes suggested by MikeDanese.

Switched network proxy server/agent which are kebab-case not camelCase.
Picked up DIAL_RSP fix.
Factored in deads2k feedback.
Feedback from mikedanese
Factored in second round of feedback from David.
Fix path in verify.
Factored in anfernee's feedback.
First part of lavalamps feedback.
Factored in more changes from lavalamp and mikedanese.

Renamed network-proxy to konnectivity-server and konnectivity-agent.
Fixed tolerations and config file checking.
Added missing strptr
Finished lavalamps requested rename.
Disambiguating konnectivity service by renaming it egress selector.

Switched feature flag to KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE
2019-08-06 23:09:49 -07:00
draveness
d83526d253 Revert "feat: cleanup pod critical pod annotations feature"
This reverts commit b6d41ee5cc.
2019-07-18 13:31:12 +08:00
draveness
b6d41ee5cc feat: cleanup pod critical pod annotations feature 2019-07-11 08:54:19 +08:00
Maciej Borsz
20d5bb4afe Add MASTER_NODE_LABELS 2019-07-03 09:39:14 +02:00
Kubernetes Prow Robot
ed1f9748b1 Merge pull request #78727 from mborsz/script
Modify kube-up to support cluster without nodes.
2019-07-01 09:43:21 -07:00
Maciej Borsz
5f10c284c8 Modify kube-up to support cluster without nodes. 2019-07-01 15:29:45 +02:00
Wei Huang
6f10758446 followup of 79262 to cleanup PodPriority leftover 2019-06-28 14:19:26 -07:00