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
Benjamin Elder
a6edb4aadc
bump haproxy image
2022-02-07 20:52:29 -08:00
Antonio Ojea
069242b965
only mount /dev/fuse for rootless
2022-02-04 22:48:54 +01:00
wanlerong
c08fb3aa45
fix: wrong comment
2022-01-26 18:18:42 +08:00
wanlerong
71cf4c8a03
fix: typo
2022-01-26 17:11:42 +08:00
Lubomir I. Ivanov
26de74a756
handle "master" label/taint changes for kubeadm 1.24
...
As per the kubeadm KEP for "master" label/taint changes:
- kubeadm 1.24 nodes will only have the "control-plane" label.
- kubeadm 1.24 nodes will have both the "master"
and "control-plane" taints.
- kubeadm 1.25 nodes will have only the "control-plane" taint
Adapt kind to these changes and add TODOs with links
for the tracking issue in k-sigs/kind.
2022-01-17 16:04:33 +02:00
Benjamin Elder
8fbaace793
upgrade to kubeadm v1beta3 config format
2022-01-07 16:46:42 -08:00
Kubernetes Prow Robot
67a15a0832
Merge pull request #2568 from knight42/remove-deprecated-flag
...
refactor: remove deprecated flag --address from scheduler config
2022-01-07 03:20:30 -08:00
Benjamin Elder
64b1432242
Merge pull request #2575 from wanlerong/fix-list-nodes-error-msg
...
fix: listnodes error message
2022-01-06 13:24:08 -08:00
wanlerong
acade4cfa5
fix: listnodes error message
2021-12-30 17:39:21 +08:00
Jian Zeng
186466314a
refactor: remove deprecated flag --address from scheduler config
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2021-12-16 10:49:23 +08:00
Akihiro Suda
ab38ef8c4a
rootless: set LocalStorageCapacityIsolation=false to avoid "could not find device ..." error
...
For avoiding err="failed to get rootfs info: failed to get device for dir \"/var/lib/kubelet\": could not find device with major: 0, minor: 41 in cached partitions map"
Fix issue 2524
See https://github.com/kubernetes/kubernetes/blob/v1.22.2/pkg/kubelet/cm/container_manager_linux.go#L641-L649
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2021-12-02 15:03:59 +09:00
Antonio Ojea
a380cee64b
fix dual-stack order detection
...
the logic was parsing a CIDR as an IP, hence always detecting the
order as IPv6 - IPv4.
2021-11-29 16:58:58 +01:00
Benjamin Elder
4a18b42d96
de-dupe clusterHasIPv6 and clusterHasImplicitLoadBalancer in providers
2021-11-23 14:49:28 -08:00
Benjamin Elder
09f567d4ab
set --snapshotter when loading image archives
2021-11-18 16:46:17 -08:00
Kubernetes Prow Robot
fa7d86470f
Merge pull request #2539 from BenTheElder/provider-cleanup
...
assorted overdue cleanup
2021-11-17 11:37:55 -08:00
Benjamin Elder
b07e1b04a6
clarify waiting for node cgroups ready
2021-11-17 10:52:56 -08:00
Benjamin Elder
63605424ce
switch kind to forked version package
2021-11-16 16:00:10 -08:00