Commit Graph

311 Commits

Author SHA1 Message Date
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
Ciprian Hacman 10d621c02a Use Ubuntu 20.04 as the default image for Kubernetes 1.18+ 2020-06-05 19:49:31 +03:00
Jeff Bachtel e8646bce02 Revert "Update channel 1.15 k8s recommendation to 1.15.12"
This reverts commit 99975e867f.
2020-06-03 17:00:12 -06:00
Jeff Bachtel 99975e867f Update channel 1.15 k8s recommendation to 1.15.12 2020-06-03 16:47:30 -06:00
mikesplain a0c73d34bf
Update channels for 1.18 2020-06-02 16:08:56 -04:00
MoShitrit dd509bd90f Updating stable channel with May updates 2020-05-29 18:41:40 -04:00
MoShitrit 0dac8d7bdb Update alpha channels with May updates 2020-05-21 00:48:40 -04:00
MoShitrit c1ccb82fdd Updating stable channel to use latest k8s versions 2020-05-01 13:28:59 -04:00
Kubernetes Prow Robot f00e538bfd
Merge pull request #8977 from hakman/stretch-image-1.10
Default to Debian 9 (Stretch) for Kubernetes 1.8, 1.9 and 1.10
2020-04-27 15:26:06 -07:00
Ciprian Hacman e1b95fd0da Default to Debian 9 (Stretch) for Kubernetes 1.8, 1.9 and 1.10 2020-04-25 14:06:34 +03:00
mosheshitrit 947c222188 Update alpha and stable channels with April updates 2020-04-24 22:52:01 -04: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 43c682f9cb Update alpha channel with the march updates 2020-03-13 07:03:42 +01:00
Kubernetes Prow Robot 3abfeb9bbc
Merge pull request #8632 from olemarkus/stable-bump-feb-2
Promote alphas to stable
2020-02-26 18:35:19 -08:00
Ole Markus With a0f6cbe394 Promote alphas to stable 2020-02-26 21:40:04 +01:00
Kubernetes Prow Robot 79bbc3ef19
Merge pull request #8408 from johngmyers/channel-versions
Refuse to read channels with addons with unparseable versions
2020-02-25 17:58:27 -08:00
John Gardiner Myers 8844b97fe3 Fix field names in api validation 2020-02-15 14:52:27 -08:00
Yang Li d8166049aa channels: bump k8s versions after feb. patch releases 2020-02-12 17:57:28 +08:00
Ole Markus With 0b06749933 Bump alphas to stable 2020-02-06 18:49:12 +01:00
John Gardiner Myers a2bc9cca26 Verify addon versions in BootstrapChannelBuilder 2020-01-26 17:55:00 -08:00
John Gardiner Myers 19f35385b2 Remove commented out code 2020-01-23 21:09:21 -08:00
John Gardiner Myers 61e0694980 Refuse to read channels with addons with unparseable versions 2020-01-23 21:09:20 -08:00
Ole Markus With 95464ebdc1 Bump alpha k8s versions 2020-01-22 11:32:55 +01:00
Ole Markus With 9f76785f58 Bump alpha k8s version to stable 2020-01-21 19:42:48 +01:00
Justin SB 465316dce2
Publish update AMIs into the alpha channel
* Add 1.16, 1.17 images with correct docker versions (cf
  https://github.com/kubernetes-sigs/image-builder/pull/127)

* Regular package updates on other stretch images
2020-01-17 08:40:06 -05:00
Kubernetes Prow Robot de3bdc1be6
Merge pull request #8116 from justinsb/bump_cos
Bump COS version in alpha channel for k8s >= 1.16
2019-12-18 01:19:57 -08:00
Yang Li 35f28d5825 channels: bump k8s versions after dec. patch releases 2019-12-16 17:18:31 +09:00
Justin SB 4170c5f16d
Bump COS version in alpha channel for k8s >= 1.16
We use the latest LTS version
2019-12-15 15:45:37 -05:00
Jesse Haka 2fb84856e1 put kubernetes 1.17.0 to channels 2019-12-10 00:19:51 +02:00
Justin Santa Barbara 6559a0e031 Put kubernetes 1.17.0-beta.2 into channels
As it is bound to pre-release versions of kops, it can go directly
into the alpha and stable channels.
2019-11-21 12:10:19 -05:00
mikesplain d1ce56543c
Bump version of alpha 2019-11-19 17:20:55 -08:00
Kubernetes Prow Robot bb1b3dd112
Merge pull request #7891 from justinsb/promote_k8s_1_14_8_to_stable
stable channel: promote kubernetes 1.13.12, 1.14.8 etc
2019-11-07 23:44:44 -08:00
Justin SB 098b348d6a
stable channel: promote default AMIs from alpha -> stable
Promoting the 2019-09-26 AMIs
2019-11-07 22:42:03 -05:00
Justin SB 969ceebc9a
Recommend kops 1.11.1
Promoting this recommendation into the stable channel.
2019-11-07 20:15:04 -05:00
Justin SB 97cecd94e1
stable channel: promote kubernetes 1.13.12, 1.14.8 etc
Promote kubernetes versions from alpha to stable:

* 1.16.2
* 1.15.5
* 1.14.8
* 1.13.12
2019-11-07 20:12:50 -05:00
feifei.zhang@huawei.com 4b49412105 fix golint failures 2019-10-31 20:22:37 +08:00
mikesplain 0afd250fbc
Promote alpha to stable, bump alpha 2019-10-15 17:06:15 -04:00
tanjunchen 279c429abd remove the unnecessary newline and unused vars 2019-10-08 22:43:10 +08:00
mikesplain 50c8d9b862
Rollback channels 1.14.7
https://github.com/kubernetes/kubernetes/issues/82923
2019-10-02 12:53:49 -04:00
Kubernetes Prow Robot 4de90d2566
Merge pull request #7665 from justinsb/update_k115_image
alpha channel: image for 1.15 and general update
2019-09-27 06:49:37 -07:00
Justin SB aa44d58900
alpha channel: image for 1.15 and general update
Note that source of images is now:
https://github.com/kubernetes-sigs/image-builder/tree/master/images/kube-deploy/imagebuilder
2019-09-26 16:22:22 -04:00
Ole Markus With 64d9bb4dc1 Bump k8s versions in alpha channel 2019-09-21 19:19:38 +02:00
Justin SB da31e3e7f2
"Force" k8s 1.11.10 in stable channel
Bringing this from the alpha channel (#7423) to the stable channel.

As discussed in office hours, and from the notes on #7423:

Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.
2019-09-14 11:46:05 -04:00
Justin SB fafa283e02
Promote 2019-08-16 AMIs from alpha -> stable
As discussed in office hours.
2019-09-14 11:32:38 -04:00
Peter Rifel 548683da8c Promote 1.13 AMI from alpha to stable 2019-09-13 09:25:48 -07:00
Justin SB 61f35768fb
"Force" k8s 1.11.10; recommend kops 1.11.1
Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.
2019-09-10 09:47:58 -04:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB eee1cbba07
Update channel recommended versions for kops versions
The kubernetesVersion in the kopsVersions block is used for new
clusters.  I had forgotten to update it, so new clusters were being
created with versions that then immediately recommended an update.
2019-08-21 23:57:58 -04:00
Jesse Haka c2ecd23608 promote k8s versions 2019-08-20 09:20:35 +03:00
Kubernetes Prow Robot b82b2200f2
Merge pull request #7420 from justinsb/alpha_channel_amis_20190816
Update AMIs in alpha channels
2019-08-16 13:26:10 -07:00
Justin SB 247c98ef4e
CVE-2019-11247: promote k8s versions to stable channel
In particular we want 1.13.9 to pick up CVE-2019-11247

Note that although we include the 1.12.10 update, that does not
include the CVE fix.
2019-08-16 10:53:22 -04:00
Justin SB fcacca03eb
Bump k8s versions in alpha channel 2019-08-16 10:47:42 -04:00
Justin SB fcb26fb75b
Update AMIs in alpha channels
Add 1.13 and 1.14 images, bump 1.11 and 1.12 images.
2019-08-16 09:19:37 -04:00
Kubernetes Prow Robot cb9de24875
Merge pull request #7343 from idealhack/promote-1.12-image-to-stable
Promote 1.12 image from alpha to stable
2019-08-01 09:14:27 -07:00
Kubernetes Prow Robot 2324dbb62d
Merge pull request #7337 from justinsb/promote_1_12_9_to_stable
Promote k8s 1.12.9 from alpha -> stable
2019-07-31 03:50:21 -07:00
Yang Li 7396e514f6 promoted 1.12 image from alpha to stable
includes fixes for "TCP SACK PANIC" CVE
2019-07-30 18:03:12 +09:00
Justin SB e807c0910f
Bump alpha channel with latest kubernetes versions
As planned in office hours.
2019-07-29 12:25:16 -04:00
Justin SB e2396651ed
Promote k8s 1.12.9 from alpha -> stable 2019-07-29 12:18:33 -04:00