Skip to content

Commit

Permalink
release: v0.1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Vallejo <jakeev@amazon.com>
  • Loading branch information
jahkeup committed Aug 20, 2020
1 parent cb419df commit 917e39e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# 0.1.4

* Use bottlerocket update API to drive updates [#35]

To use the update API, nodes must be labeled with the `2.0.0` interface version:

```
bottlerocket.aws/updater-interface-version=2.0.0
```

To configure the use of the update API on all nodes in a cluster:

1. Ensure desired nodes are on bottlerocket `v0.4.1` or later

2. Set the `updater-interface-version` to `2.0.0` on nodes:

```bash
kubectl label node --overwrite=true $(kubectl get nodes -o jsonpath='{.items[*].metadata.name}') bottlerocket.aws/updater-interface-version=2.0.0
```

[#35]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/35

# 0.1.3

* Add missing backtick in README instructions ([#25])
Expand Down Expand Up @@ -30,4 +52,4 @@ kubectl label nodes --all "bottlerocket.aws/platform-version"-

Initial release of **bottlerocket-update-operator** - a Kubernetes operator that coordinates Bottlerocket updates on hosts in a cluster..

See the [README](README.md) for additional information.
See the [README](README.md) for additional information.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.3
v0.1.4
2 changes: 2 additions & 0 deletions dev/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ spec:
operator: In
values:
- amd64
- arm64
# Avoid update-operator's Agent Pods if possible.
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -162,6 +163,7 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
Expand Down
13 changes: 8 additions & 5 deletions update-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ spec:
operator: In
values:
- amd64
- arm64
# Avoid update-operator's Agent Pods if possible.
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -118,7 +119,7 @@ spec:
containers:
- name: controller
# TODO Update this field to the new version that supports update API once that's released
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
args:
- -controller
Expand All @@ -130,8 +131,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
# This DaemonSet is for Bottlerocket hosts that support updates through the Bottlerocket API
---
# This DaemonSet is for Bottlerocket hosts that support updates through the Bottlerocket API
apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand Down Expand Up @@ -166,11 +167,12 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
# TODO Update this field to the new version that supports update API once that's released
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
args:
- -agent
Expand All @@ -196,8 +198,8 @@ spec:
hostPath:
path: /run/api.sock
type: Socket
# This DaemonSet is for Bottlerocket hosts that can only support updates through updog
---
# This DaemonSet is for Bottlerocket hosts that can only support updates through updog
apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand Down Expand Up @@ -232,10 +234,11 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
# XXX: tty required to exec binaries that use `simplelog` until https://github.com/bottlerocket-os/bottlerocket/issues/576 is resolved.
tty: true
Expand Down

0 comments on commit 917e39e

Please sign in to comment.