John Gardiner Myers
75ca231693
Move default machine type to NodeupConfig
2020-06-28 18:52:04 -07:00
John Gardiner Myers
44fb283e3f
Move NodeLabels into the NodeupConfig
2020-06-28 18:52:03 -07:00
John Gardiner Myers
1ba0f0d463
Move Taints into the NodeupConfig
2020-06-28 18:51:42 -07:00
John Gardiner Myers
5e5f25703d
Move KubeletConfig into the NodeupConfig
2020-06-28 18:51:16 -07:00
John Gardiner Myers
8a2dfeb377
Refactor buildMasterKubeletKubeconfig
2020-06-16 21:37:56 -07:00
Peter Rifel
bc074e857c
Use ec2.DescribeInstanceTypes in awsup.GetMachineTypeInfo
...
This requires passing a cloud object in additional places throughout the validation package and originating mostly from cmd/kops
This means that some kops commands now require valid cloud provider credentials, but I don't think this is an issue because the vast majority of use-cases already require the same cloud provider credentials in order to interact with the state store.
2020-06-09 10:13:01 -05:00
ZouYu
2fc52ec6be
fix some go-lint warning
...
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-06-09 08:52:50 +08:00
Kubernetes Prow Robot
d18e97140e
Merge pull request #9130 from johngmyers/pki-refactor
...
Refactor cert issuance code
2020-06-05 01:43:43 -07:00
John Gardiner Myers
e88e0cf7ec
Remove code supporting dropped k8s versions
2020-06-04 12:11:51 -07:00
John Gardiner Myers
d64e760d5b
Use pki.IssueCert() for nodeup client certs
2020-06-04 10:26:45 -07:00
John Gardiner Myers
2c02f0812c
Upgrade docker/containerd/containeros hashes to SHA256
2020-05-29 21:12:36 -07:00
Kubernetes Prow Robot
6830cf6d44
Merge pull request #9065 from johngmyers/remove-distro
...
Remove support for CoreOS and Jessie
2020-05-27 23:22:01 -07:00
Ole Markus With
d1ff25bb4e
Remove some rather long networking nil checks
2020-05-22 08:08:58 +02:00
John Gardiner Myers
06c6ac1bee
Remove support for CoreOS and Jessie
2020-05-04 23:09:52 -07:00
Ciprian Hacman
95ab317c8a
Don't install static utils for Flatcar
2020-04-25 14:59:55 +03:00
Ciprian Hacman
17bb98b7d7
Add support for Ubuntu 20.04 (Focal)
2020-03-11 06:49:02 +02:00
Ciprian Hacman
162761cd64
Fix DNS loop on Ubuntu 18.04 (Bionic)
2020-01-16 18:25:19 +02:00
John Gardiner Myers
6e9dc8fc0f
Remove code for unsupported k8s versions from nodeup
2020-01-12 19:30:34 -08:00
Ciprian Hacman
d35977ac90
Update hardcoded dependencies on on docker.service
2019-12-29 04:43:40 +02:00
Kubernetes Prow Robot
4621df3c0a
Merge pull request #8155 from hakman/staticcheck-nodeup
...
nodeup/pkg/model - fix static check
2019-12-20 00:15:32 -08:00
Ciprian Hacman
fa665943ac
nodeup/pkg/model - fix static check
2019-12-18 22:07:31 +02:00
Ciprian Hacman
ce9ed2e1fb
Make sure Cluster.Spec.Containerd exists before checking the address
2019-12-16 15:26:52 +02:00
Ciprian Hacman
59ab0ca9d0
Pass containerd --address flag to kubelet if it exists
2019-12-16 00:59:26 +02:00
Ciprian Hacman
42b73b877d
Add support for containerd container runtime
2019-12-15 21:37:57 +02:00
Salvatore Mazzarino
f6908656bf
Fix volume plugins dir
...
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2019-11-24 16:35:23 +01:00
Kubernetes Prow Robot
0c66a304c3
Merge pull request #7754 from tanjunchen/fix-up-gosimple-error
...
fix-up gosimple check error
2019-10-12 11:18:44 -07:00
liranp
c6eb29a4b5
fix(nodeup): miscalculated `max-pods` when using amazon-vpc-cni
2019-10-10 12:02:12 +03:00
tanjunchen
43bf6bdab6
fix-up gosimple check error
2019-10-07 11:59:57 +08:00
Justin SB
728e582360
Fill out kops controller functionality
...
k8s 1.16 requires that we move label setting away from the kubelet, to
a central controller. kops-controller is that controller.
2019-09-25 12:04:34 -04:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
8e2dbb6a99
Bootstrap: protokube labels its own node with node-role label
...
As of k8s 1.16, the node-role label is protected for security reasons.
We will introduce a controller to set those labels generically.
However, we need these labels to run the controller (only) on master
nodes.
To solve this bootstrapping problem, we use protokube to apply the
master role node labels to the master node only. This isn't a
security problem because we assume that protokube on the master is
highly trusted - we are still administering labels centrally.
Then kops-controller can use this label to target the master nodes,
and run a central label controller.
2019-09-08 20:51:00 -04:00
Justin SB
810c65eb46
Copy well-known users from apiserver
...
This should eliminate the dependency on k8s.io/apiserver
2019-08-31 08:50:09 -07:00
Kashif Saadat
4514215656
Set and mount the correct volume plugin dir based on OS
2019-08-01 17:54:08 +01:00
Kubernetes Prow Robot
a8e7109129
Merge pull request #7040 from spotinst/feature-spotinst-ocean
...
Spotinst: New instance group type: Ocean
2019-06-20 12:24:10 -07:00
liranp
80020052d3
feat(spotinst): new instance group type: ocean
2019-06-03 12:38:46 +03:00
Salvatore Mazzarino
c7381f9a34
Flatcar support
...
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2019-05-31 12:20:27 +02: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
xichengliudui
c02802f36d
Using const() defines constants together (part:4)
2019-04-20 05:12:51 -04:00
Justin SB
de581b1b64
Switch to golang 1.11.5
...
For cherry-picking to 1.13
https://github.com/kubernetes/kubernetes/blob/release-1.13/build/build-image/cross/Dockerfile
2019-04-20 17:36:56 -04:00
Kubernetes Prow Robot
3b907c81e4
Merge pull request #5982 from justinsb/create_var_lib_kubelet
...
Always create /var/lib/kubelet, even in bootstrap mode
2019-03-17 04:12:55 -07:00
Alex Williams
c928b7e6c5
Use EnsureTask for create static pod directory
2019-03-14 12:22:43 +00:00
Justin SB
ecbc34153b
Always create /var/lib/kubelet, even in bootstrap mode
...
Otherwise we end up with a circular dependency where we don't run the
node-authorizer until /var/lib/kubelet has been bind-mounted, but it
can't be bind-mounted until it exists.
This bind-mounting happens on Google's ContainerOS, which is why it
isn't always seen.
2019-03-14 01:07:52 -04:00
Kubernetes Prow Robot
53189d7e6b
Merge pull request #6210 from mmerrill3/feature/kops-4049
...
Fixing kops-4049
2019-02-18 02:43:00 -08:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
4f0169bb79
codegen
2019-01-16 09:30:40 -07:00
mmerrill3
248f08b467
Fixing kops-4049
2018-12-16 11:59:16 -05:00
Rodrigo Menezes
7231c20f60
ExperimentalAllowedUnsafeSysctls has moved to AllowedUnsafeSysctls in k8s 1.11
2018-12-07 00:20:32 -08:00
Ripta Pasay
7ca6ddc9e0
Replace MaxPods in machine type data with InstanceENIs and InstanceIPsPerENI
2018-11-25 22:35:25 +00:00
Seth Pollack
cd63aa5429
set max pods when using aws vpc cni
...
(cherry picked from commit 92fd86f04a )
2018-11-25 20:45:28 +00:00
mmerrill3
7c4b2a6a5e
Setting the manifest directory when it is required by kubelet
2018-11-19 10:04:44 -05:00
SataQiu
0550d8d4e8
fix the typos
2018-10-19 17:35:26 +08:00