Commit Graph

2061 Commits

Author SHA1 Message Date
Joel Carter 97c71c274b Expose flags for HorizontalPodAutoscaler
Enable setting of the
`horizontal-pod-autoscaler-initial-readiness-delay` and
`horizontal-pod-autoscaler-cpu-initialization-period` flags
2020-11-16 07:26:38 +02:00
John Gardiner Myers f52abe1483 Update validate cluster cli docs 2020-11-11 11:43:34 -08:00
Peter Rifel 2f328116ef
Automated cherry pick of #10140 and #9011: Implement API load balancer class with NLB and ELB support on AWS (#10154)
* Create cloudmock implementations for elbv2 API calls used by future NLB support

* Add missing cloudmock functionality for enabling lifecycle integration test on complex cluster

* Add lifecycle integration tests for complex and externallb clusters

* 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: Christian Joun <cjoun@proofpoint.com>
2020-11-02 09:10:54 -08:00
Kubernetes Prow Robot 72bfb1d1db
Merge pull request #10134 from rdrgmnzs/cherrypick_9794_release-1.19
Automated cherry pick of #9794 and #10138 onto release-1.19
2020-10-29 12:54:06 -07:00
Ciprian Hacman 513fba04af Update shell style for CLI docs for better compatibility 2020-10-29 06:42:07 +02:00
Ciprian Hacman b9c23fcb69 Update cluster and state store names in CLI docs 2020-10-29 06:42:07 +02:00
Rodrigo Menezes 29f5cdeb9a cleanup code 2020-10-28 21:24:49 -07:00
Rodrigo Menezes ca82a05695 Add instruction for no downtime 2020-10-28 21:24:49 -07:00
Rodrigo Menezes b55aaa1de6 Add note to required actions 2020-10-28 21:24:49 -07:00
Justin SB 90133b5cfe 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 21:15:29 -07: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
Derrik Campau ca70ac2203 Fix small typo in create cluster help output
Fixes typo in cmd/kops/create_cluster.go and
docs/cli/kops_create_cluster.md where example output had filename.yamlh,
changed to filename.yaml
2020-09-26 14:45:03 -07:00
Barry Melbourne a6ff8c7c7c Add deprecation notice for support of Terraform v0.11 2020-09-26 09:08:23 +01:00
Alen Akhabaev 727c02055f Clarified S3 state store encryption in case the bucket default doesn't exist or cannot be read 2020-09-25 16:13:08 +01:00
Ole Markus With 7a7f1d70ea Production recommendations document 2020-09-25 07:20:49 +02:00
Ciprian Hacman 1f0817911a Release notes for 1.19.0-alpha.4 2020-09-16 12:41:07 +03:00
Kubernetes Prow Robot 88748fe7b7
Merge pull request #9934 from justinsb/backfill
Document process to get older releases into artifacts.k8s.io
2020-09-14 09:16:59 -07:00
Justin SB 5797f372a9 Document process to get older releases into artifacts.k8s.io 2020-09-14 11:27:25 -04:00
Kubernetes Prow Robot c7bbe9c472
Merge pull request #9904 from justinsb/relnotes_1_18_1
Release notes for 1.18.1
2020-09-09 11:15:07 -07:00
Kubernetes Prow Robot 5e871a7d5e
Merge pull request #9902 from justinsb/relnotes_1_17_2
Release notes for 1.17.2
2020-09-09 10:09:08 -07:00
Justin SB 5c423e9dfa Release notes for 1.18.1 2020-09-09 12:58:08 -04:00
Justin SB ed83ae382d Release notes for 1.17.2 2020-09-09 11:56:24 -04:00
Chris Loukas 65610dbcee Update NodeLocalDNSConfig with Mem/CPU requests
Add NodeLocalDNS.CPURequest and NodeLocalDNS.MemoryRequest to
configure resource requests.

If not explicitly set, fall back to 25m and 5Mi
2020-09-09 18:40:14 +03:00
Ole Markus With 6cfd50a07a Deprecate the old cas addon 2020-09-09 12:13:32 +02:00
Ole Markus With a0e9fab104 Implement cluster autoscaler as bootstrap addon
Use provider-agnostic node definition for cas instead of aws auto-discovery

Validate clusterAutoscalerSpec

Add spec documentation

Add cas docs

Make CRDs

Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>

Add enabled flag to cas config

Apply suggestions from code review

Co-authored-by: Guy Templeton <guyjtempleton@googlemail.com>

Add support for custom cas image

Support more k8s versions

Use full image names
2020-09-03 09:52:13 +02:00
inductor 2c3cceccc2 use brew on linux 2020-09-03 13:29:57 +09:00
Kubernetes Prow Robot 1579e3aec3
Merge pull request #9762 from olemarkus/kops-get-nodes
Add command for listing cloud instances
2020-09-01 23:23:06 -07:00
John Gardiner Myers 77d5f12315 Improve description of detaching instances 2020-09-01 21:47:05 -07:00
Ole Markus With c01455cf91 Keep the good part from last attempt 2020-09-01 08:30:03 +02:00