Commit Graph

13533 Commits

Author SHA1 Message Date
Kubernetes Prow Robot fea7589d97
Merge pull request #10574 from bharath-123/feat/protokube-systemd
Run protokube as a systemd service
2021-03-07 22:03:44 -08:00
Ciprian Hacman 77b72efe1d Fix various nits when changing Protokube to run as service 2021-03-08 07:19:48 +02:00
Kubernetes Prow Robot 4b93579490
Merge pull request #10990 from vitaliyf/patch-1
Fix very minor formatting typos in docs/manifests_and_customizing_via_api
2021-03-07 14:49:42 -08:00
Kubernetes Prow Robot 1f7a184018
Merge pull request #10579 from olemarkus/refactor-apply-cluster
Various cleanups around apply_cluster and awsmodel
2021-03-07 14:05:42 -08:00
Ole Markus With 8a205724f2 Deduplicate adding mastervolumebuilder 2021-03-07 22:09:02 +01:00
Ole Markus With c817ae662c Merge the two apply_cluster switches 2021-03-07 22:08:15 +01:00
Ole Markus With c6a741a148 Move dns and external_access to awsmodel 2021-03-07 22:07:17 +01:00
Ole Markus With d415fdf1a1 Move bastion model to awsmodel 2021-03-07 22:06:20 +01:00
Ole Markus With 896f1740c6 Rename spotinst symbols and merge spotinstmodel with awsmodel 2021-03-07 22:06:12 +01:00
Ole Markus With 782052f472 Set ssh key on the model context in one location 2021-03-07 21:44:12 +01:00
Vitaliy 8b4aebc1e1
Fix very minor formatting typos in docs/manifests_and_customizing_via_api 2021-03-07 15:38:46 -05:00
Kubernetes Prow Robot 9b214b48cf
Merge pull request #10988 from olemarkus/kops-controlker-lease-rbac
Fix kops-controller rbac due to leader election change
2021-03-06 05:05:41 -08:00
Ole Markus With 27fd76bf9a Fix kops-controller rbac due to leader election change 2021-03-06 11:42:21 +01:00
Kubernetes Prow Robot 1cd5d478f3
Merge pull request #10987 from hakman/addons-labels-cleanup
Remove manually added labels from addons
2021-03-06 00:21:41 -08:00
Ciprian Hacman b44065c692 Remove manually added labels from addons 2021-03-06 09:31:22 +02:00
Kubernetes Prow Robot ef7c934b9a
Merge pull request #10975 from ottosulin/feature/etcdmanagerconfs
Add etcd-manager discoveryPollInterval option
2021-03-05 22:11:43 -08:00
Bharath Vedartham 1d721c3ff8 Update integration tests 2021-03-06 00:33:20 +05:30
Bharath Vedartham 5a72ef0f94 Remove protokube image references 2021-03-06 00:33:12 +05:30
Bharath Vedartham d45514cff3 Make protokube a systemd process 2021-03-06 00:32:44 +05:30
Bharath Vedartham 5cc94d76a6 Move channels exec path to /opt/kops/bin 2021-03-06 00:32:21 +05:30
Bharath Vedartham 1d4c8e4afa Add protokube and channels to assets 2021-03-06 00:32:05 +05:30
Bharath Vedartham e5aa8177b6 Add protokube and channels urls 2021-03-06 00:31:18 +05:30
Steven E. Harris 2fc68564be Note new field's impact on OS package installation 2021-03-05 09:41:09 -05:00
Steven E. Harris 70e95fccf5 Copyedit the InstanceGroup-related documentation 2021-03-05 08:53:08 -05:00
Steven E. Harris e39c985ee7 Honor OS update policy at InstanceGroup level too
As with the Cluster-level "spec.updatePolicy" field, add a similar
field at the InstanceGroup level, allowing overriding of the
cluster-level choice in each InstanceGroup.

Introduce a new value for the field ("automatic") as equivalent to the
default value applied when the field is absent. Honoring this new
value allows disabling automatic updates at the cluster level, but
then enabling them again for particular InstanceGroups. Without such a
positive affirmation, it's not possible to override a cluster-level
"external" policy at the InstanceGroup level, as there's no way to
specify positively that you want to recover the default
value. Instead, expressing the explicit "automatic" value is clear and
unambiguous.
2021-03-05 08:53:07 -05:00
Markos Chandras 0a49650c70
aws: Graceful handling of EC2 detach errors
Sometimes, we observe the following error during a rolling update:

error detaching instance "i-XXXX", node "ip-10-X-X-X.ec2.internal": error detaching instance "i-XXXX": ValidationError: The instance i-XXXX is not part of Auto Scaling group XXXXX

The sequence of events that lead to this problem is the following:

- A new ASG object is being built from the launch template
- Existing instances are being added to it
- An existing instance is being ignored because it's already terminating
W0205 08:01:32.593377     191 aws_cloud.go:791] ignoring instance as it is terminating: i-XXXX in autoscaling group: XXXX
- Due to maxSurge, the terminating instance is trying to be detached
  from the autoscaling group and fails.

As such, in case of EC@ ASG deatch failures we can simply try to detach
the next node instead of aborting the whole update operation.
2021-03-05 15:01:30 +02:00
Kubernetes Prow Robot 89fdd16c4d
Merge pull request #10982 from hakman/disable-default-calico-metrics
Disable Calico Prometheus metrics by default
2021-03-05 00:48:23 -08:00
Kubernetes Prow Robot e7f67815e7
Merge pull request #10888 from olemarkus/internal-jwks
Use internal api url for jwks
2021-03-05 00:04:21 -08:00
Ciprian Hacman bfc32c9c1a Disable Calico Prometheus metrics by default 2021-03-05 08:42:20 +02:00
Kubernetes Prow Robot 825d98f915
Merge pull request #10976 from codablock/ebs-tags
Add CloudLabels as --extra-tags to aws-ebs-csi driver
2021-03-04 22:22:22 -08:00
Ole Markus With 063e3f6c7b Use internal api url for jwks when required
The public api url cannot be used by pods and nodes if access is restricted. So by default we need to use the internal one.
This should finally pass the OIDC e2e test

For public access, api server must be publically available and anonymous
auth must be enabled
2021-03-05 06:52:51 +01:00
Kubernetes Prow Robot d3cf552f37
Merge pull request #10978 from mmerrill3/feature/10786-Dedupe-terraform
Removing duplicate local and output values in terraform(#10786)
2021-03-04 21:08:22 -08:00
mmerrill3 1a3cb79d2d Removing duplicate local and output values in terraform(#10786)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2021-03-04 16:32:52 -05:00
Kubernetes Prow Robot 83e062a6dc
Merge pull request #10650 from olemarkus/docs-office-hours
Add a note about informal office hours
2021-03-04 13:28:09 -08:00
Kubernetes Prow Robot fd9b9d82c3
Merge pull request #10892 from bmelbourne/upgrade-go-1.16
Update Go to v1.16
2021-03-04 12:40:09 -08:00
Barry Melbourne 1a6ff4efbf Update Go to v1.16 2021-03-04 18:41:48 +00:00
Alexander Block 54c509b33c Add CloudLabels as --extra-tags to aws-ebs-csi driver 2021-03-04 12:07:11 +01:00
Ole Markus With cbffdf3ffe Add a note about informal office hours
Update docs/welcome/office_hours.md

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

Apply suggestions from code review

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-03-04 10:04:28 +01:00
Otto Sulin 8fa6be1b03 Add etcd-manager discoveryPollInterval option 2021-03-04 09:35:05 +02:00
Kubernetes Prow Robot 9e3e784506
Merge pull request #10965 from bmelbourne/update-kubectl-go-mod
Update k8s.io Go modules to v0.20.4
2021-03-03 19:42:00 -08:00
Barry Melbourne 10dff62a1d Update k8s.io Go modules to v0.20.4 2021-03-03 18:38:21 +00:00
Kubernetes Prow Robot fcefcb59cc
Merge pull request #10945 from olemarkus/exclude-cp-nodes-from-lbs
Exclude CP nodes from load balancers
2021-03-03 05:21:21 -08:00
Kubernetes Prow Robot 83e1424280
Merge pull request #10957 from adrianmoisey/add_kubelet_arg_enable_cadvisor_json_endpoints
Add support for enable-cadvisor-json-endpoints with Kubelet
2021-03-02 23:47:19 -08:00
Adrian Moisey 9e18928fb3
Add support for enable-cadvisor-json-endpoints with Kubelet
Kubernetes 1.18 disables this by default.
For backwards compatibility with monitoring tools, it would be nice to
be able to re-enable this.

https://github.com/kubernetes/kubernetes/issues/68522
2021-03-03 09:06:06 +02:00
Kubernetes Prow Robot 704ee368a4
Merge pull request #10934 from rifelpet/cpu-credits
Add support for CPU Credits on AWS t2 and t3 instance families
2021-03-02 21:33:19 -08:00
Peter Rifel dacfa7728e
Use CPUCredits in integration test 2021-03-02 22:54:30 -06:00
Peter Rifel ce51ec44bc
Use new CPUCredits IG spec field in launch templates 2021-03-02 22:54:29 -06:00
Kubernetes Prow Robot 266204d828
Merge pull request #10921 from roim/getting_started-typos
Fix typos in docs/getting_started
2021-03-02 13:41:20 -08:00
Kubernetes Prow Robot e1a17e94a5
Merge pull request #10966 from olemarkus/cilium-finalizers
Add explicit RBAC permissions for finalizers subresources
2021-03-02 00:55:19 -08:00
Ole Markus With 7d915e60cd Add explicit RBAC permissions for finalizers subresources 2021-03-02 09:10:15 +01:00