Skip to content

Commit 7bd7746

Browse files
authored
Merge pull request #749 from mgsharm/release/v1.6.0
Prepare for Release/v1.6.0
2 parents e763b59 + f15b58f commit 7bd7746

File tree

7 files changed

+49
-30
lines changed

7 files changed

+49
-30
lines changed

CHANGELOG.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 1.6.0
2+
## General
3+
4+
Added
5+
* Allow customization of service annotations in Helm values ([#738] thanks @mbovo)
6+
* Allow arbitrary labels and annotations to be added to all or select workloads ([#742] thanks @grumps)
7+
8+
Fixed
9+
* script: use --update=none for mv in publish-charts ([#731])
10+
11+
Misc
12+
* Upgrade dependencies ([#732], [#744])
13+
14+
[#731]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/731
15+
[#732]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/732
16+
[#738]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/738
17+
[#742]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/742
18+
[#744]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/744
19+
120
# 1.5.0
221
## General
322

@@ -274,7 +293,7 @@ Instead of having the independent controller and agent cooperate and pass messag
274293
The agent performs all cluster object mutation operations via the API Server.
275294
[Service Account Token Volume Projection](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection) is used in API Server instead of the usual Kubernetes [rbac](https://kubernetes.io/docs/reference/access-authn-authz/rbac/) system for authorization to limit sufficient permissions for any node being able to modify any other nodes.
276295

277-
Brupop 0.2.0 also integrates with [Prometheus](https://prometheus.io/docs/instrumenting/clientlibs/) by exposing an HTTP endpoint from which Prometheus can gather metrics, allowing customers insight into the actions that the operator is taking.
296+
Brupop 0.2.0 also integrates with [Prometheus](https://prometheus.io/docs/instrumenting/clientlibs/) by exposing an HTTP endpoint from which Prometheus can gather metrics, allowing customers insight into the actions that the operator is taking.
278297

279298

280299
Fixed:
@@ -292,13 +311,13 @@ Removed:
292311
* Deprecated updog platform integration in favor of Bottlerocket API ([#60])
293312

294313
[#74]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/74
295-
[#71]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/71
296-
[#68]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/68
314+
[#71]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/71
315+
[#68]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/68
297316
[#60]: https://github.com/bottlerocket-os/bottlerocket-update-operator/issues/60
298317
[#132]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/132
299318
[#147]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/147
300319
[#101]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/101
301-
[#85]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/85
320+
[#85]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/85
302321

303322
# 0.1.5
304323

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace: "brupop-bottlerocket-aws"
9292

9393
# The image to use for brupop
9494
# This defaults to the image built alongside a particular helm chart, but you can override it by uncommenting this line:
95-
# image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0"
95+
# image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0"
9696

9797
# Placement controls
9898
# See the Kubernetes documentation about placement controls for more details:
@@ -299,8 +299,8 @@ will concurrently update up to `MAX_CONCURRENT_UPDATE` nodes respecting [PodDisr
299299
When `MAX_CONCURRENT_UPDATE` is set to `unlimited`, bottlerocket update operator
300300
will concurrently update all nodes respecting [PodDisruptionBudgets](https://kubernetes.io/docs/tasks/run-application/configure-pdb/).
301301

302-
Note: The `MAX_CONCURRENT_UPDATE` configuration does not work well with `EXCLUDE_FROM_LB_WAIT_TIME_IN_SEC`
303-
configuration, especially when `MAX_CONCURRENT_UPDATE` is set to `unlimited`, it could potentially exclude all
302+
Note: The `MAX_CONCURRENT_UPDATE` configuration does not work well with `EXCLUDE_FROM_LB_WAIT_TIME_IN_SEC`
303+
configuration, especially when `MAX_CONCURRENT_UPDATE` is set to `unlimited`, it could potentially exclude all
304304
nodes from load balancer at the same time.
305305

306306
To enable this feature, set the `max_concurrent_updates` value in your helm values yaml file to a positive integer value or `unlimited`. For example,
@@ -370,7 +370,7 @@ If you still decide to use these settings, please use "hour:00:00" format only i
370370
To enable this feature, set the `update_window_start` and `update_window_stop` values in your helm values yaml file to a `hour:minute:second` formatted value (UTCE 24-hour time notation).
371371
For example: `update_window_start: "08:0:0"` and `update_window_stop: "12:30:0"`.
372372

373-
Otherwise, go to `bottlerocket-update-operator.yaml` and change `UPDATE_WINDOW_START` and `UPDATE_WINDOW_STOP` to a `hour:minute:second` formatted value (UTC (24-hour time notation)).
373+
Otherwise, go to `bottlerocket-update-operator.yaml` and change `UPDATE_WINDOW_START` and `UPDATE_WINDOW_STOP` to a `hour:minute:second` formatted value (UTC (24-hour time notation)).
374374

375375
Note that `UPDATE_WINDOW_START` is inclusive and `UPDATE_WINDOW_STOP` is exclusive.
376376

@@ -415,8 +415,8 @@ kubectl get nodes
415415
```
416416
Make a note of all the node names that you would like the Bottlerocket update operator to manage.
417417

418-
Next, add the `updater-interface-version` label to the nodes.
419-
For each node, use this command to add `updater-interface-version` label.
418+
Next, add the `updater-interface-version` label to the nodes.
419+
For each node, use this command to add `updater-interface-version` label.
420420
Make sure to change `NODE_NAME` with the name collected from the previous command:
421421

422422
```sh
@@ -494,21 +494,21 @@ This view will inform you of the current Bottlerocket version of each node manag
494494
The following command requires `kubectl` to be configured for the desired cluster to be monitored:
495495

496496
``` sh
497-
kubectl get bottlerocketshadows --namespace brupop-bottlerocket-aws
497+
kubectl get bottlerocketshadows --namespace brupop-bottlerocket-aws
498498
```
499499

500500
You can shorten this with:
501501

502502
``` sh
503-
kubectl get brs --namespace brupop-bottlerocket-aws
503+
kubectl get brs --namespace brupop-bottlerocket-aws
504504
```
505505

506506
You should see output akin to the following:
507507

508508
```
509-
$ kubectl get brs --namespace brupop-bottlerocket-aws
509+
$ kubectl get brs --namespace brupop-bottlerocket-aws
510510
NAME STATE VERSION TARGET STATE TARGET VERSION
511-
brs-node-1 Idle 1.5.2 Idle
511+
brs-node-1 Idle 1.5.2 Idle
512512
brs-node-2 Idle 1.5.1 StagedUpdate 1.5.2
513513
```
514514

@@ -529,19 +529,19 @@ Now that Prometheus is running in the cluster, you can use the UI provided to vi
529529
Get the Prometheus pod name (e.g. `prometheus-deployment-5554fd6fb5-8rm25`):
530530

531531
```sh
532-
kubectl get pods --namespace brupop-bottlerocket-aws
532+
kubectl get pods --namespace brupop-bottlerocket-aws
533533
```
534534

535535
Set up port forwarding to access Prometheus on the cluster:
536536

537537
```sh
538-
kubectl port-forward $prometheus-pod-name 9090:9090 --namespace brupop-bottlerocket-aws
538+
kubectl port-forward $prometheus-pod-name 9090:9090 --namespace brupop-bottlerocket-aws
539539
```
540540

541541
Point your browser to `localhost:9090/graph` to access the sample Prometheus UI.
542542

543543
Search for:
544-
* `brupop_hosts_state` to check how many hosts are in each state.
544+
* `brupop_hosts_state` to check how many hosts are in each state.
545545
* `brupop_hosts_version` to check how many hosts are in each Bottlerocket version.
546546

547547

@@ -596,13 +596,13 @@ Because mutations to a node are orchestrated through the API server component, s
596596
To get logs for the API server, run the following:
597597

598598
```sh
599-
kubectl logs deployment/brupop-apiserver --namespace brupop-bottlerocket-aws
599+
kubectl logs deployment/brupop-apiserver --namespace brupop-bottlerocket-aws
600600
```
601601

602602
The controller logs will usually not help troubleshoot issues about the state of updates in a cluster, but they can similarly be fetched:
603603

604604
```sh
605-
kubectl logs deployment/brupop-controller-deployment --namespace brupop-bottlerocket-aws
605+
kubectl logs deployment/brupop-controller-deployment --namespace brupop-bottlerocket-aws
606606
```
607607

608608
### Why are updates stuck in my cluster?
@@ -625,7 +625,7 @@ kubectl get pods --selector=brupop.bottlerocket.aws/component=agent -o wide --na
625625
Then fetch the logs for that agent:
626626

627627
```sh
628-
kubectl logs brupop-agent-podname --namespace brupop-bottlerocket-aws
628+
kubectl logs brupop-agent-podname --namespace brupop-bottlerocket-aws
629629
```
630630

631631
### Why are my bottlerocket nodes egressing to `https://updates.bottlerocket.aws`?

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.5.0
1+
v1.6.0

bottlerocket-update-operator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ spec:
540540
value: "true"
541541
- name: TRACING_FILTER_DIRECTIVE
542542
value: "info"
543-
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0
543+
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0
544544
name: brupop
545545
resources:
546546
limits:
@@ -647,7 +647,7 @@ spec:
647647
value: "true"
648648
- name: TRACING_FILTER_DIRECTIVE
649649
value: "info"
650-
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0
650+
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0
651651
livenessProbe:
652652
httpGet:
653653
path: /ping
@@ -738,7 +738,7 @@ spec:
738738
value: "true"
739739
- name: TRACING_FILTER_DIRECTIVE
740740
value: "info"
741-
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0
741+
image: public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0
742742
name: brupop
743743
resources:
744744
limits:
@@ -747,7 +747,7 @@ spec:
747747
cpu: 10m
748748
memory: 40Mi
749749
priorityClassName: "brupop-controller-high-priority"
750-
750+
751751
serviceAccountName: brupop-controller-service-account
752752
---
753753
# Source: bottlerocket-update-operator/templates/cert-manager-agent-cert.yaml

deploy/charts/bottlerocket-update-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for the Bottlerocket Update Operator
44
home: https://github.com/bottlerocket-os/bottlerocket-update-operator
55
icon: https://avatars.githubusercontent.com/u/61023959?s=200&v=4
66
type: application
7-
version: 1.5.0
8-
appVersion: "1.5.0"
7+
version: 1.6.0
8+
appVersion: "1.6.0"
99
sources:
1010
- https://github.com/bottlerocket-os/bottlerocket-update-operator

deploy/charts/bottlerocket-update-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The following configuration values are supported:
7878
namespace: "brupop-bottlerocket-aws"
7979

8080
# The image to use for brupop
81-
image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0"
81+
image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0"
8282

8383
# Provide pod level labels and annotations for all brupop workloads
8484
podLabels: {}

deploy/charts/bottlerocket-update-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace: "brupop-bottlerocket-aws"
55

66
# The image to use for brupop
7-
image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.5.0"
7+
image: "public.ecr.aws/bottlerocket/bottlerocket-update-operator:v1.6.0"
88

99
# Placement controls
1010
# See the Kubernetes documentation about placement controls for more details:
@@ -56,7 +56,7 @@ placement:
5656

5757
# External load balancer setting.
5858
# When `exclude_from_lb_wait_time_in_sec` is set to positive value
59-
# brupop will exclude the node from load balancer and
59+
# brupop will exclude the node from load balancer and
6060
# wait for `exclude_from_lb_wait_time_in_sec` seconds before draining node.
6161
exclude_from_lb_wait_time_in_sec: "0"
6262

0 commit comments

Comments
 (0)