Antonio Ojea
6787d464ca
fix cluster util.sh unbound variable
2021-03-09 09:18:23 +01:00
Amit Watve
d65a46c9c9
Target the correct project while adding master kubeconfig metadata.
2021-03-03 00:47:43 -08:00
Jeremy Edwards
82417fe763
Add GCE Kubernetes option to enable Windows DSR.
2021-02-17 01:34:36 +00:00
Joakim Roubert
8bf2836e41
Fix remaining shellcheck issues in cluster/gce/util.sh
...
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-10 10:07:45 +01:00
Joakim Roubert
ec9065f2c1
Update after review comment
2021-02-09 09:54:55 +01:00
Joakim Roubert
c33672b010
Update after review comment
...
Change-Id: Icc2281b98a0240e177f6d8b625a8ddc4f4161b79
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-09 09:50:51 +01:00
Joakim Roubert
251c4111d5
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch splits declaration and assignment for local variables where
shellcheck triggers risk of shadowing warnings. Some missing exports
also added, and an unused variable was removed.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2021-02-09 09:50:51 +01:00
Joakim Roubert
ba7e23620a
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch uses shell internals instead of sed and awk where suitable
and also uses lower/upper classes for tr instead of a-z and A-Z.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2021-01-30 09:32:07 +01:00
Kubernetes Prow Robot
b77c886043
Merge pull request #94456 from joakimr-axis/joakimr-axis_util.sh_shellcheckdisables
...
Fix some shellcheck warnings/errors in cluster/gce/util.sh
2021-01-28 22:49:40 -08:00
Peter Hornyack
21592c23e1
GCE Windows: add 20H2; install docker when nodes are started
2021-01-22 09:58:22 -08:00
Jeremy Edwards
3b8f32dd90
Install pigz for GCE Windows Nodes.
2020-12-09 06:38:59 +00:00
Joakim Roubert
f9ca218872
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch adds shellcheck disables where we deliberately want to
have the current code that shellcheck triggers on.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-11-17 08:05:54 +01:00
wojtekt
eb63da77ea
Allow for configuring etcd progress notify interval on GCE
2020-10-29 15:43:51 +01:00
Kubernetes Prow Robot
557885d5d7
Merge pull request #91788 from rahulkjoshi/detect-local-mode
...
Add option to specify detect-local-mode during cluster configuration
2020-10-26 10:25:02 -07:00
Rahul Joshi
889446810c
Add configuration options to specify --detect-local-mode on kube-proxy.
2020-10-23 12:12:59 -07:00
Jefftree
0e5d057755
Rename flags
2020-10-22 08:43:28 -07:00
Jefftree
ed52ad3f25
Add SETUP_KONNECTIVITY_SERVICE flag
2020-10-22 08:43:28 -07:00
Jefftree
7820b05467
Separate network proxy flag for apiserver egress and starting pods
2020-10-22 08:43:27 -07:00
Kubernetes Prow Robot
a4a7b574b3
Merge pull request #94465 from joakimr-axis/joakimr-axis_util.sh_arrays
...
Fix some shellcheck warnings/errors in cluster/gce/util.sh
2020-10-09 20:34:59 -07:00
Kubernetes Prow Robot
446da13de1
Merge pull request #94975 from zshihang/hash
...
replace sha1 with sha512
2020-10-06 13:00:42 -07:00
Joakim Roubert
2868e07b98
Update after code review
...
Change-Id: I89b66f2bdcb68be7eee325e6246183638d3983b3
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-10-06 08:40:05 +02:00
Joakim Roubert
62ee0f5a1a
Update cluster/gce/util.sh
...
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-10-06 08:37:12 +02:00
Joakim Roubert
e924c3568e
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch fixes the use of arrays.
Change-Id: I6c7f7eaf89387ed96c7b2ddf4fbb4627ec2c6075
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-06 08:37:12 +02:00
Kubernetes Prow Robot
3f7e26dece
Merge pull request #95242 from jingxu97/sep/gate
...
Add gate to install CSI proxy
2020-10-05 15:16:42 -07:00
Kubernetes Prow Robot
add19e4680
Merge pull request #95168 from jingxu97/sep/image
...
Update Windows image patch version
2020-10-05 15:16:32 -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
deebe6619a
Merge pull request #94457 from joakimr-axis/oakimr-axis_util.sh_cat
...
Fix some shellcheck warnings/errors in cluster/gce/util.sh
2020-10-01 14:39:19 -07:00
Jing Xu
ef3e4391c4
Update Windows image patch version
...
Update Windows image version to the latest one. This one includes a fix
for unix domain socket
2020-09-29 22:46:38 -07:00
Shihang Zhang
e99dbbde62
replace sha1 with sha512
2020-09-23 11:27:20 -07:00
Kubernetes Prow Robot
1bb1702a45
Merge pull request #94458 from joakimr-axis/joakimr-axis_util.sh_calc
...
Fix some shellcheck warnings/errors in cluster/gce/util.sh
2020-09-22 12:23:30 -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
Joakim Roubert
82db7cf4f5
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch adds quotes for those yaml-quote arguments that do not
already have it.
Change-Id: Iee0fb79e41aa4aff7de0df93a25aee781e574934
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-09-11 08:29:55 +02:00
Joakim Roubert
36d056a29b
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch adds whitespace handling for the $file variable(s).
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-09-03 12:02:50 +02:00
Joakim Roubert
3f3958deea
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch cleans up the use of arithmetic shell functionality.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-09-03 11:34:03 +02:00
Joakim Roubert
e773c5d19b
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch removes superfluous use of cat.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-09-03 09:07:06 +02:00
Kubernetes Prow Robot
dbf6c456a2
Merge pull request #91835 from jingxu97/June/csi
...
Add csi-proxy installation into node setup script
2020-07-02 06:41:00 -07:00
Jing Xu
57d0dc540d
Add csi-proxy installation into node setup script
...
This PR follows the same step to install and start csi-proxy as kubelet
binary
2020-07-01 15:08:29 -07:00
Michael Dresser
902a4db5fc
Fixes an unnecessary failure during kube-up
...
Also corrects bucket creation to use the project env var
2020-06-30 21:05:55 +00:00
Kubernetes Prow Robot
4a91ecb976
Merge pull request #91863 from knabben/kubelet-memcg-notification
...
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-25 00:20:37 -07:00
Amim Knabben
c39cf28ed3
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-24 06:44:00 -04:00
Joakim Roubert
db9d6d0bff
util.sh: Replace wait-until-stable with wait-until --stable
...
This change follows the recommendation from the CI logs:
"WARNING: `gcloud compute instance-groups managed wait-until-stable` is
deprecated. Please use `gcloud compute instance-groups managed
wait-until --stable` instead."
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-06-23 13:30:52 +02:00
Kubernetes Prow Robot
87e6ec493c
Merge pull request #90223 from caesarxuchao/remove-unused-var
...
Remove unused network proxy variables and functions
2020-06-19 11:36:14 -07:00
Chao Xu
06d034f3c8
remove unnecessary certs generation
2020-06-16 23:47:10 -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
Antoni Zawodny
b1bd5113d4
Propagate KUBECTL_PRUNE_WHITELIST_OVERRIDE to master kube-env
2020-05-26 15:58:15 +02:00
Tim Hockin
9213616a23
Add better debug when GCE cluster turnups fail
2020-05-07 19:43:32 -07:00
Kubernetes Prow Robot
e494b0788b
Merge pull request #89543 from bartekzurawski/fix-kube-up-gce-private-restart
...
Set ip alias route on kubernetes-master during booting
2020-04-24 09:38:07 -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
4ae223fbff
Merge pull request #84904 from clarklee92/FixShellCheck
...
Fix shell check
2020-04-06 19:09:58 -07:00
Mateusz Matejczyk
9639464e43
Propagate CONCURRENT_SERVICE_SYNCS to node env
2020-04-02 14:38:41 +02:00