Commit Graph

10000 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 6deb088dab
Merge pull request #8518 from justinsb/try_to_create_tag_build
cloudbuild: Try uploading our binaries to the staging bucket also
2020-02-10 09:03:53 -08:00
Justin SB c78a04c7eb
cloudbuild: Try uploading our binaries to the staging bucket also
Adding build & upload of our binaries to the staging bucket, from the
trusted builder.
2020-02-10 11:27:45 -05:00
John Gardiner Myers 0c0e2dcf5f Add comment on initialization of kubernetesRelease 2020-02-10 08:14:17 -08:00
Kubernetes Prow Robot 6b4b003954
Merge pull request #8516 from geojaz/update_gce_lib
[vendoring] Update google libs to latest
2020-02-09 12:31:52 -08:00
eric-hole 3e36e19241 Updates googleapis to latest 2020-02-09 09:46:32 -08:00
Kubernetes Prow Robot f0dd2aeeab
Merge pull request #8514 from rifelpet/cloudbuild
Image Pushing - Remove .git dependency from get_workspace_status.sh
2020-02-08 13:21:52 -08:00
Peter Rifel d777347705 Remove .git dependency from get_workspace_status.sh
The image pushing postsubmit job [0] is one step closer to succeeding.

It currently fails because when the builder image uploads the kops directory to GCS for to be consumed by GCB, it excludes the .git directory [1].

This causes the job to fail because `make kops-controller-push` uses bazel which runs get_workspace_status.sh which aborts if the git commands fail.

The prow job doesnt contain much output but the GCB logs can be seen in GCS [2].

This PR removes the dependency on git commands.
I dont think any of the logic in the script will change because we already set VERSION [3] which is the only variable in get_workspace_status.sh that depends on git commands and is used to build and push the kops controller image.
[0] https://testgrid.k8s.io/sig-cluster-lifecycle-kops#kops-postsubmit-push-to-staging
[1] 18391d8986/images/builder/main.go (L87)
[2] gs://k8s-staging-kops-gcb/logs/log-a7dc3a24-97cd-42fe-bec3-971dc78a0e3a.txt
[3] b1276ac835/cloudbuild.yaml (L10)
2020-02-07 18:35:26 -06:00
Kubernetes Prow Robot b1276ac835
Merge pull request #8513 from justinsb/relnotes_1_15_2
Release notes for 1.15.2
2020-02-07 15:21:46 -08:00
Justin SB bc7e130006
Release notes for 1.15.2 2020-02-07 17:44:09 -05:00
Kubernetes Prow Robot 13b4e05679
Merge pull request #8461 from justinsb/use_bindmount_for_home_kubernetes_bin
Use BindMount task for /home/kubernetes/bin
2020-02-07 07:45:45 -08:00
Kubernetes Prow Robot d8a2e0b2a7
Merge pull request #8504 from hakman/containerd-1.3.3
Add support for containerd v1.3.3
2020-02-07 06:25:45 -08:00
Kubernetes Prow Robot 442ae92f70
Merge pull request #8505 from rifelpet/cloudbuild
Move cloudbuild.yaml to repo root
2020-02-07 05:43:42 -08:00
Peter Rifel b61c0ee371 Move cloudbuild.yaml to repo root
This file is used by the push-to-staging postsubmit job that builds images and pushes them to a staging repo.
When it was originally added, my theory for why the job was failing [0] is that we were only uploading the ci/postsubmit/push-to-staging directory to GCS for use in cloudbuild, when in reality we need to push the entire kops repo so it can run `make kops-controller-push`.

A while back I had updated the job to use the repo root but hadnt created the cloudbuild.yaml file there yet, so instead we've been getting a cloudbuild.yaml not found error [1].

This moves the cloudbuild.yaml into the repo root so that the current job configuration will recognize it and hopefully be able to run `make kops-controller-push` in GCB.

[0] https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kops-postsubmit-push-to-staging/1209130004504383489
[1] https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kops-postsubmit-push-to-staging/1213230826582446081
2020-02-07 06:04:10 -06:00
Justin SB 761cdfbd47
Use BindMount task for /home/kubernetes/bin
Without this, a reboot on COS does not remount /home/kubernetes/bin with exec permission.
2020-02-07 06:01:07 -05:00
Kubernetes Prow Robot a34ad252ff
Merge pull request #8496 from justinsb/log_acls
GCS: Log ACLs if we're writing them
2020-02-06 22:49:43 -08:00
Ciprian Hacman 7048755c0e Add support for containerd v1.3.3 2020-02-07 08:01:09 +02:00
Kubernetes Prow Robot 1270f6f7e7
Merge pull request #8506 from hakman/fix-netlify
Fix Netlify deps for tests
2020-02-06 21:53:42 -08:00
Ciprian Hacman f080367c96 Fix Netlify deps for tests 2020-02-07 07:20:25 +02:00
Kubernetes Prow Robot 5dc38b911f
Merge pull request #8495 from justinsb/fix_md5
GCS: Fix bug where around retry on GCS
2020-02-06 18:10:33 -08:00
Kubernetes Prow Robot 6cebe2d499
Merge pull request #8503 from gjtempleton/CoreDNS-1.6.7-Revert-master
Revert "Merge pull request #8452 from maruina/coredns-1.6.7"
2020-02-06 17:31:32 -08:00
GuyTempleton f6b6f277d9
Revert "Merge pull request #8452 from maruina/coredns-1.6.7"
This reverts commit 4a9fbdca9c, reversing
changes made to 48eb069e61.
2020-02-06 23:34:20 +00:00
Kubernetes Prow Robot 3c85693938
Merge pull request #8493 from justinsb/gcp_fix_acl
GCS: Don't try to set ACLs if bucket-policy only is set
2020-02-06 12:31:27 -08:00
John Gardiner Myers 7fa990c86a Mark dns-controller and kops-controller as non-root 2020-02-06 12:12:11 -08:00
Justin SB 187d5e5e7f
GCS: Don't try to set ACLs if bucket-policy only is set
This means we won't be able to work unless there's a bucket permission
(which actually will typically happen if the state store is in the
same GCS project).

This is the minimal workaround for cherry-picking.
2020-02-06 14:49:30 -05:00
Justin SB 9fb80f9048
GCS: Log ACLs if we're writing them
We log at V(4) because they are fairly verbose.
2020-02-06 14:46:41 -05:00
Justin SB 9e7a026332
GCS: Fix bug where around retry on GCS
We were recomputing the MD5, but we would need to rewind the stream first.
2020-02-06 14:45:39 -05:00
Ole Markus With 98ea9119a3 Fix tests 2020-02-06 19:41:47 +01:00
Kubernetes Prow Robot 4f2cddaa8b
Merge pull request #8433 from olemarkus/cilium-prometheus
Make it possible to enable Prometheus metrics for Cilium
2020-02-06 10:17:24 -08:00
Ole Markus With 0b06749933 Bump alphas to stable 2020-02-06 18:49:12 +01:00
Kubernetes Prow Robot 8e4b811b6d
Merge pull request #8485 from justinsb/relnotes_1_17_0_alpha_3
Release notes for 1.17.0-alpha.3
2020-02-06 09:33:24 -08:00
Kubernetes Prow Robot 12ac01732e
Merge pull request #8484 from olemarkus/upgrade-cilium-feb
Update cilium to 1.6.6
2020-02-06 08:41:24 -08:00
Justin SB ba4012c5d1
Release notes for 1.17.0-alpha.3 2020-02-06 11:23:34 -05:00
Ole Markus With 43b074bfbc Update cilium to 1.6.6 2020-02-06 16:21:59 +01:00
Kubernetes Prow Robot ac5887aa24
Merge pull request #8480 from justinsb/relnotes_1_18_0_alpha_2
Release notes for 1.18.0-alpha.2
2020-02-05 21:15:33 -08:00
Justin SB 09b1502951
Release notes for 1.18.0-alpha.2 2020-02-05 22:34:56 -05:00
Justin SB 9b9615bf53 Release 1.18.0-alpha.2 2020-02-05 21:58:08 -05:00
Kubernetes Prow Robot 66228c5c47
Merge pull request #8468 from adri/patch-1
Fix Github download url for nodeup
2020-02-05 18:43:33 -08:00
Justin SB 5d7fc87102
Update expected output to include v in github URLs 2020-02-05 20:58:03 -05:00
Kubernetes Prow Robot 7ac9808d14
Merge pull request #8474 from hase1128/typos-cluster-spec
Fix typos in cluster_spec.md
2020-02-05 07:47:55 -08:00
Jin Hase c637ad7104 Fix typos in cluster_spec.md 2020-02-05 21:13:02 +09:00
John Pugliesi fa30793391 Update Calico CNI BGP links 2020-02-04 12:29:06 -08:00
Adrian Philipp 4982a94721
Fix Github download url for nodeup
Currently this generates:
```
NODEUP_URL=https://artifacts.k8s.io/binaries/kops/1.15.1/linux/amd64/nodeup,https://github.com/kubernetes/kops/releases/download/1.15.1/linux-amd64-nodeup,https://kubeupv2.s3.amazonaws.com/kops/1.15.1/linux/amd64/nodeup
NODEUP_HASH=de4939eadb6e4d89fcf608b1f632e770bcce521d6dc5c45d76d2c4608ad23db4
```

However for the Github URL a `v` is missing in front of the version tag.

Returns a 404:
```
curl https://github.com/kubernetes/kops/releases/download/1.15.1/linux-amd64-nodeup
```

Downloads the file:
```
curl https://github.com/kubernetes/kops/releases/download/v1.15.1/linux-amd64-nodeup
```
2020-02-04 14:24:48 +01:00
Kubernetes Prow Robot 6c202ef375
Merge pull request #8467 from justinsb/kops_controller_remove_logfile
Stop logging to /var/log/kops-controller.log
2020-02-04 04:19:25 -08:00
Justin SB 0cb35638f2
Stop logging to /var/log/kops-controller.log
Writing to a hostPath from a non-root container requires file
ownership changes, which is difficult to roll out today.  See
discussion in #8454

We were primarily using the logfile for e2e diagnostics, so we're
going to look into collecting the information via other means instead.

We also haven't yet shipped this logfile in a released version (though
we have shipped it in beta releases)
2020-02-04 06:41:25 -05:00
Ole Markus With eed15b471a Make it possible to enable Prometheus metrics for Cilium 2020-02-03 19:11:34 +01:00
Kubernetes Prow Robot 051ceeea70
Merge pull request #8445 from daviddyball/master
Cilium - Add missing Identity Allocation Mode to Operator Template
2020-02-03 09:11:21 -08:00
Kubernetes Prow Robot 4c6b87494a
Merge pull request #8237 from srikiz/DO-AddLoadBalancer
[DigitalOcean] Add load balancer support for master HA
2020-02-02 21:09:20 -08:00
Kubernetes Prow Robot 0c7cbee2bd
Merge pull request #8462 from johngmyers/tag-volume
Tag EBS volumes when using launch templates with AWS API target
2020-02-02 20:23:20 -08:00
Kubernetes Prow Robot 8f31b55271
Merge pull request #8450 from truongnh1992/typo
docs: trivial fix some typos
2020-02-02 19:43:20 -08:00
Nguyen Hai Truong c6cdc34117 docs: trivial fix some typos
Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-02-03 09:08:04 +07:00