Commit Graph

340 Commits

Author SHA1 Message Date
Srikanth 0cc3bc0e37 Update packages 2019-11-24 12:56:46 +05:30
Justin Santa Barbara 3239f44ba8 Run goimports from locked version in go.mod
This avoids relying on the version that happens to be installed.
2019-11-24 01:00:30 -05:00
mikesplain e897124c50
Add new instance types 2019-11-18 09:44:52 -08:00
mikesplain 663ef95171
Update for NA storage 2019-11-18 09:43:07 -08:00
Srikanth 9d0b63b482 Fix build issue with verify-packages 2019-10-29 11:48:25 +05:30
Kubernetes Prow Robot 18cfa5f5b2
Merge pull request #7593 from mikesplain/docs_site_map
Docs cleanup / mkdocs migration
2019-10-25 08:31:40 -07:00
Kubernetes Prow Robot c4245be7b7
Merge pull request #7802 from bittopaz/alicloud
Alicloud: add OSS as upload dest
2019-10-19 15:27:43 -07:00
Xiaoyu Zhong a719e04a6d Alicloud: add OSS as upload dest 2019-10-16 21:43:26 +08:00
Guangming Wang 40dca69298 fix string trim func in main
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-16 21:37:28 +08:00
Justin SB b6862103bb
Change default port for memberlist from 3997
We had a port collision on 3997; change the default memberlist ports
to avoid the collision (we haven't shipped a release with this in it).

Also create a go file so that we can use constants to keep track of
our port numbers, rather than magic values.
2019-10-14 07:26:27 -04:00
Justin SB d3bad10aa9
Move kops-controller to use a yaml configuration file
This is more in keeping with componentconfig, and lets us add more
options easily in future.
2019-10-13 07:27:52 -07: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
Kubernetes Prow Robot ff1d94c7cb
Merge pull request #7692 from zetaab/kops_ctrl_openstack
Kops controller support for OpenStack
2019-10-11 09:13:41 -07:00
Thomas Jackson 6b53d4a199 Update hack packages 2019-10-10 13:09:22 -07:00
tanjunchen 43bf6bdab6 fix-up gosimple check error 2019-10-07 11:59:57 +08:00
Jesse Haka ed8dbc41d0 kops controller support for openstack 2019-09-28 10:06:39 +03:00
Peter Rifel 466ca95243 Dont assign unused values to variables 2019-09-27 12:51:19 -07:00
Peter Rifel 413580f13f aws sdk - replace deprecated session.New with session.NewSession 2019-09-27 12:51:19 -07:00
Peter Rifel 974a1c6b3c Add verify-staticcheck script mostly copied from kubernetes/hack/verify-staticcheck.sh 2019-09-27 11:58:33 -07:00
Justin SB cdaa7a3a48
Fix boilerplate: headers & packages 2019-09-25 12:48:14 -04:00
mikesplain c420249120 Add g4dn 2019-09-23 13:23:03 -04:00
mikesplain 1c4c541938 Fix machine types for new nvme string formatting 2019-09-23 13:22:30 -04:00
mikesplain 45a8e5a3b8 First pass 2019-09-19 20:56:29 -04:00
Justin SB 39d642ee97
hack/update-expected.sh: mask development env vars
There are a few env vars which are frequently set in development, but
should not be reflected in the tests.  Clear them before generated the
expected output.
2019-09-14 11:45:27 -04:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
mikesplain 2c95884c25 Update and add back some sizes 2019-09-03 15:15:35 -04:00
Justin SB 3fbc906cbc
Create env-var helper function
Refactor to start to centralize the env-var configuration for system
components, also start to add test coverage so we can be sure we
haven't broken things!
2019-09-02 10:26:09 -07: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
Justin SB e48cf36353
Create verify-gomod script
Wrapper around go mod tidy

Currently doesn't delete from go.sum, which is untidy but expected
behaviour.
2019-08-30 21:17:17 -07:00
Justin SB 40928493b5
Update apimachinery
Also fix hack/make-apimachinery.sh script problem with files that are
not marked writeable.
2019-08-26 21:35:06 -07:00
Justin SB 08c6f0c807
Update packages 2019-08-25 16:00:41 -04:00
Justin SB 5d7d7aa647
hack/update-expected: regenerate gobindata
Otherwise we don't always pick up the latest changes to manifests.
2019-07-23 07:49:46 -07:00
Justin SB 512378b335
Rationalize golden-output comparison
Create a single helper function: AssertMatchesFile

Also a few output files that weren't consistent.
2019-07-21 23:08:48 -04:00
Justin SB 30d8dd8692
Create hack/update-expected.sh to update test output
This should streamline things a little!
2019-07-19 10:48:37 -04:00
Kubernetes Prow Robot 5340fc2799
Merge pull request #6811 from xichengliudui/delete-function-script-keyword
Delete the function keyword to prevent shellcheck from failing
2019-07-18 20:09:10 -07:00
Kubernetes Prow Robot 21b5e3b3f4
Merge pull request #7195 from rekcah78/add_new_m5_r5_instances
update instances list with make update-machine-types
2019-07-09 09:32:02 -07:00
Kashif Saadat 0a32417375 Add verify-goimports to tests and fix the script so it fails correctly 2019-07-03 16:32:45 +01:00
Christophe GASMI 2cc94d53ab update instances list with make update-machine-types 2019-06-28 01:29:14 +02:00
Kubernetes Prow Robot 00edef84b3
Merge pull request #7166 from rekcah78/add_new_c5_instances
add c5.12xlarge, c5.24xlarge, c5.metal, i3en.metal
2019-06-20 11:31:09 -07:00
Christophe GASMI 00353c736f update instances list with make update-machine-types 2019-06-20 20:31:30 +09:00
Austin Moore 67d9f5f190
Move getProxyEnvVars into a util package 2019-06-05 15:59:19 -04:00
Justin SB 02b67a69a9
Add script to verify CRD generation
Issue #6892
2019-05-16 03:25:45 -07:00
Mike Splain 28dc1dd7de Add i3en 2019-05-09 12:46:15 -04:00
mikesplain 3d3dc5781d Fix machine types with klog 2019-05-07 09:02:31 -04:00
Justin SB 76d03b3f71
Generated files: glog -> klog 2019-05-06 12:56:03 -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
Kubernetes Prow Robot 78f5b2c06a
Merge pull request #6837 from mikesplain/add_t3a_family
Add t3a family
2019-04-26 12:16:09 -07:00
mikesplain 835ccf2973 Remove sets to expose error 2019-04-26 12:46:19 -04:00
mikesplain 148bbd9c7a Add t3a family 2019-04-26 11:06:44 -04:00
Justin SB bf4c4a1a95
Source gofmt from bazel go
Using the approach from k8s.io/repo-infra.  This avoids problems where
we are testing with a different version of go than we are building
with.
2019-04-21 16:41:11 -04:00
xichengliudui 2aab2d15cd Delete the function keyword to prevent shellcheck from failing 2019-04-20 07:04:24 -04:00
mikesplain db6c0eb02c Update instances types
adds m5ad's and r5ad's
2019-04-03 11:22:50 -04:00
LilyFaFa 12d54b6a1f support gossip for AliCloud 2019-03-15 15:26:12 +08:00
Gennady Trafimenkov b8b7840c0f Update list of packages 2019-03-03 16:16:08 +03:00
Justin SB 148a370f39 update-machine-types: more metal instance types
m5, m5d, r5, r5d, z1d metal types
2019-02-28 15:48:33 -05:00
Eric Greer 31a4c40131 merge conflict resolution 2019-02-21 15:20:05 -08:00
Eric Greer 8362b1260e etcd memory requests can now be specified 2019-02-21 15:14:51 -08:00
Kubernetes Prow Robot 1564a67461
Merge pull request #6277 from gambol99/mix_instances_policy
AWS Mixed Instances Policy / Fleet
2019-02-20 10:30:33 -08:00
Rohith 098b4486f5 - fixing up the spelling mistake and the package update 2019-02-04 11:59:43 +00:00
mikesplain a331b107b6 Fix machine types and cleanup makefile 2019-01-31 17:44:18 -05:00
Kubernetes Prow Robot 70484c009a
Merge pull request #6232 from justinsb/ask_kops_for_its_version
kops version: Add --short flag, use it to get version in scripts
2019-01-27 13:50:37 -08:00
Justin SB b40c9034bd
kops version: Add --short flag, use it to get version in scripts
We upload to a location that includes the version, but we need to
specify the version in KOPS_BASE_URL.  We expose an option to make
`kops version` more amenable to this scripting.
2019-01-22 22:27:33 -05:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 6022679e6b Openstack package updates 2019-01-19 14:07:10 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 103268710c update packages 2019-01-15 16:29:02 -07:00
Justin SB 533a57a096 Recognize 2019 as a year
Happy new year!
2019-01-02 18:30:54 -05:00
Justin SB a3a48e9078
Create dev-upload tasks, for a faster upload during dev builds 2018-12-20 11:37:30 -05:00
Justin Santa Barbara b78e4312ec machine-types: remove duplicate dedup
PR #6058 addded dedup in a better way than I had previously done, so
remove my more complicated and now superfluous second dedup.
2018-11-27 23:10:35 -05:00
k8s-ci-robot f57d836345
Merge pull request #6117 from justinsb/add_a1_and_c5n
Add a1 and c5n instance types
2018-11-27 09:56:27 -08:00
Justin Santa Barbara a29d223bc1 machine-type generator: Warn if instance type not in ENI map
And we write these warnings to the output, so that we can see them in
PR review.
2018-11-27 07:33:47 -05:00
Justin Santa Barbara 9a8100f74b Add a1 and c5n instance types
* Updated vpc_ip_resource_limits
* Ran `make update-machine-types`
2018-11-27 06:57:10 -05:00
Ripta Pasay 56a8059f8e Update bazel 2018-11-25 22:46:38 +00:00
Ripta Pasay 7ca6ddc9e0 Replace MaxPods in machine type data with InstanceENIs and InstanceIPsPerENI 2018-11-25 22:35:25 +00:00
Ripta Pasay ab8565df9c Import awsutils from amazon-vpc-cni-k8s plugin
https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/master/pkg/awsutils/vpc_ip_resource_limit.go
2018-11-25 20:45:33 +00:00
Ripta Pasay aa34956560 Ignore any duplicates being returned by the pricing API when rebuilding machine types 2018-11-25 20:45:33 +00:00
Ripta Pasay c2d82abd88 Calculate max pods based on Amazon VPC CNI plugin library 2018-11-25 20:45:33 +00:00
Justin SB 5dfcb9b59e
Update machine type generator
* Handle NA ECU value (map to zero)
* Deduplicate machine types (I was getting duplicates)
2018-11-18 21:02:40 -05:00
Ilya Dmitrichenko 17a2c47495
Separate subnet utils into a standalone package 2018-10-26 12:01:47 +01:00
Liran Polak 6509e32b1b fix: boilerplate headers and packages list 2018-10-14 11:37:31 +03:00
Justin Santa Barbara 4378015f47 Remove last vestiges of _vendor directory
It got left behind because goautoneg is in mercurial, I believe.

Remove the _vendor/ directory & references to it - we have it in
vendor/ anyway.
2018-10-02 18:39:43 -07:00
Justin Santa Barbara 2a2b873656 Move flag parsing out of init block
For whatever reason it wasn't working for me...
2018-09-22 02:47:39 -04:00
Justin Santa Barbara f9bd0185d9
Merge branch 'master' into docs 2018-09-21 23:43:15 -07:00
k8s-ci-robot 2ad8588e51
Merge pull request #5635 from nareshku/support-albs-nlbs
Support for deletion of aws resources albs nlbs during delete
2018-09-21 11:40:33 -07:00
k8s-ci-robot 5db443d06a
Merge pull request #5785 from justinsb/vendor_misspell
Move verify-spelling to script, install from vendor
2018-09-17 13:30:07 -07:00
k8s-ci-robot 13ffa0f5a3
Merge pull request #5787 from justinsb/machine_type_generator_3
machine-type generator: go vet fixes
2018-09-14 10:43:40 -07:00
Justin Santa Barbara f0e541ec55 Move verify-spelling to script, install from vendor 2018-09-14 10:42:19 -04:00
Justin Santa Barbara bb3e90513c machine-type generator: go vet fixes
Keep go vet happy - address its complaints about error formatting
2018-09-14 10:37:09 -04:00
k8s-ci-robot d81ab2acba
Merge pull request #5553 from mikesplain/machine_type_generator
Machine type generator
2018-09-14 07:24:59 -07:00
Justin Santa Barbara e8650ca8ca Tweak machine_types generator to match our existing values
We weren't outputing the Burstable or GPU attributes, and the sorting
order wasn't quite the same.  This made verification harder.
2018-09-14 09:39:04 -04:00
Naresh Kumar Amrutham 37651c3534 fixed merge conflicts 2018-09-10 11:45:47 -07:00
k8s-ci-robot 2f1d2e07f7
Merge pull request #5565 from justinsb/refactor_printer
Refactor tables package to be more reusable
2018-09-03 15:28:36 -07:00
Mike Splain 29e852a731 Add readme 2018-08-31 12:42:13 -04:00
Mike Splain 1fa04f82de Add makefile changes 2018-08-31 12:42:13 -04:00
Mike Splain 9f01ea79cb Add deps 2018-08-31 12:42:13 -04:00
Mike Splain 2e2039f03d First pass 2018-08-31 12:35:53 -04:00
Levi Blackstone 206d95d614
OpenStack: enable cluster state deletion
Stub out a list resources method and call it from the collector
so that cluster state can be deleted via the API.
2018-08-30 20:08:57 -06:00
Naresh Kumar Amrutham 29050e276d update packages file 2018-08-17 13:24:20 -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
k8s-ci-robot ed7408540b
Merge pull request #5507 from mikesplain/fix_gendocs
Fix api-gen-docs dependencies
2018-07-28 22:46:56 -07:00
Justin Santa Barbara 6505dc08f6 Add error handling for failed deletion of tempfiles
We create a helper package `try`
2018-07-27 15:14:08 -04:00
Mike Splain a291b6161e Fix api-gen-docs 2018-07-24 10:00:43 -04:00