Benjamin Elder
b63b495230
upgrade haproxy image to latest
2023-05-11 14:19:20 -07:00
Benjamin Elder
df2a59f3e2
Merge pull request #3157 from yanggangtony/delete-ioutil
...
Delete ioutil as it is Deprecated since Go 1.16
2023-05-11 10:00:06 -07:00
Antonio Ojea
4bc8c5892f
podman: create ipv4 network if ipv6 is disabled
...
Signed-off-by: Antonio Ojea <aojea@google.com >
2023-04-24 21:51:46 +00:00
yanggang
6a7169806f
Delete ioutil as it is Deprecated since Go 1.16
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-19 04:51:34 +08:00
Benjamin Elder
9fb3d908e4
bump haproxy image
2023-04-04 09:14:26 -07:00
yanggang
72d13903c5
fix error notes for interface Provider.GetAPIServerInternalEndpoint
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-03 15:42:20 +08:00
Lucas Ramage
6be3cfa9d0
Improve log output for delete cluster ( #2934 )
...
* Improve log output for delete cluster
* Revert logging removal of context from kubeconfig
2023-03-23 01:28:23 -07:00
Daniel Lipovetsky
47dfc9e840
fix: Limit HAProxy maximum concurrent connections
...
If the limit is not configured, HAProxy derives it from the file
descriptor limit. The higher the limit, the more memory HAProxy
allocates. That limit can be so high on modern Linux distros that
HAproxy allocates all available memory.
2023-03-04 15:53:17 -08:00
Antonio Ojea
153c0c517b
bump haproxy to docker.io/kindest/haproxy:v20230227-d46f45b6
2023-02-27 21:00:40 +00:00
John Howard
1964100d41
Do it in post
2023-02-15 07:55:37 -08:00
John Howard
33c4eaf560
Add dnsSearch cluster option
...
Fixes https://github.com/kubernetes-sigs/kind/issues/3097
2023-02-14 13:45:31 -08:00
Benjamin Elder
b357fa4f86
bump haproxy image
2022-12-20 14:19:28 -08:00
Curt Bushko
3f6f231bee
add --all-platforms flag to LoadImageArchive
2022-10-06 23:40:19 -04:00
Kubernetes Prow Robot
41b35032b3
Merge pull request #2911 from BenTheElder/safeyaml
...
switch to safetext/yamltemplate for yaml templating
2022-10-04 15:04:01 -07:00
Benjamin Elder
b1c16db489
mark StructuralData
...
this tells safetext that we *intend* to have input-based field keys here
2022-10-04 14:15:39 -07:00
Benjamin Elder
bd637d823d
don't use index
2022-10-04 14:15:38 -07:00
Kubernetes Prow Robot
b241f7fc83
Merge pull request #2910 from BenTheElder/podman-overlap
...
check for new podman overlap error message
2022-09-22 00:27:04 -07:00
Benjamin Elder
965bde6c90
switch to safetext/yamltemplate for yaml templating
2022-09-20 15:10:28 -07:00
Benjamin Elder
341cb6a5b6
drop codepaths for Kubernetes versions < 1.15
2022-09-06 21:42:07 -07:00
Benjamin Elder
17e6fab594
check for new podman overlap error message
2022-09-06 11:04:12 -07:00
Waldek Herka
c6b929bd79
Extending the no_proxy env variable to automatically include all the nodes of the cluster ( #2885 )
...
* Extending the no_proxy to automatically include the control plane - issue #2884
* Refactoring the code to follow the existing conventions imposed by NodeNamer
* Adding the equivalent treatment to docker provisioner and adding the external load balancer and etc roles(as they may be created implicitly) to complete the picture
* Post-review: a bit of refactoring to bring the podman provisioner closer to what's done for docker
2022-08-22 01:15:43 -07:00
Waldek HERKA
0945078a17
Post-review corrections: removing bits unrelated to issue #2882
2022-08-17 09:42:33 +00:00
Waldek HERKA
dce9b27706
Post-review corrections: hiding the structure
2022-08-17 09:26:15 +00:00
Waldek HERKA
8f7586be55
Support for netavark backed podman(4.x+) and adding the control-plane to the no_proxy list
2022-08-17 07:44:09 +00:00
Benjamin Elder
c9f6a1ed2c
go 1.19 gofmt
2022-08-08 14:31:50 -07:00
Benjamin Elder
13175b044a
simplify template
2022-08-04 16:20:35 -07:00
Kubernetes Prow Robot
36c62825cd
Merge pull request #2846 from BenTheElder/localstorageisolationrootless
...
disable localStorageCapacityIsolation for rootless in >= v1.25.0-alpha.3.440+0064010cddfa00
2022-08-04 07:35:46 -07:00
Benjamin Elder
968c8421dc
disable localStorageCapacityIsolation for rootless in > v1.25.0-alpha.3.440+0064010cddfa00
2022-08-03 16:18:56 -07:00
Kubernetes Prow Robot
81790560be
Merge pull request #2786 from harshanarayana/feature/GIT-2663/optimize-image-load
...
GIT-2663: optimized image load with re-tag support
2022-08-02 13:03:45 -07:00
Harsha Narayana
d1c2a79e2e
GIT-2663: optimized image load with re-tag support
...
GIT-2663: sanitizeImage function to help generate fully qualified image names
GIT-2663: sanitizeImage function to help generate fully qualified image names
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: add comments for sanitizeImage function and add UTs
GIT-2663: cleanup image retag required check
GIT-2663: cleanup image retag required check
2022-07-08 20:07:42 +05:30
a-palchikov
0033147efd
Fix the KubeletConfiguration template for < 1.13 w.r.t feature gates
2022-07-05 16:55:45 +02:00
Paco Xu
6fae657362
migrate to registry.k8s.io from k8s.gcr.io
2022-06-23 20:25:33 +00:00
Paco Xu
2f88c7a947
update pause to use v3.7
2022-06-23 20:25:33 +00:00
Benjamin Elder
d42009ae4b
bump haproxy image
2022-06-07 14:46:03 -07:00
Benjamin Elder
51bb7d7e4d
fix gosimple lint
...
TODO: this is fine here, but we should maybe disable this bad linter. These are not functionally equivilant: The for loop guarantees src is copied in full (or else will panic on bad index) while copy will copy up to the smallest length of either src or dest.
2022-05-27 13:41:28 -07:00
Benjamin Elder
ccddd4978d
use precise versions for kubeadm label / taint changes
2022-05-19 12:07:25 -07:00
Lubomir I. Ivanov
17a35989de
kubeadminit: handle the "control-plane" taint for 1.25-pre
...
The 1.25 prerelease of kubeadm applies only the
new "control-plane" taint.
For versions >= 1.25.0-0 only remove the new taint.
Remove both old and new taints for versions >= 1.24.0-0,
but < 1.25.0-0.
Continue removing only the old taint for versions <1.24.0-0.
2022-05-18 16:13:24 +03:00
Benjamin Elder
1e5497da3e
set fail-swap-on in kubelet config
2022-05-12 15:49:43 -07:00
Benjamin Elder
8f02962013
set cgroupRoot in kubelet config
...
TODO: in a future release, stop setting --cgroup-root in kubeadm dropin
2022-05-12 15:49:43 -07:00
Kubernetes Prow Robot
06a51e78da
Merge pull request #2750 from BenTheElder/haproxy-latest
...
bump haproxy
2022-05-11 11:35:02 -07:00
Benjamin Elder
a2f4dcbe65
create digests images when loading images
2022-05-10 23:45:16 -07:00
Benjamin Elder
3c260d12e6
bump haproxy
2022-05-10 18:03:16 -07:00
Benjamin Elder
90d7770f07
use systemd cgroups for kubernetes v1.24.0+
2022-05-10 01:06:49 -07:00
Benjamin Elder
fa9c89d283
move pkg/cluster/internal/patch to pkg/internal/patch
...
for use implementing containerd config patching at node image build time
2022-05-10 01:06:48 -07:00
Antonio Ojea
b844b14f64
consider prereleases on comparisons
2022-04-13 13:02:23 +02:00
yxxhero
e6113b2cd5
remove TODO for Create in provider.go
...
Signed-off-by: yxxhero <aiopsclub@163.com >
2022-03-29 10:48:50 +08:00
Davanum Srinivas
4b03578715
Dump images used by kind into a log file
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-17 10:16:37 -04:00
Steve Kuznetsov
80f2185c40
podman: don't try to delete without volumes
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com >
2022-03-04 14:34:34 -08:00
Kubernetes Prow Robot
ee6c4187e1
Merge pull request #2620 from aojea/fuse2
...
only mount /dev/fuse for rootless
2022-02-17 14:15:04 -08:00
Antonio Ojea
e5c1712c38
only mount /dev/fuse for rootless
2022-02-17 10:06:03 +01:00