Commit Graph

10785 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 8a6e13698c
Merge pull request #9131 from johngmyers/remove-cert-oldformat
Remove support for reading legacy-format keypairs
2020-05-20 15:36:19 -07:00
John Gardiner Myers 8a6d29cd40 Remove support for reading legacy-format keypairs 2020-05-20 13:28:13 -07:00
Kubernetes Prow Robot 83c2a0885e
Merge pull request #8989 from hs0210/work
Add unit test for func matchesElbTags
2020-05-19 22:08:30 -07:00
Kubernetes Prow Robot 96819c2e48
Merge pull request #8950 from justinsb/apiserver-test1
Create golden image test for nodeup kube-apiserver
2020-05-19 22:08:18 -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 26421c3081
Merge pull request #9133 from justinsb/service_account_jwks_uri_flag
Map kube-apiserver service-account-jwks-uri flag
2020-05-19 20:54:18 -07:00
Peter Rifel 9de299f70f
make crds 2020-05-19 22:16:08 -05:00
Kubernetes Prow Robot bfc3e1c785
Merge pull request #9139 from spotinst/doc-ig-spot
Spotinst: Documentation
2020-05-19 18:12:18 -07:00
Kubernetes Prow Robot c30ade0386
Merge pull request #9147 from nvanheuverzwijn/patch-1
doc: Typo in docs/state.md
2020-05-19 17:36:18 -07:00
Nicolas Vanheuverzwijn 07ad88cca1
doc: Typo in docs/state.md
Fix json example for Cross Account State-store.
2020-05-19 20:00:23 -04:00
Ciprian Hacman 9d666c73bc Use components.UsesKubenet to check if Kubenet is required 2020-05-19 20:43:33 +03:00
Kubernetes Prow Robot 7aa65d7ef4
Merge pull request #9142 from johngmyers/remove-classic
Remove Classic networking from docs
2020-05-19 07:31:37 -07:00
Kubernetes Prow Robot 3ed981ff4b
Merge pull request #9144 from rifelpet/docs-release-menu-item
Remove redundant menu item in the docs site
2020-05-19 05:51:38 -07:00
Peter Rifel 1453c54dcf
Remove redundant menu item in the docs site
There is alreay an "Our release process" item that links to this same page.
2020-05-19 07:17:06 -05:00
John Gardiner Myers b91073cffd Remove Classic networking from docs 2020-05-18 22:29:29 -07:00
liranp 7b37f4715c
doc(spot): instance group integration: spot ocean 2020-05-18 20:05:03 +03:00
Justin Santa Barbara 35c6056fb2 Create golden image test for nodeup kube-apiserver
The building of the manifests for nodeup tasks can be a little opaque;
create a test to verify and expose what is happening.
2020-05-18 06:42:16 -04: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
Kubernetes Prow Robot f96099c878
Merge pull request #9107 from olemarkus/docs-networking-split
Move CNI docs to their own files
2020-05-17 14:29:36 -07:00
Justin Santa Barbara 3306549749 Add general contract test for IsEmpty
This was the root bug that was causing the over-logging on GCE.
2020-05-17 17:11:01 -04: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 520474468d DNS: Don't try to apply empty changesets
For GCE this was resulting in confusing error messages.
2020-05-17 16:43:10 -04:00
Kubernetes Prow Robot ef5c0de500
Merge pull request #9136 from justinsb/http_download_timeout
http download: set a timeout to avoid hangs
2020-05-17 12:59:35 -07: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 fd841dcd58
Merge pull request #9134 from johngmyers/remove-obsolete
Remove code for unsupported Kubernetes version
2020-05-17 06:17:35 -07:00
John Gardiner Myers 91e1f4c79d Remove code for unsupported Kubernetes version 2020-05-16 22:04:12 -07:00
Justin SB ae4381c555 Map kube-apiserver service-account-jwks-uri flag
This is needed/useful for identity federation to AWS.
2020-05-16 22:03:47 -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 50a1a8edfb
Merge pull request #9121 from atmosx/master
Add EC2 Instance LifeCycle label
2020-05-15 11:17:37 -07:00
Panagiotis Atmatzidis 31acabf8cd
Add EC2 instance lifecycle label to nodes
When using a "mixed instance policy"[1] instance group spot and onDemand nodes are part of the same
ASG. The ASG handles the percentage of spot vs onDemand instances. There are no annotations, EC2 tags or labels to identify which
instances are onDemand vs spot. There is a field called `InstanceLifecycle` accessible through `EC2.DescribeInstances`.

The field `InstanceLifecycle` is available only in `spot` and
`scheduled` AWS EC2 instance types.

This PR introduces a new label to be attached on AWS EC2 spot nodes.

The label is:

```
node-role.kubernetes.io/spot-worker: "true"
```

or

```
node-role.kubernetes.io/scheduled-worker: "true"
```

[^1]: https://github.com/kubernetes/kops/blob/master/docs/instance_groups.md#mixedinstancepolicy-aws-only
2020-05-15 09:33:37 +03:00
Srikanth f46ebbc7af Incorporate review comments 2020-05-14 17:25:25 +05:30
Kubernetes Prow Robot a454f0ff83
Merge pull request #9118 from johngmyers/validate-missing-asg
Return cluster validation failure if ASG missing
2020-05-13 14:36:23 -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
Kubernetes Prow Robot ee6a80c7a0
Merge pull request #9125 from MoShitrit/fix-6474
Adding most recent version of kube-state-metrics - 1.9.5
2020-05-13 11:14:26 -07:00
MoShitrit 24b3b8097a Adding most recent version of kube-state-metrics - 1.9.5 2020-05-13 13:12:15 -04:00
Kubernetes Prow Robot e4a0a3b903
Merge pull request #9126 from johngmyers/validate-target-size
Fail cluster validation if too few nodes for ig's target size
2020-05-13 09:10:26 -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
Ole Markus With 9d6be53a10
Update docs/networking/lyft-vpc.md
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-05-12 18:38:16 +02: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
Ciprian Hacman e608cd5265 Add support for Kubenet with containerd 2020-05-12 17:20:59 +03:00
Kubernetes Prow Robot aca8ac8695
Merge pull request #9114 from Hellcatlk/UnitTest
Add unit test for util/pkg/hashing/hash.go
2020-05-12 07:12:21 -07:00
Kubernetes Prow Robot 6e0aea35ce
Merge pull request #9108 from olemarkus/zsh-completion
Fix zsh completion
2020-05-12 06:14:21 -07:00
Zhou Hao 1a1be5f60a model: add UT for DefaultInstanceGroupVolumeSize
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-05-12 17:26:08 +08: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