John Gardiner Myers
c2cb6646af
Remove tags from NodeupConfig
2020-07-29 17:24:39 -07:00
John Gardiner Myers
2e7101a1a6
Remove unused functionality from TreeWalker
2020-07-29 14:18:31 -07:00
John Gardiner Myers
3201cc4dd8
Require extra flag when updating cluster with downgraded kops version
2020-07-17 11:11:12 -07:00
Kubernetes Prow Robot
b11e055db2
Merge pull request #9539 from hintofbasil/lyft-hash-environment-variable
...
Add lyft hash environment variable
2020-07-09 11:04:33 -07:00
William Hutcheson
acebce5b26
Add lyft hash environment variable
2020-07-09 13:57:05 +01:00
Ciprian Hacman
9b77f372f1
Fix typo in function name
2020-07-09 10:45:50 +03:00
Ciprian Hacman
827d8c041f
Update mock version to 1.19.0-alpha.1
2020-07-08 18:31:18 +03:00
Kubernetes Prow Robot
0c62641dad
Merge pull request #9354 from johngmyers/refactor-certs-2
...
Continue refactoring certs into nodeup
2020-07-06 17:13:57 -07:00
Ciprian Hacman
a7c8d2087c
Use github.com/blang/semver/v4
2020-07-01 08:54:42 +03:00
John Gardiner Myers
f4f4763dc2
Refactor more certs to be issued by nodeup
2020-06-28 23:12:13 -07:00
Kubernetes Prow Robot
d461bfddaf
Merge pull request #9449 from johngmyers/userdata-task
...
Refactor BootstrapScript into a Task
2020-06-28 16:40:14 -07:00
Kubernetes Prow Robot
679b9db9a1
Merge pull request #9422 from johngmyers/trim-loader
...
Remove dead cloudup code
2020-06-28 13:42:14 -07:00
John Gardiner Myers
cef5b175c7
Rename BootstrapScript to BootstrapScriptBuilder
2020-06-26 10:57:36 -07:00
Kubernetes Prow Robot
07dc255559
Merge pull request #9402 from johngmyers/refactor-userdata
...
Prepatory refactoring of BootstrapScript
2020-06-26 05:23:31 -07:00
John Gardiner Myers
a76a1cd127
Remove unused model options
2020-06-21 22:37:16 -07:00
John Gardiner Myers
51c5d1e66d
Remove dead code in cloudup.Loader
2020-06-21 22:13:37 -07:00
Xiaoyu Zhong
709e7ef33c
Refactor Alicloud LoadBalancerWhiteList to LoadBalancerACL
2020-06-22 09:32:21 +08:00
John Gardiner Myers
99c8c4b8fc
Move apply logic down into pkg for import use
2020-06-19 23:51:41 -07:00
John Gardiner Myers
f539e2937e
Build assets, etc. earlier
2020-06-18 22:30:04 -07:00
John Gardiner Myers
304476cebf
Refactor BootstrapScript
2020-06-18 22:17:39 -07:00
Ciprian Hacman
de6f6e9677
ARM64 support - Generate multi-arch config for assets
2020-06-19 04:42:11 +03:00
Kubernetes Prow Robot
88b53ca046
Merge pull request #9390 from justinsb/cleanup_bootstrap_context
...
Refactor to clean up TemplateFunctions
2020-06-17 23:36:04 -07:00
Justin SB
af09f50fef
Refactor to clean up TemplateFunctions
...
We had some fields that were duplicated; this was confusing and seemed
likely to cause (subtle) bugs.
2020-06-17 23:39:16 -04:00
John Gardiner Myers
a5f5acc09d
Move the instancegroup role into NodeupConfig
2020-06-17 09:05:15 -07:00
John Gardiner Myers
0d74344a43
Remove the baremetal cloud provider
2020-06-14 10:38:29 -07:00
Justin SB
6334da47b6
Refactor BootstrapChannelBuilder to use a KopsModelContext
...
Cleaner, and preparation for ServiceAccount IAM support.
2020-06-11 21:29:16 -04: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
John Gardiner Myers
e88e0cf7ec
Remove code supporting dropped k8s versions
2020-06-04 12:11:51 -07:00
John Gardiner Myers
07f5e58cac
Bump supported and recommended k8s versions for kops 1.19
2020-06-04 12:11:51 -07:00
Ciprian Hacman
c0b62a74ca
Remove all traces of utils.tar.gz
2020-06-03 09:55:45 +03:00
Ole Markus With
7342525872
Remove vsphere from kops files
2020-05-30 13:36:55 +02: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
Kubernetes Prow Robot
bfd65ae589
Merge pull request #9157 from olemarkus/networking-cleanup
...
Networking cleanup
2020-05-24 07:03:10 -07:00
liranp
23c0cdab36
feat(spotinst): new hybrid mode
2020-05-23 21:39:04 +03:00
John Gardiner Myers
2d98e5609c
Remove/fix more CoreOS references
2020-05-22 20:54:41 -07:00
Ole Markus With
d1ff25bb4e
Remove some rather long networking nil checks
2020-05-22 08:08:58 +02:00
Justin Santa Barbara
7e710e85d9
DNS: Apply should be a no-op when empty
...
Document the contract a bit more, change the signature by adding a
context arg and following through to make sure we honor the contract
everywhere.
2020-05-17 16:45:08 -04:00
Justin SB
75fd939a62
kube-apiserver: healthcheck via sidecar container
...
kube-apiserver doesn't expose the healthcheck via a dedicated
endpoint, instead relying on anonyomous-access being enabled. That
has previously forced us to enable the unauthenticated endpoint on
127.0.0.1:8080.
Instead we now run a small sidecar container, which
proxies /healthz and /readyz requests (only) adding appropriate
authentication using a client certificate.
This will also enable better load balancer checks in future, as these
have previously been hampered by the custom CA certificate.
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-07 08:06:52 -04:00
John Gardiner Myers
126c4c8d37
Allow cluster maintenance when channel is unavailable
2020-05-03 13:48:15 -07:00
Justin Santa Barbara
31bb16d4d1
Add context.Context to most signatures
...
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory. Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00
Peter Rifel
4e6e00bec1
Add Terraform 0.12 rendering support and feature flag
2020-04-05 21:18:03 -05:00
Kubernetes Prow Robot
502aaacbe2
Merge pull request #8700 from johngmyers/version-tweaks
...
Balk at using Kubernetes versions too new to be supported
2020-04-05 07:17:45 -07:00
John Gardiner Myers
758f8017e4
Deprecate Kubernetes 1.10
2020-03-25 20:10:51 -07:00
Matteo Ruina
499885822d
Update lyft CNI to 0.6.0
2020-03-16 09:24:28 +01:00
John Gardiner Myers
8db90a3233
Balk at using Kubernetes versions too new to be supported
2020-03-08 18:06:38 -07:00
Srikanth
42e88a7f89
Initial changes for load balancer task
...
Add load balancer fi tasks
Add load balancer builder for DO
Fix go imports
Implement FindIPAddress functionality
Add load balancer api ingress status calls
Add error checks for FindIPAddress
Add delete LB option
Update load balancer delete logic
Revert make file changes
revert utils code changes
Revert NewDOCloud changes
Remove minor code comments
Update with gomod for dependencies
2020-01-27 15:03:05 +05:30
Matteo Ruina
c6bbf504dc
Update lyft CNI to v0.5.3
2020-01-17 22:42:21 +00:00
Kubernetes Prow Robot
77d6d381c3
Merge pull request #8327 from johngmyers/remove-code
...
Remove code for unsupported Kubernetes versions
2020-01-15 14:54:22 -08:00
Austin Moore
4a88f7b5a5
Add ability to specify no ssh key by setting sshKeyName to empty
...
Add tests for no ssh key functionality
Add docs for setting no ssh key
Disable sshKey rendering for cloudformation if nosshkey is set
Fix broken test
make goimports
Fix
Formatting fix
Update kubernetes version for tests
Update expected test output
Fix imports in mesh.pb.go
Run hack/update-expected.sh
Change digital ocean logic to handle *string for SSHKeyName
Fix expected output
Missed a few
2020-01-15 15:24:32 -05:00
John Gardiner Myers
68b4282cb6
Remove code for unsupported k8s versions from cloudup
2020-01-12 16:05:00 -08:00
John Gardiner Myers
19dc62a3e3
Fix staticcheck error
2020-01-11 20:13:22 -08:00
John Gardiner Myers
1651a7ec3c
Merge branch 'master' into remove-support
2020-01-11 20:11:41 -08:00
Aresforchina
f312f7c974
upup/pkg/fi-fix staticcheck
2020-01-07 15:50:30 +08:00
Justin SB
b9e9865fd6
For dev, don't preload docker images on nodes
...
If we're not going to use the docker images, we don't need to preload
them - saves a bit off the boot time.
2020-01-04 14:18:58 -05:00
tanjunchen
46bb31559f
upup/pkg/fi/cloudup/apply_cluster staticcheck
2019-12-30 23:07:52 +08:00
John Gardiner Myers
d843915fcf
Announce Kubernetes 1.9 deprecation
2019-12-28 08:49:31 -08:00
John Gardiner Myers
a1d97c219f
Remove support for Kubernetes 1.8 and earlier
2019-12-28 08:49:31 -08:00
Peter Rifel
f9d0860bbd
Fix link printed in k8s version deprecation message
2019-12-27 17:41:55 -08:00
Kubernetes Prow Robot
fc6ec7cd6f
Merge pull request #8176 from rifelpet/deprecation-warning
...
Add deprecation warning for older k8s versions
2019-12-27 09:30:06 -08:00
Peter Rifel
57e85f7c67
Update links printed by Kops to use new docs site
2019-12-23 18:47:58 -06:00
Peter Rifel
0a917a1744
Add deprecation warning for older k8s versions
...
As discussed during yesterday's office hours.
This should be cherry-picked back to 1.16.
We'll need to bump the minor version in the 1.17 and master branches.
Once we officially drop support we could make this a sliding window that uses the `kops.Version` variable.
I think we could have deprecation warnings for the 2 oldest versions still supported by the kops version, announcing that the n+2 Kops version will no longer support the specified k8s version.
2019-12-21 14:47:44 -06:00
Kubernetes Prow Robot
3ef957322e
Merge pull request #7941 from prksu/fix-panic-when-ssh-key-not-exists-on-do
...
Fix panic when ssh key not exists on digitalocean
2019-11-20 13:39:19 -08:00
Matteo Ruina
7a581f0a88
Update docs/networking.md
...
Co-Authored-By: David Byron <dbyron@dbyron.com>
2019-11-19 08:31:51 +01:00
Ahmad Nurus S
cc3f8aa88d
Fix panic when ssh key not exists on digitalocean
2019-11-18 02:26:44 +07:00
Matteo Ruina
2ae68061d6
Update lyft cni to v0.5.0
2019-10-31 15:29:12 +01:00
Justin SB
e611f39e48
Upload dns-controller archive, use in KOPS_BASE_URL
...
Like we recently did with kops-controller, this means we aren't
reliant on pushing a docker container for development. This should
also fix the e2e tests, which otherwise break whenever we make an
incompatible change to dns-controller.
2019-10-13 08:34:44 -07:00
Kubernetes Prow Robot
021b805178
Merge pull request #7661 from beautytiger/dev-190924
...
cleanup code to cancel some staticcheck warnings
2019-09-30 11:45:46 -07:00
Justin SB
49258971fc
Publish kops-controller container dump to S3/GCS
...
We then `docker load` it when using a KOPS_BASE_URL.
This should simplify the development process (particularly once we
also do this for dns-controller; at that point we won't need a
registry at all).
This should also fix the problems in CI, where the kops-controller
image isn't available. We've been getting away with testing with the
previous version for dns-controller, which changes pretty slowly. But
that's not a good idea for kops-controller, which is likely to be more
critical and evolve more rapidly.
2019-09-28 22:43:46 -04:00
Guangming Wang
9450913df0
cleanup code to cancel some staticcheck warnings
...
correct versionWithoutV without re-assign to variable
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-09-25 17:46:15 +08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Jesse Haka
59b0dd5aa5
move OpenStack from alpha to beta
2019-08-29 22:55:36 +03:00
Kubernetes Prow Robot
eeb383826f
Merge pull request #7377 from justinsb/download_nodeup_from_mirrors_also
...
Support mirroring for nodeup also
2019-08-16 08:00:29 -07:00
ethan
0a89b45aa1
correct typo in output message
2019-08-05 21:54:07 +08:00
Justin SB
330ccfcd55
Support mirroring for nodeup also
...
We weren't using mirrors for nodeup (just protokube), though the
existing bash script supports mirrors.
2019-08-04 01:34:39 -04:00
liranp
80020052d3
feat(spotinst): new instance group type: ocean
2019-06-03 12:38:46 +03:00
Kubernetes Prow Robot
a6ee3cd767
Merge pull request #6886 from rralcala/master
...
Use existing SSHKeyName if no public key is created.
2019-05-07 06:33:46 -07:00
Roberto Rodriguez Alcala
c6aa23cf91
Based on the Readme, if you specify a SSHKeyName in the cluster.spec,
...
you don't need to add an ssh public key, this change allows that
combination to work on aws.
Basically, if a key name is set on the spec and there's no admin key
file, the key name will be used and the key will not be managed in
terraform.
2019-05-06 21:22:36 -07: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
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
Justin SB
7bd4a7e262
Support download protokube from mirror
2019-03-26 00:45:54 -04:00
Justin SB
8b9969e01c
Simple mirror support
...
We recognize our primary location via string-matching, and we then
have a hard-coded list of mirrors for that location.
Didn't prove easy to make this much better, but we can hopefully do so
iteratively (e.g. fetch mirrors via URL)
2019-02-20 14:31:50 -05:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
fb0939af9b
Openstack Model, tasks, and cloud ops refactor
2019-01-15 14:16:08 -07:00
Jon Perritt
3064f6be15
server groups, lb, instance, and dns tasks, models and resources
2019-01-15 14:06:54 -07:00
Jon Perritt
9573ed45c0
add openstack gate flag
2019-01-15 14:06:28 -07:00
Justin SB
26bd75aecb
Bulk spelling fixes
...
Experimenting with my own spelling checker, these are the typos it caught.
2018-12-20 17:43:56 -05:00
Jared Allard
e0fb2462ee
chore: gofmt 1.10
2018-11-26 09:28:57 -08:00
Jared Allard
19811d9759
chore(tests): fix them up
2018-11-24 17:03:50 -08:00
Jared Allard
49ceb0a8dc
feat: fix tests and ref link in apply_cluster
2018-11-24 16:17:32 -08:00
Jared Allard
beb78dd7e3
feat: set anonymousAuth to false on clusters >1.10, and recommend it on upgrade
2018-11-24 15:55:22 -08:00
Chris Phillips
9755318db9
update lyft cni plugin to 0.4.2
2018-11-07 08:08:44 -08:00
Chris Phillips
153dd977df
log when using the env var to override plugin url
2018-11-07 08:08:44 -08:00
Chris Phillips
cdeeb3704b
allow overriding the cni plugin download url
2018-11-07 08:08:44 -08:00
Chris Phillips
2b9a56f8e6
rename to LyftVPC. Removes all the settings from the NetworkingSpec
2018-11-07 08:08:44 -08:00
Chris Phillips
3ec470b240
apimachinery and updated BUILD.bazel for cni-ipvlan-vpc-k8s
2018-11-07 08:08:13 -08:00
Liran Polak
7ae8515a05
fix: execute gofmt using go1.10
2018-10-14 11:37:31 +03:00
Liran Polak
9f94c06e67
fix: rename spotinst's feature flag
2018-10-14 11:37:31 +03:00
Liran Polak
7654a923f1
feature: new integration: spotinst
2018-10-14 11:37:31 +03:00
Rodrigo Menezes
1917448788
fix typo in comment
2018-10-10 09:52:33 -07:00
Justin Santa Barbara
54c499fe9b
Introduce field to specify whether we are using etcd-manager or legacy mode
...
Splitting this out from the bigger bundle PR
2018-10-01 15:36:24 -07:00