Skip to content

Commit

Permalink
release 0.16.0
Browse files Browse the repository at this point in the history
- version bump
- changelog
- got ECR registry alias

Signed-off-by: adrienjt <adrienjt@users.noreply.github.com>
  • Loading branch information
adrienjt committed Nov 4, 2023
1 parent ccc3899 commit a56ffa4
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 26 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/multicluster-scheduler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
16 changes: 8 additions & 8 deletions charts/multicluster-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@ 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 | `{}` | |
| controllerManager.securityContext | object | `{}` | |
| 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 | `{}` | |
| postDeleteJob.securityContext | object | `{}` | |
| 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 | `{}` | |
Expand Down
8 changes: 4 additions & 4 deletions charts/multicluster-scheduler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand All @@ -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: {}
Expand All @@ -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: {}
Expand All @@ -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: {}
Expand Down
4 changes: 2 additions & 2 deletions docs/operator_guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
12 changes: 6 additions & 6 deletions docs/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions pipeline.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion release/chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
set -euo pipefail

# constants
default_registry="public.ecr.aws/v7x5q9o1"
default_registry="public.ecr.aws/admiralty"

# environment variables
# required
Expand Down
2 changes: 1 addition & 1 deletion release/image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a56ffa4

Please sign in to comment.