Commit Graph

2079 Commits

Author SHA1 Message Date
Christian Joun e91ed11449
Implement API load balancer class with NLB and ELB support on AWS (#9011)
* refactor TargetLoadBalancer to use DNSTarget interface instead of LoadBalancer

* add LoadBalancerClass fields into api

* make api machinery

* WIP: Implemented API loadbalancer class, allowing NLB and ELB support on AWS for new clusters.

* perform vendoring related tasks and apply fixes identified from hack/

dissallow spotinst + nlb
remove reflection in status_discovery.go
Add precreated additional security groups to the Master nodes in case of NLB
Remove support for attaching individual instances to NLB; only rely on ASG attachments
Don't specify Classic loadbalancer in GCE integration test

* add utility function to the kops model context to make LoadBalancer comparisons simpler

* use DNSTarget interface when locating DNSName of API ELB

* wip: create target group task

* Consolidate TargetGroup tasks

* Use context helper for determining api load balancer type to avoid nil pointers

* Update NLB creation to use target group ARN from separate task rather than creating a TG in-line

* Address staticcheck and bazel failures

* Removing NLB Attachment tasks because they're not used since we switched to defining them as a part of the ASGs

* Address PR review feedback

* Only set LB Class field for AWS clusters, fix nil pointer

* Move target group attributes from NLB task to TG task, removing unused attributes

* Add terraform and cloudformation support for NLBs, listeners, and target groups

* Update integration test for NLB support

* Fix NLB name format to pass terraform validation

* Preserve security group rule names when switching ELB to NLB to reduce destructive terraform changes

* Use elbv2 enums and address some TODOs

* Set healthcheck values in target group

* Find TG tags, fix NLB name detection

* Fix more spurious changes reported by lifecycle integration test

* Fix spotinst validation, more code cleanup

* Address more PR feedback

* ReconcileTargetGroups unit test + more code simplification

* Addressing PR feedback Renaming task 1. awstasks.LoadBalancer -> awstasks.ClassicLoadBalancer

* Addressing PR feedback Renaming task: ELBName() -> CLBName() / LinkToELB() -> LinkToCLB()

* Addressing PR feedback: Various text changes

* fix export of kubecfg

* address TargetGroup should have the same name as the NLB

* should address error when fetching tags due to missing ARN

* Update expected and crds

* Add feature table to NLB docs

* Address more feedback and remove some TODOs that arent applicable anymore

* Update spotinst validation error message

Co-authored-by: Peter Rifel <pgrifel@gmail.com>
2020-11-02 05:28:52 -08:00
Kubernetes Prow Robot 9885df83ad
Merge pull request #10077 from hakman/kOps
Rebrand kops to kOps
2020-10-29 18:16:06 -07:00
John Gardiner Myers 69c9564ee8 Add 1.20 release notes 2020-10-29 12:59:06 -07:00
Ciprian Hacman c9cc319423 Rename _kops_ to kOps in the docs 2020-10-29 19:40:56 +02:00
Ciprian Hacman 61708eae6b Rename kops to kOps in the docs 2020-10-29 19:40:53 +02:00
Ciprian Hacman 6a4d86baf9 Rename Kops to kOps in the docs 2020-10-29 19:39:50 +02:00
Kubernetes Prow Robot b7f66a6d98
Merge pull request #10109 from bmelbourne/set-minimum-terraform-0.12
Set minimum Terraform version to 0.12.26/0.13.0
2020-10-29 01:52:58 -07:00
Kubernetes Prow Robot f466403912
Merge pull request #9794 from rdrgmnzs/lb-attachment
Prevent unintended resource updates to LB attatchments
2020-10-28 15:18:59 -07:00
Kubernetes Prow Robot f3ea21a8c6
Merge pull request #10128 from hakman/fix-bash
Update shell style for CLI docs for better compatibility
2020-10-28 13:55:39 -07:00
Barry Melbourne 84417c330b Set minimum Terraform version to 0.12.26/0.13.0 2020-10-28 20:24:41 +00:00
Rodrigo Menezes 41adf07e15 cleanup code 2020-10-28 11:11:58 -07:00
Kubernetes Prow Robot a83ccdcb25
Merge pull request #10118 from hakman/fix-links
Fix release notes links to point to https://kops.sigs.k8s
2020-10-28 10:11:56 -07:00
Ciprian Hacman 35d49a40a2 Update shell style for CLI docs for better compatibility 2020-10-28 18:23:23 +02:00
Ciprian Hacman f69ffeaa63 Update cluster and state store names in CLI docs 2020-10-28 18:22:53 +02:00
Javi Polo c2684bcf7b Add nodeLocalDNSCache.kubeDnsOnly option 2020-10-27 10:46:25 +01:00
Ciprian Hacman de5847fc62 Fix release notes links to point to https://kops.sigs.k8s 2020-10-27 08:57:07 +02:00
Rodrigo Menezes 9bd0a7aedb Add instruction for no downtime 2020-10-26 18:11:46 -07:00
Rodrigo Menezes 627ba720a9 Add note to required actions 2020-10-26 17:30:09 -07:00
Kubernetes Prow Robot ca39ecefde
Merge pull request #10105 from justinsb/fix_9990
Default to exporting a kubecfg, even without credentials
2020-10-25 21:39:00 -07:00
Kubernetes Prow Robot fac28dcf40
Merge pull request #10102 from hakman/remove-etcd-hackaround
Remove hack/workaround from etcd-manager certificate expiration advisory
2020-10-25 15:47:01 -07:00
Justin SB e03bb72c2c Default to exporting a kubecfg, even without credentials
We do log a hint for the user when we have exported an empty kubecfg,
but this now supports the "current cluster" UX.

Issue #9990
2020-10-25 14:30:32 -04:00
Barry Melbourne 57e2aa3c9f Update Kops Go build version docs 2020-10-25 09:49:13 +00:00
Ciprian Hacman 40f473a816 Remove hack/workaround from etcd-manager certificate expiration advisory 2020-10-25 10:47:48 +02:00
Justin SB 409494a4c3 Release notes for 1.18.2 2020-10-24 11:19:07 -04:00
John Gardiner Myers 14a37806f3 Update Office Hours Zoom link 2020-10-23 09:07:35 -07:00
Kubernetes Prow Robot 06cdefc575
Merge pull request #10078 from yurrriq/patch-1
Update security_groups.md
2020-10-22 22:05:36 -07:00
Peter Rifel 84323630ed
Update docs for cutting new release branches 2020-10-22 22:46:08 -05:00
Eric Bailey 4803f79618
Update security_groups.md
Fix grammatical error: s/ran/run/
2020-10-21 15:57:30 -05:00
Ciprian Hacman a04cea6371 Add eBPF dataplane support for Calico CNI 2020-10-19 20:04:27 +03:00
Ole Markus With 0be8d4e325
Add some missing notes to the release notes (#10056)
* Add some missing notes to the release notes

* Apply suggestions from code review

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-10-18 09:12:13 -07:00
Ole Markus With c7a2183a1d Add some quick notes on how to get GPU opertor working 2020-10-18 15:39:49 +02:00
Kubernetes Prow Robot d105c9299e
Merge pull request #10044 from h3poteto/iss-9751
Rewrite ssh user to ubuntu in bastions docs
2020-10-15 06:48:24 -07:00
AkiraFukushima aff8c0af00 Change image type to t3.micro from t2.micro in bastion docs 2020-10-15 22:09:44 +09:00
AkiraFukushima c7f4bf3e05 Rewrite ssh user to ubuntu in bastions docs
Document is already out of date because now Ubuntu is used as bastion OS
2020-10-15 22:08:38 +09:00
Ciprian Hacman 2027fb04f2 Release notes for 1.19.0-alpha.5 2020-10-15 09:39:16 +03:00
Ciprian Hacman e6e3fc1309 Fix docs feature table not being rendered 2020-10-12 07:37:39 +03:00
Kubernetes Prow Robot 6f85cd98c0
Merge pull request #10037 from h3poteto/iss-9753
Add WireGuard support for Calico CNI
2020-10-11 06:10:47 -07:00
Kubernetes Prow Robot 5266619970
Merge pull request #10038 from dntosas/apiserver-include-reqTimeout-conf
Add support for KubeAPIServer --request-timeout flag
2020-10-11 04:54:47 -07:00
dntosas 66f42d8a9b
Add support for KubeAPIServer --request-timeout flag
In this commit, we initialize the support of --request-timeout flag on
the configuration of KubeAPIServer so as to enable users for setting
timeout duration value for all kinds of handlers.

Signed-off-by: dntosas <ntosas@gmail.com>
2020-10-11 14:17:44 +03:00
AkiraFukushima b8524205f7 Add wireguard description in calico docs 2020-10-11 19:10:55 +09:00
Kubernetes Prow Robot cc41bba0cf
Merge pull request #10022 from olemarkus/metrics-server
Kubelet serving certificate and metrics server addon
2020-10-09 03:09:07 -07:00
Ole Markus With 259d15cc6a Add release notes 2020-10-09 10:18:02 +02:00
monicagangwar a63ccd5163 [calico] awsSrcDstCheck to disable src/dest checks in AWS
* replacing k8s-ec2-srcdst with calico's config awsSrcDstCheck and
  flag FELIX_AWSSRCDSTCHECK
* documentation and iam changes for calico awsSrcDstCheck
2020-10-08 17:17:23 +05:30
Ole Markus With e8134b706c Sort wellknown ports and add missing ports to table 2020-10-08 08:27:51 +02:00
Kubernetes Prow Robot a310282f07
Merge pull request #10024 from olemarkus/kops-controller-port
Move kops-controller serving port out of conflict
2020-10-07 23:06:15 -07:00
Ole Markus With 1f739b0418 Move kops-controller serving port out of conflict 2020-10-08 07:25:43 +02:00
nareshku dca69323b7 enable kubelet --housekeeping-interval flag 2020-10-07 08:00:41 -07:00
Matt Bacchi 8d76d31b08
Add missing closing inline code character 2020-09-30 10:15:00 -06:00
Kubernetes Prow Robot 3c7e1c80f8
Merge pull request #9997 from erismaster/openstack-doc-typos
Fix pair of typos in openstack docs
2020-09-27 21:44:48 -07:00
Derrik Campau 7e57b9f5d7 Fix pair of typos in openstack docs
Fix a pair of small typos in the openstack docs
2020-09-27 20:05:07 -07:00