justinsb
8c66610b8d
Fix nil pointer error where containerd is not in use
...
We need to check for nil.
We could consider using Getters.
2021-09-19 21:59:22 -04:00
Ole Markus With
f5fed2a08d
Move nvidia config under containerd
2021-09-05 20:28:07 +02:00
Ole Markus With
dae4b123ba
Add labels and taints to gpu nodes
2021-09-05 20:17:06 +02:00
Eric Bailey
f58482c584
Update populate_instancegroup_spec.go
...
fix typo: APIServrNodes -> APIServerNodes
2021-06-15 13:59:35 -05:00
Ciprian Hacman
bdd63c917f
Allow AWS instance types with multiple architectures
...
Older AWS instance types support both "i386" and "x86_64" architectures:
```
$ aws ec2 describe-instance-types --instance-types t2.micro
{
"InstanceTypes": [
"InstanceType": "t2.micro",
"ProcessorInfo": {
"SupportedArchitectures": [
"i386",
"x86_64"
],
```
2021-05-12 14:05:12 +03:00
Kenji Kaneda
221568a7a6
Add Azure image to alpha/stable channel
...
Remove the default image hard-coded in populate_instancegroup_spec.go.
2021-04-20 09:47:03 -07:00
Ole Markus With
20bd724f5e
Add support for scaling out the control plane with dedicated apiserver nodes
...
Ensure apiserver role can only be used on AWS (because of firewalling)
Apply api-server label to CP as well
Consolidate node not ready validation message
Guard apiserver nodes with a feature flag
Rename Apiserver role to APIServer
Add an integration test for apiserver nodes
Rename Apiserver role to APIServer
Enumerate all roles in rolling update docs
Apply suggestions from code review
Co-authored-by: Steven E. Harris <seh@panix.com>
2021-03-20 20:57:00 +01:00
Ciprian Hacman
55f8c70779
Add channels entries for image architecture
2021-03-15 20:36:37 +02: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
Srikanth Rao
a7f6aae14f
Update upup/pkg/fi/cloudup/populate_instancegroup_spec.go
...
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-11-01 23:30:29 +05:30
srikiz
69479c3c8c
Use Debian10 image for DO
2020-10-24 21:52:35 +05:30
Ole Markus With
1d922af364
Pass cloud into populate cluster
2020-09-24 07:22:13 +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
Ciprian Hacman
a7c8d2087c
Use github.com/blang/semver/v4
2020-07-01 08:54:42 +03: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
Ole Markus With
7342525872
Remove vsphere from kops files
2020-05-30 13:36:55 +02:00
Srikanth
55e07860db
Use debian as default image for DO images
2020-05-27 00:43:26 +05:30
John Gardiner Myers
ec4fe1e7e8
Don't put bastions in the utility subnets
2020-05-12 22:06:34 -07:00
John Gardiner Myers
126c4c8d37
Allow cluster maintenance when channel is unavailable
2020-05-03 13:48:15 -07:00
John Gardiner Myers
8f6529879b
Return more errors at once during InstanceGroup validation
2020-01-28 08:22:44 -08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -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
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
5cae86c2ce
dep ensure and gofmt updates
2019-01-16 15:09:20 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
1570a1d3c5
Unused import from cherry-pick
2019-01-16 09:43:33 -07:00
Sergiu Marsavela (smarsave)
5af3561749
Determine the default flavours
2019-01-16 09:27:31 -07:00
Justin Santa Barbara
76f5ed2d9c
Refactor tables package to be more reusable
...
We still need the reflect helpers, but we allow for clients to
register their own pretty-printers, which avoids the package
dependency for our pretty-printer. We register our pretty printers in
an init function in the relevant package (in this case,
upup/pkg/fi/printers.go)
Fix #5551
2018-08-02 14:09:05 -04:00
andrewsykim
ac5a6bd345
digitalocean: use new droplet sizes providing the same resources at cheaper prices
2018-04-14 22:24:21 -04:00
andrewsykim
0411ba270e
Create cluster requirements for DigitalOcean
2017-08-22 09:01:19 -04:00
Justin Santa Barbara
ef99e61f83
Query AWS to determine available instance types
2017-06-30 15:38:32 -04:00
Justin Santa Barbara
d2df318ecc
Move CloudProvider to kops API
...
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
Miao Luo
de72c50a0d
Change the default image name for vsphere provider and other minor fix.
2017-04-20 23:38:33 -07:00
prashima
bc3e8c3734
Added code to enable nodeup and protokube building and execution for vSphere VM ( #11 )
...
* Added code to enable nodeup and protokube building and execution for vSphere VM.
* Fixed nodeup template for vSphere.
2017-04-20 23:37:19 -07:00
SandeepPissay
3ed60bd708
Fixed the formatting and added copyright headers to new files
2017-04-20 23:31:49 -07:00
SandeepPissay
82f9f0668d
vsphere initial support.
2017-04-20 23:31:21 -07:00
Geosung Lee
dac172c1cb
Set default master size for ap-northeast-2
...
The ap-northeast-2 region doesn't support the m3 family; a c4.large is
the cheapest non-burstable instance.
Please refer to the issue #1455 .
2017-04-12 21:17:42 +09:00
Justin Santa Barbara
4006741a5d
Update for new taints / labels names
2017-03-27 23:13:39 -04:00
Daniel Cohen
aa1205036d
Specify instance tenancy on AWS
...
Allow tenancy to default to empty
Don't allow dedicated clusters to launch unsupported instances
2017-03-21 14:13:17 -04:00
Justin Santa Barbara
bd5d7c83a5
AssociatePublicIP defaults to nil
...
Rather than always setting it (incorrectly in many cases), we infer it
from the subnets.
Users can still set it, we just don't default it to a value we then
ignore.
Fix #1582
2017-01-28 21:40:31 -05:00
Justin Santa Barbara
379e0ca098
Channel manifest should be version aware
...
* We can target AMIs to kubernetes versions
* We can recommend / force a kops upgrade
* We can recommend / force a kubernetes upgrade
2017-01-25 23:13:48 -05:00
Justin Santa Barbara
d4122c03c7
Use instance group subnets instead of topology type
...
It looks like we can infer this from the instance group types, keeping
topology as an argument to `kops create cluster`.
2017-01-20 23:16:48 -05:00
Kris Nova
edded7ad6c
Merge pull request #1483 from justinsb/int_to_int32
...
Change int to int32 in API
2017-01-16 20:04:28 -07:00
Justin Santa Barbara
09cb9b654c
Change int to int32 in API
...
We shouldn't be using the variable-sized int in the API
2017-01-15 18:23:44 -05:00
Justin Santa Barbara
3865e68533
Set default master size for ca-central-1 and eu-west-2
...
These newer regions don't support the m3 family; a c4.large is the
cheapest non-burstable instance.
Fix #1455
2017-01-12 14:27:34 -05:00
Justin Santa Barbara
a03ea54365
Rename SubnetName -> Name
...
No schema impact
2016-12-19 00:01:38 -05:00
Justin Santa Barbara
4475d68c2e
Remove dead code
2016-12-18 21:56:57 -05:00
Justin Santa Barbara
ee241b5d9b
Infer subnets of the correct type in kops create ig
...
Utility subnets are only for type=Bastion
2016-12-18 21:56:57 -05:00
Justin Santa Barbara
fed68310fa
Schema v1alpha2
...
* Zones are now subnets
* Utility subnet is no longer part of Zone
* Bastion InstanceGroup type added instead
* Etcd clusters defined in terms of InstanceGroups, not zones
* AdminAccess split into SSHAccess & APIAccess
* Dropped unused Multizone flag
2016-12-18 21:56:57 -05:00
Justin Santa Barbara
c01c2af656
Mark ObjectMeta as a named field
...
This will work around some apimachinery bugs
(https://github.com/kubernetes/client-go/issues/8 )
2016-12-14 22:26:57 -05:00