Commit Graph

227 Commits

Author SHA1 Message Date
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