Ole Markus With
f2f9b9dcbb
Determine hostnameOverride entirely in nodeup instead of passing in cloud placeholders from cloudup
2021-11-30 13:29:54 +01:00
Ole Markus With
4ef0172ee9
Enable protect-kernel-defaults by default and set the correct sysctls in nodeup
2021-08-23 11:48:20 +02:00
Peter Rifel
c5fbcccfa6
Update pause image to 3.5
2021-07-02 06:40:27 -04:00
John Gardiner Myers
d3469d6ec2
Remove code for no-longer-supported k8s versions
2021-05-07 23:40:03 -07:00
Ole Markus With
4d4bcba315
Enforce 1.14 deprecation
2021-02-21 17:59:39 +01:00
Ole Markus With
4ee43a849c
k/k changed the feature gate for disabling in-tree CSI
2021-02-18 21:12:51 +01:00
Ole Markus With
a86abcfd3e
CSIMigrationAWSComplete feature gate does not work unless also CSIMigrationAWS is enabled
2021-02-11 12:41:50 +01:00
Kubernetes Prow Robot
a140168c70
Merge pull request #10467 from olemarkus/ebs-csi
...
AWS CSI driver
2021-01-12 13:36:35 -08:00
Bharath Vedartham
a8d709acf2
Default cgroup driver to systemd from k8s 1.20
...
Currently, kOps uses cgroupfs cgroup driver for the kubelet and CRIs. This PR defaults
the cgroup driver to systemd for clusters created with k8s versions >= 1.20.
Using systemd as the cgroup-driver is the recommended way as per
https://kubernetes.io/docs/setup/production-environment/container-runtimes/
2021-01-12 20:39:25 +05:30
Ole Markus With
f5ae5f8808
AWS CSI driver
2021-01-12 07:09:10 +01:00
Kenji Kaneda
a61caea8d2
Add Azure support
...
This commit contains all changes required to support Azure
(https://github.com/kubernetes/kops/issues/3957 ).
2020-12-21 08:27:54 -08:00
Ole Markus With
29a1cb2a9f
If we use node local dns, always use the nld local ip as cluster dns
2020-10-16 12:46:17 +02:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers
8258dcd395
Exempt OpenStack from the EnableExternalCloudController feature flag
2020-07-25 13:12:25 -07:00
Ciprian Hacman
06df2cc123
Re-enable disk based evictions for Kubernetes 1.19
2020-07-09 19:36:11 +03:00
John Gardiner Myers
479b4860e8
Remove deprecated function
2020-07-06 22:48:01 -07:00
Kubernetes Prow Robot
a97fc42666
Merge pull request #9491 from johngmyers/nodeport-dns
...
Default ClusterDNS appropriately when NodeLocalDNS is enabled
2020-07-05 22:28:50 -07:00
Ciprian Hacman
69511a998e
Use kubelet docker-specific flags only for Docker
2020-07-05 07:57:10 +03:00
John Gardiner Myers
004f7b578f
Default ClusterDNS appropriately when NodeLocalDNS is enabled
2020-07-03 16:57:03 -07:00
Ciprian Hacman
87ad779c76
Disable disk based evictions for Kubernetes 1.19
2020-06-08 11:13:23 +03:00
Ciprian Hacman
f34a13a8f0
Disable disk based evictions for Kubernetes 1.19
2020-06-08 11:11:44 +03:00
Ciprian Hacman
33c242c896
Use multi-arch image for pause container
2020-06-03 17:17:32 +03:00
Ole Markus With
7342525872
Remove vsphere from kops files
2020-05-30 13:36:55 +02:00
Kubernetes Prow Robot
bfd65ae589
Merge pull request #9157 from olemarkus/networking-cleanup
...
Networking cleanup
2020-05-24 07:03:10 -07:00
Ole Markus With
d1ff25bb4e
Remove some rather long networking nil checks
2020-05-22 08:08:58 +02:00
Justin SB
5ed11fd9c7
GCE: don't rely on hostname being correct
...
Distros that use systemd for DHCP often don't have the hostname
correct, due to e.g. the requirement for policy kit.
We don't rely on it being set correctly on other clouds; no real
reason to require it on GCP either!
2020-05-17 15:20:58 -04:00
Ciprian Hacman
78de18a803
Update k8s.gcr.io/pause image to version 3.2
2020-05-01 22:12:42 +03:00
John Gardiner Myers
83bdb3ef88
Remove code for unsupported k8s versions from pkg/model/components
2020-01-12 16:05:00 -08:00
Kubernetes Prow Robot
dd608e879b
Merge pull request #7770 from mitch000001/external-cloud-controller-feature-flag
...
Guard External cloud controller manager with its feature flag
2019-12-26 14:03:38 -08:00
Xiaoyu Zhong
002ddbb270
Alicloud: add hostname override
2019-10-16 21:53:40 +08:00
Michael Wagner
bfe9b21213
fix(external-ccm): prevent core components to be misconfigured
...
Previously when setting the external cloud controller manager
configuration the core components `kubelet`, `apiserver` and
`kubecontroller-manager` were configured to use the external cloud
controller manager. Without setting the feature flag
EnableExternalCloudController this lead to a cluster in which the
masters had the cloud controller taint
`node.cloudprovider.kubernetes.io/uninitialized` which prevents
essential pods, like dns-controller to not be scheduled and leaves a
cluster where worker nodes can't connect to the api server because they
cannot resolve its hostname.
2019-10-10 21:38:50 +02:00
tanjunchen
28fdb358f8
fix-up staticcheck error
2019-10-08 13:53:04 +08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Peter Rifel
3d8f57fa24
Dont set CriticalPodAnnotation feature gate in k8s 1.16
...
The E2E tests are currently failing [0] due to this kubelet error [1]:
`F0818 22:43:57.642896 6424 server.go:179] unrecognized feature gate: ExperimentalCriticalPodAnnotation`
This feature gate was removed in Kubernetes 1.16 [2]
[0] https://testgrid.k8s.io/sig-cluster-lifecycle-kops#kops-aws-1.14
[1] https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-kops-aws-beta/1163216201782923264/artifacts/52.77.251.45/kubelet.log
[2] https://github.com/kubernetes/kubernetes/pull/80342
2019-08-18 19:53:15 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Lily
e4cbd3c17c
add ALI flags
2019-03-16 17:26:44 +08:00
Michael Taufen
798044b720
Stop setting deprecated --allow-privileged Kubelet flag in 1.14
2019-03-04 13:28:41 -08:00
Justin Santa Barbara
b208bd44b3
Create ExperimentalClusterDNS feature flag
...
This currently just turns off validation of the kubelet cluster dns
flag, which should allow for experimenting with more complicated DNS
configurations such as local proxies, which may address shortcomings
of DNS retries with UDP.
Issue #5584
2018-08-14 14:59:20 -04:00
Rohith
d2bae64dd1
- adding the enable-bootstrap-token-auth to the kubeapi and fixing up the various compoents
2018-06-11 09:57:26 +01:00
andrewsykim
54bee09f47
digitalocean: add kubelet hostname override
2018-04-03 01:16:50 -04:00
Tim Hockin
79d5f793e7
Convert registry to k8s.gcr.io
2018-02-14 10:08:41 -08:00
zhangxiaoyu-zidif
30b10cb1c8
modify check require-kubeconfig
2018-01-30 17:53:16 +08:00
Justin Santa Barbara
4dccf6d56d
Don't specify require-kubeconfig from 1.10
...
Should fix https://github.com/kubernetes/kubernetes/pull/58367
2018-01-20 17:57:58 -05:00
Kubernetes Submit Queue
ac7ae3fd58
Merge pull request #3809 from rdrgmnzs/hostnameOverride_use_hostname
...
Automatic merge from submit-queue.
Let a user set a hostnameOverride when the cloud provider is aws.
Let a user use the hostname or set a hostnameOverride when the cloud provider is aws. This would allow for a more descriptive name to be used. The name of the hosts when using @hostname can be set by using a hook or some other method.
2017-12-13 17:46:21 -08:00
zengchen1024
f9c98c3b4c
add openstack cloud provider
2017-11-13 16:59:24 +08:00
Rodrigo Menezes
255305b8ef
Let a user use the hostname or set a hostnameOverride when the cloud provider is aws
2017-11-08 23:59:21 -08:00
wlan0
d3143ec3cc
add Cloud Controller Manager addon
2017-10-19 12:33:44 -07:00
Andrey Chernih
56553c5971
Add ability to override feature gates and check version
2017-09-18 20:04:54 -07:00
Andrey Chernih
11c702ea0c
Enable ExperimentalCriticalPodAnnotation feature gate
...
Otherwise, it is possible that critical system components will be
evicted
https://github.com/kubernetes/kops/issues/3194
https://github.com/kubernetes/kubernetes/issues/51432
Closes #3194
2017-09-05 21:28:13 -07:00
andrewsykim
0411ba270e
Create cluster requirements for DigitalOcean
2017-08-22 09:01:19 -04:00