Commit Graph

413 Commits

Author SHA1 Message Date
Ciprian Hacman 4e90d51e74 Bump Ubuntu AMIs
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-11 07:35:12 +02:00
Ole Markus With 9065042923 Promote alpha k8s versions to stable 2022-03-05 12:47:07 +01:00
Ole Markus With e0fbdd6ad1 Bump ami in alpha channel to 20220302 2022-03-05 12:47:07 +01:00
Justin SB e07b588b1f alpha channel: recommend kOps 1.22.4
Includes fixes for etcd 3.5.0 vs 3.5.1
2022-02-21 09:08:06 -05:00
Moshe Shitrit ebf5856cb0 Bump k8s versions in alpha with Feb 2022 releases 2022-02-17 08:33:51 -08:00
Moshe Shitrit 3c6c60c6ed Promote alpha to stable 2022-02-08 21:56:36 -05:00
Jesse Haka d591ee9c80 update GCE default images 2022-02-02 13:57:50 +02:00
Ole Markus With 3fe5551dee Bump Ubuntu AMI in alpha 2022-02-01 20:33:41 +01:00
Kubernetes Prow Robot 572bf9a3cf
Merge pull request #13153 from olemarkus/channels-january-2
Bump 1.23 version in alpha channel
2022-01-26 00:00:26 -08:00
Ole Markus With c8c8228a51 Bump 1.23 version in alpha channel 2022-01-26 07:44:06 +01:00
Eric Bailey 4033d83adc Promote alpha AMIs to stable
https://ubuntu.com/security/CVE-2022-0185
2022-01-26 00:23:03 -06:00
Ole Markus With 92ea76d73b Fix recommended kops versions in channels 2022-01-20 20:06:36 +01:00
Ole Markus With b1a1d7d50b January bump of channels 2022-01-20 08:05:02 +01:00
Ole Markus With e128cc7f5d Preload channel versions from namespaces
Avoids loading the NS multiple times per installed addon
2022-01-05 10:38:26 +01:00
justinsb 8e34e4d101 addons: support for kopeio-networking addon
Adding support for the kopeio-networking addon.

We load the operator manifest (which changes rarely) from the channels
directory for now.  We follow the same structure as operators
themselves use so that we can support other backends in future.

The channels file includes the current versions of the operators.

During cluster creation, we create these additional objects.
2021-12-29 09:16:15 -05:00
Ole Markus With 261e2f429d Promote alpha with December releases 2021-12-16 20:53:53 +01:00
John Gardiner Myers 9206201bef Add 1.23 entries to alpha channel 2021-12-11 15:11:29 -08:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Ciprian Hacman caea259dba Promote alpha channel to stable 2021-11-21 10:39:27 +02:00
Ciprian Hacman 351b39129a Update alpha channel with November releases 2021-11-21 06:12:18 +02:00
Ciprian Hacman 25b9773a2e Promote alpha channel to stable 2021-11-21 04:46:06 +02:00
Ciprian Hacman 752c3de504 Update Ubuntu images to latest version 2021-11-21 04:45:24 +02:00
Eng Zer Jun 425173ae9f
refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-12 15:37:18 +08:00
Moshe Shitrit 4d36945c27 Update k8s versions with latest releases. Also bump AWS Ubuntu AMI version 2021-11-09 12:00:45 -05:00
Ole Markus With e387ddee12 Use server-side apply for addons. Idenity as kops 2021-10-23 08:16:38 +02:00
Kubernetes Prow Robot 727cdf73ad
Merge pull request #12156 from justinsb/prune_via_labels
Prune addons via labels
2021-10-22 12:54:43 -07:00
Ciprian Hacman 3a478c04d2 Update channels with latest AWS images 2021-10-21 10:07:52 +03:00
Ciprian Hacman bf91d39efe Update channels with latest kOps releases 2021-10-21 10:07:52 +03:00
justinsb c34fd83365 Add SystemGeneration to channel version tracker
This allows us to reapply a manifest when we introduce new
functionality, such as pruning.

Otherwise an old version can apply the manifest, mark the manifest as
applied, and we won't reapply.
2021-10-15 17:47:13 -04:00
justinsb df2c55917b More logging from pruning 2021-10-15 17:47:13 -04:00
justinsb 0594eee373 pruning: Allow specification of FieldSelector
FieldSelector allows for filtering by name (as well as a few other
attributes).  Though we aren't using this today, filtering by name is
something we've discussed as being valuable in future, and by putting
it in the API now we avoid version skew problems should we need to
introduce it in future.
2021-10-15 17:47:13 -04:00
justinsb 454c47f92b Support pruning in channels command
We let the addon specify exactly what should be pruned; this approach
is a little more verbose but we're likely generating this
automatically in the common case anyway.

In return for the verbosity, we can likely handle more future cases
and edge cases (for example removing objects that aren't labelled or
are in the wrong namespace).
2021-10-15 17:47:13 -04:00
Ciprian Hacman 40289396fd Update alpha channel with latest kOps releases 2021-10-10 12:56:49 +03:00
Ciprian Hacman b7d5497071 Update channels with latest cloud images 2021-10-10 12:55:38 +03:00
Moshe Shitrit 49ecfeb4c5 Update stable k8s versions 2021-10-01 00:36:11 -04:00
Ole Markus With e7a5437a34 Add fixed version to all addons
This will make also older channels trigger addon updates
2021-09-30 15:25:29 +02:00
Kubernetes Prow Robot be2676076c
Merge pull request #12334 from dntosas/bump-amis
[channels] Bump AWS/GCP/Azure Ubuntu AMIs to latest
2021-09-21 04:52:24 -07:00
dntosas dc5926520d
[channels] Bump AWS/GCP/Azure Ubuntu AMIs to latest
Signed-off-by: dntosas <ntosas@gmail.com>
2021-09-19 10:03:52 +03:00
Moshe Shitrit cec56f173d Update k8s versions with Sept releases 2021-09-16 11:35:36 -04:00
Moshe Shitrit 99efb836ee Push alpha to stable 2021-08-24 20:45:23 -04:00
mikesplain 9f6b11d4cd Fix parse channels error 2021-08-17 12:26:02 -04:00
Moshe Shitrit 7f7e983e55 Bump k8s versions with August releases and add kOps version 1.22 along with k8s 1.22 2021-08-13 00:50:55 -04:00
Kubernetes Prow Robot 8276ec1001
Merge pull request #12064 from hakman/legacy_addons
Disallow the use of legacy addons
2021-08-07 13:09:30 -07:00
Kubernetes Prow Robot a9207f4a6c
Merge pull request #12087 from johngmyers/sha256-manifest
Use SHA-256 for manifest hashes
2021-08-01 21:55:23 -07:00
John Gardiner Myers 03434509e2 Use SHA-256 for manifest hashes 2021-08-01 16:37:01 -07:00
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