Marek Siarkowicz
b0f3f015d7
Build etcd v3.5.3 image
...
Co-authored-by: Stephen Augustus <foo@auggie.dev >
2022-04-13 16:25:14 -04:00
Stephen Kitt
080c6c711e
Upgrade to blang/semver/v4 v4.0.0
...
This is the first version to be fully go-mod-compatible.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2022-03-28 09:33:23 +02:00
Marek Siarkowicz
8f5250e3fe
Start building etcd v3.6.0-alpha.0 image for scalability tests
2022-02-28 13:58:18 +01:00
ahrtr
f01ecfabf4
replace ioutil with io and os for cluster/images/etcd;
...
bump the REVISION in Makefile to 5
2021-12-10 03:13:17 +08:00
wpedrak
183793cb27
Update version.txt only when necessary
...
Follow up on https://github.com/kubernetes/kubernetes/pull/106653
2021-12-09 10:09:49 +01:00
Kubernetes Prow Robot
4c3bcf52db
Merge pull request #106653 from wpedrak/resilient-version.txt
...
Make writing version.txt more resilient
2021-12-07 18:27:14 -08:00
wpedrak
d5e1ee4de8
Make writing version.txt more resilient
...
Writing file first truncate it and writes later on. During disk space pressure it may cause file to become empty. To mitigate above, we create file with new version first and then move it in place of old one (to make sure that disk space is available)
2021-11-26 12:44:50 +01:00
xuweiwei
9ab5c8a36f
Fix typo
...
depenging -> depending
permssion -> permission
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com >
2021-11-23 16:18:13 +08:00
Kubernetes Prow Robot
1dd781ddca
Merge pull request #106065 from pacoxu/etcd-3.5.1-image-build
...
update etcd makefile to using 3.5.1 for building
2021-11-02 19:01:17 -07:00
Paco Xu
6bac4dcaf7
update etcd makefile to using 3.5.1 for building
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2021-11-02 09:56:21 +08:00
Kubernetes Prow Robot
657412713b
Merge pull request #102637 from charlesxsh/fix-migrate-sever
...
fix potential deadlock
2021-11-01 04:17:19 -07:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
tiloso
b22d0b13cc
Fix verify staticcheck flake in cluster/images/etcd
2021-06-21 12:05:42 +02:00
Kubernetes Prow Robot
d89c11a0d4
Merge pull request #102629 from tiloso/staticcheck-cluster-apimachinery-apiserver
...
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-18 09:52:06 -07:00
pacoxu
4ee38f33d2
update etcd makefile to build v3.5.0 image
2021-06-16 14:41:44 +08:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Jordan Liggitt
5f1983d871
Drop etcd v2 support from etcd migration image
2021-06-15 09:53:05 -04:00
tiloso
c5d70e9db1
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-05 22:15:15 +02:00
Marek Siarkowicz
82be7aad26
Update etcd makefile to build v3.5.0-rc.0 image
2021-06-04 08:31:19 +02:00
Shihao Xia
f1c1992f5e
fix potential deadlock
2021-06-03 21:48:34 -04:00
Marek Siarkowicz
e862421c2b
Update etcd makefile to build v3.5.0-beta.3 image
2021-05-25 15:37:22 +02:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Ben Hu
e8fcc44286
Add client listening URLs flag to etcd migrate.
2020-10-16 23:10:54 +00:00
Kubernetes Prow Robot
2e59a17dc1
Merge pull request #92288 from zhijianli88/cleanup-tempfiles
...
Cleanup tempfiles
2020-08-27 17:56:54 -07:00
jingyih
45318e8190
Update etcd makefile to build 3.4.13 image
2020-08-27 03:33:51 +08:00
Jordan Liggitt
f33dc28094
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
2020-07-25 16:45:02 -04:00
Li Zhijian
02eaa4f354
cleanup tempfiles in unit test
...
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com >
2020-06-23 11:47:18 +08:00
wojtekt
2a7978e2be
Merge migrate-if-needed etcd bash script
2020-06-22 20:45:58 +02:00
Davanum Srinivas
c225d13abc
Switch to static bash for etcd
...
- use bash-static and avoid dragging in all of debian-base
- use distroless as the base image
- the shell script needs a `cp` utility, add a go based one for just
files (no support for directories!)
- Rework the calls to `mv` and recursive `cp` in the code
- we don't need to support windows in this container image
- the test case was slightly off as it was assuming that the old
directory was copied into the new directory, but the desired
functionality is that all files in the old directory should be in the
new directory.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-19 17:05:24 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Wenjia Zhang
660b17d0ae
Pin dependencies and update vendors
2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a
Replace github.com/coreos/etcd by go.etcd.io/etcd
2019-10-24 14:09:24 -07:00
chenyaqi01
66be69bb0e
replace bytes.Compare() with bytes.Equal()
2019-09-27 10:08:49 +08:00
hwdef
951aa8e69a
add-err-handling-in-images/etcd/migrate
2019-09-15 00:11:35 +08:00
Davanum Srinivas
8ca2436bdb
Fix failure running make build test in cluster/images/etcd
...
Change-Id: I5072d06402d211c17c8c5fb952e193bd1e57c07d
2019-08-30 22:06:41 -04:00
Gyuho Lee
93b9545f48
vendor: update with "update-vendor.sh" script
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-29 08:46:02 -07:00
Gyuho Lee
3ad4fedede
cluster/.../etcd/migrate: block etcd client creation until connection is up
...
The new etcd balancer (>3.3.14, 3.4.0) uses an asynchronous resolver for
endpoints. Without "WithBlock", the client may return before the
connection is up.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-29 08:38:29 -07:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Davanum Srinivas
f58f126715
Remove support for etcd2 from cluster/images/etcd image
...
Removes etcd2 code and images.
Etcd2 is no longer supported as of 1.13, so rollback and management
tools for etcd2 should not be shipped any longer. If it is still desired
the older versions of the image can be used.
Change-Id: I516c40067f0a57c42d2a6ab4612071c5e556a005
2019-07-11 21:20:24 -04:00
Kubernetes Prow Robot
da0f51ffed
Merge pull request #78820 from haosdent/fix_typos
...
Fix typos.
2019-07-01 15:09:20 -07:00
Haosdent Huang
7ce6e71891
Fix typos.
2019-06-11 01:52:14 +08:00
qingsenLi
872da8a467
use klog.Info instead of klog.Infof when had no format
2019-06-08 03:04:01 +08:00
Kubernetes Prow Robot
f1acf4ad94
Merge pull request #75514 from tedyu/master
...
Use go idiomatic to replace loop
2019-04-04 00:40:50 -07:00
Ted Yu
793fd74a42
Use go idiomatic to replace loop
2019-03-20 11:40:26 -07:00
Kubernetes Prow Robot
66bb1215c7
Merge pull request #75310 from chi-xu/20190313
...
Correct a spelling error
2019-03-20 09:53:11 -07:00
xuchi
d0e15aed2c
Correct a spelling error
2019-03-13 09:39:13 +08:00
ymlong
8e04d61488
Correcting spelling errors
2019-03-08 10:19:13 +08:00
k8s-ci-robot
e5326f22ea
Merge pull request #70471 from xichengliudui/fix181031
...
Fix some typos
2018-11-29 00:48:16 -08:00