Skip to content

Commit

Permalink
v0.14.0 changelog and version bump
Browse files Browse the repository at this point in the history
Signed-off-by: adrienjt <[email protected]>
  • Loading branch information
adrienjt committed Sep 15, 2021
1 parent e99ecee commit 0d31925
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 27 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@
-->

## v0.14.0

### New Features

- 8221b3a4 and 3f84b8d0 leader election, enabled by default with 2 replicas per component

### Bugfixes

- 28ba9d2c by refactoring cross-cluster controllers from fan-out to 1-on-1, if a target is unavailable at startup, it
no longer breaks other targets while the corresponding controller is waiting for the target cache to sync (fixed #106)
- 28c126fe and e99eceed allow excluding labels from aggregation on virtual nodes, especially useful on AKS to exclude
`^kubernetes\.azure\.com/cluster=`, so kube-proxy and azure-ip-masq-agent DaemonSet don't create pods for Admiralty
virtual nodes (the manifest of those DaemonSets is reconciled by the add-on manager so adding a node anti-affinity
wasn't an option) (fixed #114)

### Internals

- 9fbada60 e2e tests for k8s versions 1.17 through 1.21 in CI; we don't support 1.22 yet, still working on its long
list of dropped API versions: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22

## v0.13.2

### 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: multicluster-scheduler
version: 0.13.2
version: 0.14.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/multicluster-scheduler
# 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.13.2
appVersion: 0.14.0
#deprecated: Whether this chart is deprecated (optional, boolean)
11 changes: 7 additions & 4 deletions charts/multicluster-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,35 @@ Multicluster-scheduler uses [finalizers](https://kubernetes.io/docs/tasks/access
| nameOverride | string | `""` | Override chart name in object names and labels |
| fullnameOverride | string | `""` | Override chart and release names in object names |
| imagePullSecretName | string | `""` | |
| controllerManager.replicas | integer | `2` | |
| controllerManager.image.repository | string | `"quay.io/admiralty/multicluster-scheduler-agent"` | |
| controllerManager.image.tag | string | `"0.13.2"` | |
| controllerManager.image.tag | string | `"0.14.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 | `"quay.io/admiralty/multicluster-scheduler-scheduler"` | |
| scheduler.image.tag | string | `"0.13.2"` | |
| scheduler.image.tag | string | `"0.14.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 | `"quay.io/admiralty/multicluster-scheduler-remove-finalizers"` | |
| postDeleteJob.image.tag | string | `"0.13.2"` | |
| postDeleteJob.image.tag | string | `"0.14.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 | `"quay.io/admiralty/multicluster-scheduler-remove-finalizers"` | |
| restarter.image.tag | string | `"0.13.2"` | |
| restarter.image.tag | string | `"0.14.0"` | |
| restarter.image.pullPolicy | string | `"IfNotPresent"` | |
| restarter.resources | object | `{}` | |
| restarter.nodeSelector | object | `{}` | |
Expand Down
8 changes: 0 additions & 8 deletions charts/multicluster-scheduler/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ spec:
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
---
{{- if gt .Values.controllerManager.replicas 1 }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
Expand All @@ -80,7 +79,6 @@ spec:
matchLabels: {{ include "selectorLabels" . | nindent 6 }}
component: controller-manager
---
{{- end }}
{{- end }}
{{- if not .Values.debug.proxyScheduler }}
apiVersion: apps/v1
Expand Down Expand Up @@ -136,7 +134,6 @@ spec:
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
---
{{- if gt .Values.scheduler.replicas 1 }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
Expand All @@ -147,7 +144,6 @@ spec:
matchLabels: {{ include "selectorLabels" . | nindent 6 }}
component: proxy-scheduler
---
{{- end }}
{{- end }}
{{- if not .Values.debug.candidateScheduler }}
apiVersion: apps/v1
Expand Down Expand Up @@ -203,7 +199,6 @@ spec:
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
---
{{- if gt .Values.scheduler.replicas 1 }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
Expand All @@ -214,7 +209,6 @@ spec:
matchLabels: {{ include "selectorLabels" . | nindent 6 }}
component: candidate-scheduler
---
{{- end }}
{{- end }}
{{- if not .Values.debug.restarter }}
apiVersion: apps/v1
Expand Down Expand Up @@ -271,7 +265,6 @@ spec:
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
---
{{- if gt .Values.restarter.replicas 1 }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
Expand All @@ -283,4 +276,3 @@ spec:
component: restarter
---
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion docs/operator_guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ custom_edit_url: https://github.com/admiraltyio/admiralty/edit/master/docs/opera
kubectl create namespace admiralty
helm install admiralty admiralty/multicluster-scheduler \
--namespace admiralty \
--version 0.13.2 \
--version 0.14.0 \
--wait
```
4 changes: 2 additions & 2 deletions docs/operator_guide/upgrade_to_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The Admiralty Cloud/Enterprise Helm chart includes the open source cluster agent
1. Install Admiralty Cloud/Enterprise custom resource definitions (CRDs), because Helm [doesn't support](https://github.com/helm/helm/issues/6581) adding CRDs as part of upgrades:
```shell
kubectl apply -f https://artifacts.admiralty.io/admiralty-v0.13.2.crds.yaml
kubectl apply -f https://artifacts.admiralty.io/admiralty-v0.14.0.crds.yaml
```
1. [Download the Admiralty CLI](installation.md#command-line-interface) if not already installed.
Expand All @@ -66,7 +66,7 @@ The Admiralty Cloud/Enterprise Helm chart includes the open source cluster agent
helm repo update
helm upgrade $RELEASE_NAME admiralty/admiralty \
--namespace $NAMESPACE \
--version 0.13.2 \
--version 0.14.0 \
-f values.yaml \
--set accountName=$(admiralty get-account-name) \
--set clusterName=$CLUSTER_NAME
Expand Down
10 changes: 5 additions & 5 deletions docs/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ values={[
quay.io/jetstack/cert-manager-webhook:v0.16.1
quay.io/jetstack/cert-manager-cainjector:v0.16.1
# admiralty open source
quay.io/admiralty/multicluster-scheduler-agent:0.13.2
quay.io/admiralty/multicluster-scheduler-scheduler:0.13.2
quay.io/admiralty/multicluster-scheduler-remove-finalizers:0.13.2
quay.io/admiralty/multicluster-scheduler-restarter:0.13.2
quay.io/admiralty/multicluster-scheduler-agent:0.14.0
quay.io/admiralty/multicluster-scheduler-scheduler:0.14.0
quay.io/admiralty/multicluster-scheduler-remove-finalizers:0.14.0
quay.io/admiralty/multicluster-scheduler-restarter:0.14.0
)
for image in "${images[@]}"
do
Expand Down Expand Up @@ -130,7 +130,7 @@ do
helm install admiralty admiralty/multicluster-scheduler \
--kube-context kind-$CLUSTER_NAME \
--namespace admiralty \
--version 0.13.2 \
--version 0.14.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 docs/tutorials/fargate.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Download the Admiralty CLI if not already installed. We'll use it to register cl
```shell
os=linux # or darwin (i.e., Mac OS X) or windows
arch=amd64 # or arm64, ppc64le, s390x (linux only)
curl -Lo admiralty "https://artifacts.admiralty.io/admiralty-v0.13.2-$os-$arch"
curl -Lo admiralty "https://artifacts.admiralty.io/admiralty-v0.14.0-$os-$arch"
chmod +x admiralty
sudo mv admiralty /usr/local/bin
```
Expand All @@ -140,7 +140,7 @@ do
kubectl create namespace admiralty
helm install admiralty admiralty/admiralty \
--namespace admiralty \
--version v0.13.2 \
--version v0.14.0 \
--set accountName=$(admiralty get-account-name) \
--set clusterName=$cluster_name
done
Expand Down
3 changes: 0 additions & 3 deletions test/e2e/admiralty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ admiralty_setup() {
k $i create namespace admiralty
fi
h $i upgrade --install multicluster-scheduler charts/multicluster-scheduler -n admiralty -f $VALUES \
--set controllerManager.replicas=2 \
--set scheduler.replicas=2 \
--set restarter.replicas=2 \
--set controllerManager.image.repository=multicluster-scheduler-agent \
--set scheduler.image.repository=multicluster-scheduler-scheduler \
--set postDeleteJob.image.repository=multicluster-scheduler-remove-finalizers \
Expand Down

0 comments on commit 0d31925

Please sign in to comment.