Commit Graph

368 Commits

Author SHA1 Message Date
Ciprian Hacman 8bbc88eb2e Disallow the use of legacy addons 2021-07-31 05:33:26 +03:00
Ciprian Hacman b9ad8713e1 Promote channel alpha to stable 2021-07-31 04:39:11 +03:00
Ciprian Hacman c0ac28d96b Update Ubuntu images to v20210720 2021-07-31 04:36:37 +03:00
Kubernetes Prow Robot fdaae803b1
Merge pull request #12050 from johngmyers/promote-stable
Promote channel alpha to stable
2021-07-27 00:50:45 -07:00
John Gardiner Myers 63aec1b2df Recommend kops 1.21.0 in alpha channel 2021-07-26 21:35:57 -07:00
John Gardiner Myers ba20602ffe Promote channel alpha to stable 2021-07-26 21:31:45 -07:00
Moshe Shitrit e925002d3d Update k8s versions with July releases and bump Ubuntu ec2 AMI version 2021-07-16 09:53:53 -04:00
Ole Markus With 0a43080957 Continue if a single addon fails to be applied 2021-07-06 08:31:49 +02:00
Ciprian Hacman 2f3bad686a Remove version from addons 2021-06-25 19:25:01 +03:00
Moshe Shitrit e827939f62 push alpha to stable 2021-06-25 13:00:10 +03:00
John Gardiner Myers a8b9aa13eb Don't include irrelevant bootstrap addons 2021-06-24 20:34:17 -07:00
Moshe Shitrit b3957da896 Update k8s versions and ec2 ami base image 2021-06-18 16:47:29 +03:00
Kubernetes Prow Robot 3e0401378d
Merge pull request #11598 from olemarkus/channels-update-test
Add some tests around channel adding needs-update annotation
2021-06-06 21:12:39 -07:00
John Gardiner Myers ffba92df93 Promote channel alpha to stable 2021-05-31 22:00:31 -07:00
Ole Markus With fded614baa Add some tests around channel adding needs-update annotation 2021-05-25 15:15:32 +02:00
Justin Santa Barbara 1588a506a6 First operator integration: CoreDNS
Hidden behind a feature-flag, but when the UseAddonOperators feature
flag is set, we now use the cluster-addons CoreDNS operator instead of
our built-in manifests.
2021-05-25 06:29:07 -04:00
MoShitrit 5ba5ac0316 Add kOps and k8s 1.21 to alpha channel 2021-05-13 10:08:14 -04:00
MoShitrit 454782b0e7 k8s releases May-12-2021 2021-05-12 23:40:08 -04:00
Ole Markus With 0dc9cd44e6 Set SAN for addon CAs 2021-04-27 09:27:57 +02:00
Ciprian Hacman 55e154a526 Update Ubuntu images to latest version 2021-04-25 09:24:20 +03:00
Ciprian Hacman 71b93587f8 Promote channel alpha to stable 2021-04-25 09:05:40 +03:00
Kenji Kaneda 221568a7a6 Add Azure image to alpha/stable channel
Remove the default image hard-coded in populate_instancegroup_spec.go.
2021-04-20 09:47:03 -07:00
Kubernetes Prow Robot 1f60abe3de
Merge pull request #11257 from olemarkus/no-needupdate-on-install
Don't set NeedUpdate on first addon install
2021-04-18 08:50:35 -07:00
Ole Markus With daabfc2111 Don't set NeedUpdate on first addon install 2021-04-18 16:31:37 +02:00
Ciprian Hacman d33508d51f Update kOps recommended versions and images 2021-04-17 08:52:50 +03:00
MoShitrit c4a73ba74f Bump k8s versions with April 2021 releases 2021-04-16 16:34:07 -04:00
Ciprian Hacman 9b9f3646e1 Promote channel alpha to stable 2021-03-22 08:37:30 +02:00
Kubernetes Prow Robot 86492a81a5
Merge pull request #11089 from rifelpet/goembed
Replace go-bindata with go:embed
2021-03-21 01:15:42 -07:00
Peter Rifel a97f4fe809
Add darwin bazel outputs for protokube and channels 2021-03-20 20:46:28 -05:00
Barry Melbourne d13b7407a0 Update Ubuntu 20.04 to latest AMI 2021-03-20 10:52:28 +00:00
Kubernetes Prow Robot 00bbf55371
Merge pull request #11075 from MoShitrit/k8s-releases-march-2021
Update k8s versions with March 2021 releases
2021-03-19 22:09:42 -07:00
Peter Rifel 08b263b8f6
Fix GCE channels version constraints
Previously k8s 1.17+ would always match with COS rather than Ubuntu 20.04 because of the unbound version range.
This updates 1.18+ clusters to use Ubuntu 20.04 to match AWS.

This should fix the failure to download logs via SSH here: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1373013584195358720
The instance groups confirm the use of COS rather than u2004: https://storage.googleapis.com/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1373013584195358720/artifacts/instancegroups.yaml
2021-03-19 22:34:31 -05:00
MoShitrit 685826978a Update k8s versions with March 2021 releases 2021-03-19 16:44:42 -04:00
Kubernetes Prow Robot 9dfbd03fa6
Merge pull request #11046 from hakman/channels-arm64
Add channels entries for image architecture
2021-03-15 12:16:34 -07:00
Ciprian Hacman 55f8c70779 Add channels entries for image architecture 2021-03-15 20:36:37 +02:00
Peter Rifel 21389c8276
Cleanup some nodeup & protokube logging
Also log a channels error that we're seeing on flatcar to help with troubleshooting
2021-03-14 21:49:35 -05:00
MoShitrit 2851b25be5 Upgrade k8s 1.20 to latest patch version 2021-02-18 15:06:39 -05:00
MoShitrit c9f9dce2e8 Update k8s versions with February releases 2021-02-17 19:28:12 -05:00
MoShitrit fcada851c0 Alpha to Stable 2021-02-17 19:26:13 -05:00
Ciprian Hacman 57f6f362d8 Release binaries for protokube and channels 2021-02-16 09:40:01 +02:00
Ole Markus With 3889dcf6c9 Add missing versions to channels 2021-02-10 13:29:43 +01:00
Kubernetes Prow Robot 0422349081
Merge pull request #10748 from justinsb/update_alpha_channel
alpha channel: Update older images
2021-02-06 08:01:11 -08:00
Justin SB fce17c4341 alpha channel: Update older images
To pick up the sudo fixes, also addresses some problems with docker
preinstallation.

Issue #10122
2021-02-06 10:19:17 -05:00
Ole Markus With d41f68c6ef Make channels create PKI for addons that needs it 2021-01-30 09:01:33 +01:00
Ciprian Hacman bcc3c98cfb Bump Ubuntu images for AWS and GCE 2021-01-28 08:31:59 +02:00
MoShitrit d43a5bb6d7 Bumping ubuntu ami version to latest available everywhere 2021-01-22 16:00:44 -05:00
MoShitrit 62fdcfc48f pushing k8s version updates from alpha to stable 2021-01-22 15:58:01 -05:00
MoShitrit 6a735e75ba Bump recommended kOps 1.19 version to beta.3 2021-01-13 17:01:24 -05:00
MoShitrit 68377252e5 Update k8s versions with January releases 2021-01-13 17:00:36 -05:00
geojaz 803c7bcd4e pdates GCE channels to use ubuntu over COS 2021-01-10 21:20:25 -08:00
MoShitrit 89f988a035 Update stable channel with recent k8s releases 2020-12-30 17:52:06 -05:00
MoShitrit 3919b275e4 Bump k8s versions with 2020-12-18 releases 2020-12-18 10:16:11 -05:00
MoShitrit 1d9ed7e437 Bump stable ubuntu ami version 2020-12-18 10:13:06 -05:00
MoShitrit 7b9ec2a1de Update ubuntu ami version 2020-12-09 16:43:27 -05:00
MoShitrit e4f6bb16c1 Update k8s versions with December releases 2020-12-09 16:41:55 -05:00
MoShitrit dc16bec0cf Push alpha to stable 2020-12-01 21:56:07 -05:00
Justin SB d1b78fa3d5 alpha channel: update legacy images
Refreshing images with latest packages.
2020-11-18 22:46:42 -05:00
Ole Markus With f4e3dd3e26 Rename NeedUpdate struct to NeedsRollingUpdate 2020-11-16 19:48:18 +01:00
Ole Markus With 2659a30280 Make get instances respect needs-update annotation
Make it possible for addons to set needs-update annotation

Use onDelete update strategy for cilium and set needs-update annotation

Rename node roles
2020-11-16 08:26:17 +01:00
Kubernetes Prow Robot 0db65a8583
Merge pull request #10195 from MoShitrit/update-ubuntu-ami-version
Update Ubuntu ami to latest version
2020-11-12 12:34:24 -08:00
MoShitrit 131aa43b46 Update stable with most recent ubuntu AMI version 2020-11-12 14:15:05 -05:00
MoShitrit a021127233 Update 1.18 2020-11-12 13:13:49 -05:00
MoShitrit 29b73bd1d9 Updating k8s versions with November releases 2020-11-11 21:44:56 -05:00
MoShitrit 7450276868 Update ubuntu ami to latest version 2020-11-07 21:51:52 -05:00
Ciprian Hacman c9b5e21a60 Recomment kops v1.18.2 for k8s 1.15+ 2020-10-27 08:28:13 +02:00
Ciprian Hacman ad3456e0ac Promote channel alpha to stable 2020-10-27 08:25:41 +02:00
Kubernetes Prow Robot edd034b986
Merge pull request #10068 from rifelpet/channels-errors
Cleanup channels error output
2020-10-19 11:02:14 -07:00
Peter Rifel e232c6616a
Cleanup channels error output
This removes a redundant printing of error messages and no longer prints the usage help text when channels fails.

Before:
```
NAME				CURRENT	UPDATE
core.addons.k8s.io		-	1.4.0
dns-controller.addons.k8s.io	-	1.19.0-alpha.4
kops-controller.addons.k8s.io	-	1.19.0-alpha.4
kube-dns.addons.k8s.io		-	1.15.13-kops.3
kubelet-api.rbac.addons.k8s.io	-	v0.0.1
limit-range.addons.k8s.io	-	1.5.0
storage-aws.addons.k8s.io	-	1.15.0
I1018 16:49:43.908920   87960 addon.go:140] Applying update from "kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/dns-controller.addons.k8s.io/k8s-1.12.yaml"
Error: error updating "dns-controller.addons.k8s.io": error applying update from "kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/dns-controller.addons.k8s.io/k8s-1.12.yaml": error reading manifest: open kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/dns-controller.addons.k8s.io/k8s-1.12.yaml: no such file or directory
Usage:
  channels apply channel [flags]

Flags:
  -f, --filename strings   Apply from a local file
  -h, --help               help for channel
      --yes                Apply update

Global Flags:
      --add_dir_header                   If true, adds the file directory to the header of the log messages
      --alsologtostderr                  log to standard error as well as files
      --config string                    config file (default is $HOME/.channels.yaml)
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --log_file string                  If non-empty, use this log file
      --log_file_max_size uint           Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                      log to standard error instead of files (default true)
      --skip_headers                     If true, avoid header prefixes in the log messages
      --skip_log_headers                 If true, avoid headers when opening log files
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          number for the log level verbosity
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

error updating "dns-controller.addons.k8s.io": error applying update from "kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/dns-controller.addons.k8s.io/k8s-1.12.yaml": error reading manifest: open kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/dns-controller.addons.k8s.io/k8s-1.12.yaml: no such file or directory
```

After:
```
NAME				CURRENT	UPDATE
core.addons.k8s.io		-	1.4.0
dns-controller.addons.k8s.io	-	1.19.0-alpha.4
kops-controller.addons.k8s.io	-	1.19.0-alpha.4
kube-dns.addons.k8s.io		-	1.15.13-kops.3
kubelet-api.rbac.addons.k8s.io	-	v0.0.1
limit-range.addons.k8s.io	-	1.5.0
storage-aws.addons.k8s.io	-	1.15.0
I1018 16:51:08.918451   88636 addon.go:140] Applying update from "kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/core.addons.k8s.io/v1.4.0.yaml"

error updating "core.addons.k8s.io": error applying update from "kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/core.addons.k8s.io/v1.4.0.yaml": error reading manifest: open kops/upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/core.addons.k8s.io/v1.4.0.yaml: no such file or directory
```
2020-10-18 16:52:56 -06:00
Kubernetes Prow Robot ba10916272
Merge pull request #10045 from nckturner/addon-menu-test
Fix bug in MergeAddons and test
2020-10-16 09:23:25 -07:00
MoShitrit c820826a5f Updating alpha with October releases and latest Ubuntu AMI version 2020-10-16 08:47:29 -04:00
Nicholas Turner 0e442aaadd Fix staticcheck and gofmt
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-10-14 23:55:59 -07:00
John Gardiner Myers 5d989389ac Recommend kops 1.18.1 for kops >= 1.15 in alpha channel 2020-10-14 06:52:46 -07:00
Nick Turner 61ac9a5b07 Fix bug in MergeAddons
* Replace existing addon if v (new) replaces() existing, instead
  of the other way around.
2020-10-13 10:55:31 -07:00
Nick Turner f8d00cc535 Add test for Addon Menu and fix merge functionality 2020-10-13 10:54:32 -07:00
MoShitrit 164676f2e8 Bumping alpha to stable 2020-09-24 16:42:48 -04:00
MoShitrit c4876428dc Update k8s versions with September releases and Ubuntu ami version 2020-09-17 10:52:54 -04:00
MoShitrit f66d487dd1 Pushing alpha to stable 2020-09-17 10:47:51 -04:00
MoShitrit 35b113a270 Updating ubuntu image to latest 2020-09-04 11:02:18 -04:00
MoShitrit 4a82e64ede Update alpha channel k8s 1.16 to 1.16.15 2020-09-04 10:00:08 -04:00
MoShitrit 50d7c6c6e2 Bump stable versions from alpha 2020-08-24 10:26:50 -04:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Marius Voila c2ff04893f
bump alpha versions too
Signed-off-by: Marius Voila <myself@mariusv.com>
2020-08-14 13:25:41 +02:00
Marius Voila a7e4d32985
fix beta
Signed-off-by: Marius Voila <myself@mariusv.com>
2020-08-14 12:43:18 +02:00
Marius Voila 1a7e82f8dd
move kubernetes 1.18 from alpha to stable
Signed-off-by: Marius Voila <myself@mariusv.com>
2020-08-14 12:38:35 +02:00
MoShitrit 9f768c1275 Update alpha channel with August releases 2020-08-13 17:02:00 -04:00
John Gardiner Myers 63c4cf018c Update releases.md and alpha channel for 1.18.0 release 2020-08-02 17:08:48 -07:00
John Gardiner Myers 1afdf2fa9b Promote alpha channel to stable 2020-07-30 18:49:27 -07:00
Justin SB 8f1f04c61e Update stretch images (from 1.11) in alpha channel
Tagged as 2020-07-20
2020-07-20 00:16:29 -04:00
Ciprian Hacman a212c38c11 Comment recommended version for Kops 1.19 for now 2020-07-19 11:43:02 +03:00
Ciprian Hacman 928d170c57 Update stable channel with July releases 2020-07-19 10:51:34 +03:00
Ciprian Hacman b89d60b03d Update alpha channel with July releases 2020-07-16 04:25:37 +03:00
Ole Markus With 5ef09fabd8 Bump recommended ubuntu image for both channels 2020-07-09 10:32:19 +02:00
Ole Markus With 47f672b121 Promote alphas to stable 2020-07-09 10:00:08 +02:00
Ciprian Hacman a7c8d2087c Use github.com/blang/semver/v4 2020-07-01 08:54:42 +03:00
MoShitrit 3ff7b9532c Bump k8s versions for alpha channel with latest releases 2020-06-27 11:47:52 -04:00
Peter Rifel 9eba72c2b4
Add a couple more "area" labels 2020-06-18 07:01:05 -05:00
MoShitrit 28ebe6723b Update alpha channel with June releases 2020-06-17 12:51:22 -04:00
Kubernetes Prow Robot e4db73aec8
Merge pull request #9361 from johngmyers/recommend-new-kops
Bump recommended kops versions in alpha channel
2020-06-15 08:53:57 -07:00
John Gardiner Myers bc04ef437c Bump recommended kops versions in alpha channel 2020-06-15 07:48:56 -07:00
John Gardiner Myers 53b2a3e27f Promote alpha channel to stable 2020-06-14 19:41:13 -07:00