Commit Graph

3175 Commits

Author SHA1 Message Date
Timo Reimann b9c9c7a143 Update DigitalOcean cloud-controller-manager to v0.1.24
This changes bumps DigitalOcean's cloud-controller-manager to version
0.1.24 which brings a number of new features and bug fixes.
2020-05-26 11:29:16 +02:00
Kubernetes Prow Robot bfd65ae589
Merge pull request #9157 from olemarkus/networking-cleanup
Networking cleanup
2020-05-24 07:03:10 -07:00
Kubernetes Prow Robot 05940cea5d
Merge pull request #9169 from johngmyers/fix-task-owner
Fix nodetask.File dependency on owner
2020-05-24 06:25:10 -07:00
John Gardiner Myers 9489a20af1 Fix nodetask.File dependency on owner 2020-05-23 22:25:40 -07:00
liranp 23c0cdab36
feat(spotinst): new hybrid mode 2020-05-23 21:39:04 +03:00
Kubernetes Prow Robot e6d73b5ba0
Merge pull request #9135 from justinsb/gce_no_hostname_no_worries
GCE: don't rely on hostname being correct
2020-05-22 17:43:10 -07:00
Kubernetes Prow Robot ee504ac781
Merge pull request #9116 from srikiz/DO-LB-HandleUpdates
[Digital Ocean] Handle logic for kops edit/update cluster
2020-05-22 01:02:37 -07:00
Ole Markus With eebb605c9c Remove as much of the classic networking logic as we can 2020-05-22 08:08:58 +02:00
Ole Markus With d1ff25bb4e Remove some rather long networking nil checks 2020-05-22 08:08:58 +02:00
John Gardiner Myers 8a6d29cd40 Remove support for reading legacy-format keypairs 2020-05-20 13:28:13 -07:00
Kubernetes Prow Robot 204cf58c96
Merge pull request #9124 from johngmyers/bastion-private
Don't put bastions in the utility subnets
2020-05-19 21:26:18 -07:00
Kubernetes Prow Robot 2e5d4761d0
Merge pull request #8464 from justinsb/google_clouddns_delete_records
DNS: Don't try to apply empty changesets
2020-05-17 16:17:36 -07:00
Kubernetes Prow Robot bda2a15ee6
Merge pull request #9024 from tomesm/support_launch_template
Added Launch Template support for instance interruption behavior
2020-05-17 15:35:36 -07:00
Justin Santa Barbara 7e710e85d9 DNS: Apply should be a no-op when empty
Document the contract a bit more, change the signature by adding a
context arg and following through to make sure we honor the contract
everywhere.
2020-05-17 16:45:08 -04:00
Justin SB 7ae4d73b5b http download: set a timeout to avoid hangs
I observed a node failure where we failed to download docker; we need
some timeout just to prevent the hang.

Two minutes should be plenty for our downloads.
2020-05-17 15:22:28 -04:00
Justin SB 5ed11fd9c7 GCE: don't rely on hostname being correct
Distros that use systemd for DHCP often don't have the hostname
correct, due to e.g. the requirement for policy kit.

We don't rely on it being set correctly on other clouds; no real
reason to require it on GCP either!
2020-05-17 15:20:58 -04:00
Kubernetes Prow Robot 66b5322037
Merge pull request #8960 from q384566678/add-ut
add some unit tests
2020-05-16 15:37:36 -07:00
Kubernetes Prow Robot 130e4f0d68
Merge pull request #9106 from johngmyers/client-cert
PKI code cleanup
2020-05-13 12:34:27 -07:00
John Gardiner Myers 154833e652 Fail cluster validation if too few nodes for ig's target size 2020-05-12 22:28:26 -07:00
John Gardiner Myers ec4fe1e7e8 Don't put bastions in the utility subnets 2020-05-12 22:06:34 -07:00
Kubernetes Prow Robot d7d61c683d
Merge pull request #9091 from spotinst/feat-addon-featureflag
Spotinst: Allow users to disable the controller add-on
2020-05-12 09:34:22 -07:00
Zhou Hao 599ed6d5a8 hash: add UT for HashString
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-05-12 17:26:08 +08:00
Srikanth 4783a547b4 Fix govet 2020-05-12 14:09:29 +05:30
Zhou Hao 0b79c4177f sanitize: add UT for SanitizeString
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-05-12 16:09:40 +08:00
Zhou Hao e608e4df13 equals: add UT for StringSlicesEqualIgnoreOrder
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-05-12 15:56:08 +08:00
Zhou Hao 2d6e81465d equals: add UT for StringSlicesEqual
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-05-12 15:55:59 +08:00
Srikanth 203449d7ac Minor changes for code cleanup 2020-05-12 00:29:02 +05:30
Srikanth b6a197e02e Update minor changes 2020-05-11 15:10:52 +05:30
Srikanth 5d3f2447e4 Changes for handling kops update 2020-05-11 15:10:52 +05:30
Jesse Haka bdaeb6df36 upgrade to cinder v3 to use api 2020-05-11 08:06:13 +03:00
John Gardiner Myers 649062a4c1 Remove deprecated CertificatePool method 2020-05-09 22:47:45 -07:00
John Gardiner Myers ae667a94c5 Make funcs private and remove dead code 2020-05-09 22:39:19 -07:00
John Gardiner Myers e0c32a3fae Remove dead code 2020-05-09 22:39:19 -07:00
Kubernetes Prow Robot 8768178082
Merge pull request #9084 from rifelpet/gce-tf-metadata
Dont use terraform's file() for singleline strings in GCE metadata
2020-05-08 16:21:51 -07:00
Martin Tomes 60dab58486
Update upup/pkg/fi/cloudup/awstasks/launchtemplate_target_api.go
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2020-05-08 22:50:51 +02:00
Martin Tomes a43aa2d74e
Update upup/pkg/fi/cloudup/awstasks/launchtemplate.go
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-08 22:49:49 +02:00
Ciprian Hacman 7114c475ff Fix containerd image side-loading 2020-05-08 23:47:09 +03:00
Martin Tomes 3e725092e9 Launch template target updated
Added InstanceInterruptionBehavior to RenderAWS and Find. Fixed typo in instancegroups
2020-05-07 17:35:57 +02:00
liranp 4f207e4ac3
feat(spotinst): allow users to disable the controller addon 2020-05-07 18:11:17 +03:00
Justin SB 75fd939a62
kube-apiserver: healthcheck via sidecar container
kube-apiserver doesn't expose the healthcheck via a dedicated
endpoint, instead relying on anonyomous-access being enabled.  That
has previously forced us to enable the unauthenticated endpoint on
127.0.0.1:8080.

Instead we now run a small sidecar container, which
proxies /healthz and /readyz requests (only) adding appropriate
authentication using a client certificate.

This will also enable better load balancer checks in future, as these
have previously been hampered by the custom CA certificate.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-07 08:06:52 -04:00
Peter Rifel ef6abbcd5c
Don't use file references for single line strings in gce's metadata fields 2020-05-06 23:06:24 -05:00
Peter Rifel 7d845e5c38
Remove redundant literal function. LiteralFromStringValue is more commonly used. 2020-05-06 23:04:03 -05:00
Kubernetes Prow Robot 486c20f724
Merge pull request #9053 from johngmyers/channels-dependency
Allow cluster maintenance when channel is unavailable
2020-05-06 07:39:09 -07:00
Justin SB 27aab12b28 Release 1.18.0-alpha.3 2020-05-06 08:19:06 -04:00
John Gardiner Myers e9590097ee Add more ca-central-1 AZs, add ap-northeast-3 AZs 2020-05-04 21:57:03 -07:00
John Gardiner Myers 126c4c8d37 Allow cluster maintenance when channel is unavailable 2020-05-03 13:48:15 -07:00
Kubernetes Prow Robot 84687b8394
Merge pull request #9022 from acaire/feature-spotinst-controller-v1.0.58
Feature spotinst controller v1.0.58
2020-05-03 06:58:26 -07:00
Ash Caire d523a3d061 feature(spotinst): upgrade controller (v1.0.58) 2020-05-03 20:56:44 +08:00
Ash Caire eff2fe74ca style(spotinst): Remove erroneous YAML separators
This was causing the following error when applying the channel:

I0429 09:05:44.828460   15185 apply.go:71] configmap/spotinst-kubernetes-cluster-controller-config unchanged
secret/spotinst-kubernetes-cluster-controller-certs unchanged
serviceaccount/spotinst-kubernetes-cluster-controller unchanged
clusterrole.rbac.authorization.k8s.io/spotinst-kubernetes-cluster-controller unchanged
clusterrolebinding.rbac.authorization.k8s.io/spotinst-kubernetes-cluster-controller unchanged
deployment.apps/spotinst-kubernetes-cluster-controller configured
error: error validating "/tmp/channel152526040/manifest.yaml": error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false
Error: error updating "spotinst-kubernetes-cluster-controller.addons.k8s.io": error applying update from "s3://REDACTED/kops/REDACTED/addons/spotinst-kubernetes-cluster-controller.addons.k8s.io/v1.9.0.yaml": error running kubectl
2020-05-03 20:56:36 +08:00
Kubernetes Prow Robot 07f994942a
Merge pull request #9017 from olemarkus/change-zone
Allow changing AZ of masters
2020-05-01 06:54:29 -07:00