Commit Graph

2694 Commits

Author SHA1 Message Date
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
Ciprian Hacman 7114c475ff Fix containerd image side-loading 2020-05-08 23:47:09 +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
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
Ole Markus With 74732487d5 Fix various tests that used masters without etcd members 2020-04-30 18:32:28 +02:00
Ole Markus With 7c49f283c4 Bump cilium to 1.7.3 2020-04-30 07:29:22 +02:00
Kubernetes Prow Robot e39ea8de68
Merge pull request #9021 from MoShitrit/issue-9012
Add af-south-1 and eu-south-1 regions (AWS)
2020-04-29 04:58:24 -07:00
MoShitrit e8416c1028 Add af-south-1 and eu-south-1 regions to AWS 2020-04-29 00:10:32 -04:00
Kubernetes Prow Robot a1a6611c8f
Merge pull request #9020 from rifelpet/aws-vpc-cni-161
Upgrade amazon vpc cni to 1.6.1
2020-04-28 20:56:25 -07:00
Peter Rifel 4e9d14f51d
Upgrade amazon vpc cni to 1.6.1
https://github.com/aws/amazon-vpc-cni-k8s/releases/tag/v1.6.1
2020-04-28 21:27:00 -05:00
liranp 1ecf559b71
feat(spot/ocean): add support for grace period 2020-04-28 19:54:57 +03:00
Kubernetes Prow Robot 0adf32f973
Merge pull request #8965 from hakman/weave-fixes
Fix missing changes in Weave manifest
2020-04-28 08:20:09 -07:00
Kubernetes Prow Robot 7d85c53c96
Merge pull request #9004 from geojaz/gce/update_network
GCE: needs to use v1 network resources, not beta
2020-04-27 14:16:05 -07:00
eric-hole 444ad7b4fd GCE: needs to use v1 network resources, not beta 2020-04-27 13:14:50 -07:00
Kubernetes Prow Robot 8d0933fe35
Merge pull request #8982 from olemarkus/cilium-bump-april
Bump cilium to 1.7.2
2020-04-27 13:04:05 -07:00
mosheshitrit 9fffc5f8e0 Make CPU Requests for Calico configurable instead of hard-coded
Update bindata.go

Apply suggestions from code review

Applying suggested changes.

Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>

Applying changes after running `make gofmt`

Applying changes after running `make crds`

Apply suggestions from code review

Applying suggested changes.

Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>

Applying changes after running `make gofmt`

Fixing broken things

Typo fixes

Apply suggestions from code review

Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>

Apply suggested changes and run necessary `make` steps
2020-04-26 12:44:14 -04:00
Ole Markus With 3e3b2019dc Bump cilium to 1.7.2 2020-04-25 19:39:40 +02:00
Kubernetes Prow Robot 73a93f7d44
Merge pull request #8961 from hakman/calico-v3.13.3
Update Calico and Canal to latest patch versions
2020-04-24 13:27:30 -07:00
eric-hole f25b26ff07 Migrates GCE sdk from v0.beta to v1 2020-04-24 10:54:19 -07:00
Ciprian Hacman 227a767ce5 Fix missing changes in Weave manifest 2020-04-23 19:58:13 +03:00
Ciprian Hacman 676fdc6ab4 Update Calico and Canal misc stuff 2020-04-23 11:03:57 +03:00
Ole Markus With 78e8d83d91 Adding a test for deleting keysets 2020-04-21 10:37:43 +02:00
Ole Markus With 8bb078a4a8 Load the correct certificate before deleting 2020-04-20 21:32:22 +02:00
liranp 2a17a50d00
chore(deps): make gomod 2020-04-19 14:23:32 +03:00
liranp 870bdfdcff
feature(spotinst): add support for auto scaler configuration 2020-04-19 14:22:57 +03:00
Martin Tomes 462ca78f2a Import package aliases modified
Modified api -> kopsapi aliases of imports of k8s.io/kops/pkg/apis/kops
2020-04-17 16:55:08 +02:00
Kubernetes Prow Robot 982496c539
Merge pull request #8930 from justinsb/enabled_to_pointer
Change NodeLocalDNS Enabled to *bool
2020-04-16 21:55:06 -07:00
Justin Santa Barbara f3a40cf87c Change NodeLocalDNS Enabled to *bool
As discussed in #8780 so we differentiate between false and not-set.
Also tweak the comment.
2020-04-17 00:09:35 -04:00
Ole Markus With 869ab75dea Use etcd-manager for the cilium etcd cluster 2020-04-16 08:42:59 +02:00
Justin Santa Barbara 31bb16d4d1 Add context.Context to most signatures
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory.  Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00
Ole Markus With d5019a6c11 Simplify the spec and templates a bit 2020-04-10 10:48:21 +02:00
Salvatore Mazzarino f754cbda7d NodeLocal DNSCache
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2020-04-10 10:44:53 +02:00
Justin Santa Barbara 108d1eee5d Replace deprecated x/net/context with context
It's not x-perimental any more!
2020-04-09 23:58:19 -04:00
Peter Rifel ef76409046 Add support for writing maps of literals, used by gce metadata 2020-04-08 22:16:57 -05:00
Peter Rifel 2a48c70ea8 Copy GCE instance fields into both Instance and InstanceTemplate
The hcl2 library doesn't handle embedded types well,
so rather than trying to detect it with reflection I figured it was easier to just get rid of the one case of it.
This copies the fields from the embedded type into both Instance and InstanceTemplate, updating the receiver functions to instead return the value for the field that was being modified.
2020-04-08 21:18:50 -05:00
Kubernetes Prow Robot ef10d5444e
Merge pull request #8825 from rifelpet/hcl2-native
Add Terraform 0.12 support
2020-04-07 09:01:44 -07:00
Justin Santa Barbara 765fa36d22 Use dns.NewService instead of dns.New
Fixes build problems caused by concurrent changes
2020-04-07 10:37:00 -04:00
Christian van der Leeden eb3bb41c6b kops delete will also delete the DNS entries for GCE 2020-04-07 10:37:00 -04:00
Ciprian Hacman 5ee9ba2ee6 Update Calico and Canal to v3.13.2 2020-04-07 10:50:54 +03:00
Kubernetes Prow Robot a06cebc915
Merge pull request #8847 from rifelpet/machine-types
Switch to using ec2.DescribeInstanceTypes for building the MachineTypes list
2020-04-06 06:43:46 -07:00