From a56ffa4934af288f9a7406a2c2fdbdabc78e8c83 Mon Sep 17 00:00:00 2001 From: adrienjt Date: Fri, 3 Nov 2023 23:19:43 -0700 Subject: [PATCH] release 0.16.0 - version bump - changelog - got ECR registry alias Signed-off-by: adrienjt --- CHANGELOG.md | 34 +++++++++++++++++++++++ charts/multicluster-scheduler/Chart.yaml | 4 +-- charts/multicluster-scheduler/README.md | 16 +++++------ charts/multicluster-scheduler/values.yaml | 8 +++--- docs/operator_guide/installation.md | 4 +-- docs/quick_start.md | 12 ++++---- pipeline.sh | 4 +-- release/chart.sh | 2 +- release/image.sh | 2 +- 9 files changed, 60 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79627357..ee680a3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,40 @@ --> +## v0.16.0 + +This release adds support for Kubernetes 1.27 and 1.28, and drops support for 1.23 and older. +Among the various new features and bug fixes, we'd like to call out several improvements around cross-cluster garbage collection. +We also welcome 4 new contributors. + +### New Features + +- 3081591 add support for k8s 1.27 and 1.28 +- 0730b87 add support for webhook reinvocation policy in chart, thanks @kirillmakhonin-brt +- 408855e label virtual nodes with `node.kubernetes.io/exclude-from-external-load-balancers` in addition to the deprecated `alpha.service-controller.kubernetes.io/exclude-balancer`, thanks @bcarlock-emerge +- fa81d34 support different default priority in target cluster +- 01688ea delete proxy pod when pod chaperon is deleted +- 7116f41 recreate delegate pod if pod chaperon not deleted after a minute (if cluster connection lost) +- 7116f41 webhook readiness, for high availability + +### Bugfixes + +- a2e557e fix cross-cluster garbage collection after parent deletion +- ccc3899 fix use-constraints-from-spec-for-proxy-pod-scheduling when webhook is reinvocated + +### Breaking Changes + +- 3081591 drop support for k8s 1.23 and older + +### Internals + +- distribute container images and Helm chart (as OCI artifact) on ECR public registry +- fixed flaky e2e tests +- per-k8s-version e2e test failure cluster dump +- bumping dependencies with dependabot, thanks @Rajpratik71 +- speed up GH Actions by not installing Docker because it's already installed +- migrating away from deprecated functions in the `wait` package, thanks @Parthiba-Hazra + ## v0.15.1 ### Bugfixes diff --git a/charts/multicluster-scheduler/Chart.yaml b/charts/multicluster-scheduler/Chart.yaml index fe5e103b..004119f3 100644 --- a/charts/multicluster-scheduler/Chart.yaml +++ b/charts/multicluster-scheduler/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: admiralty -version: 0.16.0-alpha.0 +version: 0.16.0 #kubeVersion: A SemVer range of compatible Kubernetes versions (optional) description: A system of Kubernetes controllers that intelligently schedules workloads across clusters. type: application @@ -14,5 +14,5 @@ home: https://github.com/admiraltyio/admiralty # email: The maintainer's email (optional for each maintainer) # url: A URL for the maintainer (optional for each maintainer) icon: https://admiralty.io/icons/icon-144x144.png -appVersion: 0.16.0-alpha.0 +appVersion: 0.16.0 #deprecated: Whether this chart is deprecated (optional, boolean) diff --git a/charts/multicluster-scheduler/README.md b/charts/multicluster-scheduler/README.md index c4c4a126..03a85384 100644 --- a/charts/multicluster-scheduler/README.md +++ b/charts/multicluster-scheduler/README.md @@ -19,8 +19,8 @@ Admiralty uses [finalizers](https://kubernetes.io/docs/tasks/access-kubernetes-a | fullnameOverride | string | `""` | Override chart and release names in object names | | imagePullSecretName | string | `""` | | | controllerManager.replicas | integer | `2` | | -| controllerManager.image.repository | string | `"public.ecr.aws/v7x5q9o1/admiralty-agent"` | | -| controllerManager.image.tag | string | `"0.16.0-alpha.0"` | | +| controllerManager.image.repository | string | `"public.ecr.aws/admiralty/admiralty-agent"` | | +| controllerManager.image.tag | string | `"0.16.0"` | | | controllerManager.image.pullPolicy | string | `"IfNotPresent"` | | | controllerManager.resources | object | `{}` | | | controllerManager.nodeSelector | object | `{}` | | @@ -28,16 +28,16 @@ Admiralty uses [finalizers](https://kubernetes.io/docs/tasks/access-kubernetes-a | controllerManager.affinity | object | `{}` | | | controllerManager.tolerations | array | `[]` | | | scheduler.replicas | integer | `2` | | -| scheduler.image.repository | string | `"public.ecr.aws/v7x5q9o1/admiralty-scheduler"` | | -| scheduler.image.tag | string | `"0.16.0-alpha.0"` | | +| scheduler.image.repository | string | `"public.ecr.aws/admiralty/admiralty-scheduler"` | | +| scheduler.image.tag | string | `"0.16.0"` | | | scheduler.image.pullPolicy | string | `"IfNotPresent"` | | | scheduler.resources | object | `{}` | | | scheduler.nodeSelector | object | `{}` | | | scheduler.securityContext | object | `{}` | | | scheduler.affinity | object | `{}` | | | scheduler.tolerations | array | `[]` | | -| postDeleteJob.image.repository | string | `"public.ecr.aws/v7x5q9o1/admiralty-remove-finalizers"` | | -| postDeleteJob.image.tag | string | `"0.16.0-alpha.0"` | | +| postDeleteJob.image.repository | string | `"public.ecr.aws/admiralty/admiralty-remove-finalizers"` | | +| postDeleteJob.image.tag | string | `"0.16.0"` | | | postDeleteJob.image.pullPolicy | string | `"IfNotPresent"` | | | postDeleteJob.resources | object | `{}` | | | postDeleteJob.nodeSelector | object | `{}` | | @@ -45,8 +45,8 @@ Admiralty uses [finalizers](https://kubernetes.io/docs/tasks/access-kubernetes-a | postDeleteJob.affinity | object | `{}` | | | postDeleteJob.tolerations | array | `[]` | | | restarter.replicas | integer | `2` | | -| restarter.image.repository | string | `"public.ecr.aws/v7x5q9o1/admiralty-remove-finalizers"` | | -| restarter.image.tag | string | `"0.16.0-alpha.0"` | | +| restarter.image.repository | string | `"public.ecr.aws/admiralty/admiralty-remove-finalizers"` | | +| restarter.image.tag | string | `"0.16.0"` | | | restarter.image.pullPolicy | string | `"IfNotPresent"` | | | restarter.resources | object | `{}` | | | restarter.nodeSelector | object | `{}` | | diff --git a/charts/multicluster-scheduler/values.yaml b/charts/multicluster-scheduler/values.yaml index 6e9ec173..1978f7f6 100644 --- a/charts/multicluster-scheduler/values.yaml +++ b/charts/multicluster-scheduler/values.yaml @@ -11,7 +11,7 @@ sourceController: controllerManager: replicas: 2 image: - repository: "public.ecr.aws/v7x5q9o1/admiralty-agent" + repository: "public.ecr.aws/admiralty/admiralty-agent" tag: "" # (default: .Chart.AppVersion) pullPolicy: IfNotPresent resources: {} @@ -38,7 +38,7 @@ controllerManager: scheduler: replicas: 2 image: - repository: "public.ecr.aws/v7x5q9o1/admiralty-scheduler" + repository: "public.ecr.aws/admiralty/admiralty-scheduler" tag: "" # (default: .Chart.AppVersion) pullPolicy: IfNotPresent resources: {} @@ -64,7 +64,7 @@ scheduler: postDeleteJob: image: - repository: "public.ecr.aws/v7x5q9o1/admiralty-remove-finalizers" + repository: "public.ecr.aws/admiralty/admiralty-remove-finalizers" tag: "" # (default: .Chart.AppVersion) pullPolicy: IfNotPresent nodeSelector: {} @@ -91,7 +91,7 @@ postDeleteJob: restarter: replicas: 2 image: - repository: "public.ecr.aws/v7x5q9o1/admiralty-restarter" + repository: "public.ecr.aws/admiralty/admiralty-restarter" tag: "" # (default: .Chart.AppVersion) pullPolicy: IfNotPresent nodeSelector: {} diff --git a/docs/operator_guide/installation.md b/docs/operator_guide/installation.md index 401de82e..ef7c5ecf 100644 --- a/docs/operator_guide/installation.md +++ b/docs/operator_guide/installation.md @@ -21,8 +21,8 @@ custom_edit_url: https://github.com/admiraltyio/admiralty/edit/master/docs/opera 1. Install the Admiralty agent with Helm v3: ```shell script - helm install admiralty oci://public.ecr.aws/v7x5q9o1/admiralty \ + helm install admiralty oci://public.ecr.aws/admiralty/admiralty \ --namespace admiralty --create-namespace \ - --version 0.16.0-alpha.0 \ + --version 0.16.0 \ --wait ``` diff --git a/docs/quick_start.md b/docs/quick_start.md index cea3a1f4..cc1a42f9 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -74,10 +74,10 @@ values={[ quay.io/jetstack/cert-manager-webhook:v1.13.1 quay.io/jetstack/cert-manager-cainjector:v1.13.1 # admiralty open source - public.ecr.aws/v7x5q9o1/admiralty-agent:0.16.0-alpha.0 - public.ecr.aws/v7x5q9o1/admiralty-scheduler:0.16.0-alpha.0 - public.ecr.aws/v7x5q9o1/admiralty-remove-finalizers:0.16.0-alpha.0 - public.ecr.aws/v7x5q9o1/admiralty-restarter:0.16.0-alpha.0 + public.ecr.aws/admiralty/admiralty-agent:0.16.0 + public.ecr.aws/admiralty/admiralty-scheduler:0.16.0 + public.ecr.aws/admiralty/admiralty-remove-finalizers:0.16.0 + public.ecr.aws/admiralty/admiralty-restarter:0.16.0 ) for image in "${images[@]}" do @@ -119,10 +119,10 @@ Install Admiralty in each cluster: ```shell script for CLUSTER_NAME in cd us eu do - helm install admiralty oci://public.ecr.aws/v7x5q9o1/admiralty \ + helm install admiralty oci://public.ecr.aws/admiralty/admiralty \ --kube-context kind-$CLUSTER_NAME \ --namespace admiralty --create-namespace \ - --version 0.16.0-alpha.0 \ + --version 0.16.0 \ --wait --debug # --wait to ensure release is ready before next steps # --debug to show progress, for lack of a better way, diff --git a/pipeline.sh b/pipeline.sh index ca58accf..2c614cdc 100755 --- a/pipeline.sh +++ b/pipeline.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright 2020 The Multicluster-Scheduler Authors. +# Copyright 2023 The Multicluster-Scheduler Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -32,4 +32,4 @@ echo "release images" release/images.sh echo "release chart" release/chart.sh -# TODO: create release on GitHub with CRDs +# TODO: create release on GitHub diff --git a/release/chart.sh b/release/chart.sh index 408a6771..54de8e1d 100755 --- a/release/chart.sh +++ b/release/chart.sh @@ -18,7 +18,7 @@ set -euo pipefail # constants -default_registry="public.ecr.aws/v7x5q9o1" +default_registry="public.ecr.aws/admiralty" # environment variables # required diff --git a/release/image.sh b/release/image.sh index afaacaa6..914a4217 100755 --- a/release/image.sh +++ b/release/image.sh @@ -18,7 +18,7 @@ set -euo pipefail # constants -default_registry="public.ecr.aws/v7x5q9o1" +default_registry="public.ecr.aws/admiralty" default_archs="amd64 arm64 ppc64le s390x" # environment variables