You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release_process.md
+79-11Lines changed: 79 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,20 @@ These are notes to help follow a consistent release process. See something
4
4
important missing? Please submit a pull request to add anything else that would
5
5
be useful!
6
6
7
+
## Prerequisites
8
+
9
+
Ensure access to the container image [staging registry](https://console.cloud.google.com/gcr/images/k8s-staging-npd/global/node-problem-detector).
10
+
Add email to `k8s-infra-staging-npd` group in sig-node [groups.yaml](https://github.com/kubernetes/k8s.io/blob/main/groups/sig-node/groups.yaml).
11
+
See example https://github.com/kubernetes/k8s.io/pull/1599.
12
+
7
13
## Preparing for a release
8
14
9
15
There are a few steps that should be taken prior to creating the actual release
10
16
itself.
11
17
12
18
1. Collect changes since last release. This can be done by looking directly at
13
19
merged commit messages (``git log [last_release_tag]...HEAD``), or by
docker image ls gcr.io/k8s-staging-npd/node-problem-detector --digests
76
+
```
77
+
78
+
### Promote new NPD image to registry.k8s.io
79
+
1. Get the SHA256 from the new NPD image from the [staging registry](https://console.cloud.google.com/gcr/images/k8s-staging-npd/global/node-problem-detector)
80
+
or previous step.
81
+
2. Promote the NPD image to registry.k8s.io ([images.yaml](https://github.com/kubernetes/k8s.io/blob/main/registry.k8s.io/images/k8s-staging-npd/images.yaml), example https://github.com/kubernetes/k8s.io/pull/6523).
1. Update image version in[deployment/node-problem-detector.yaml](https://github.com/kubernetes/node-problem-detector/blob/422c088d623488be33aa697588655440c4e6a063/deployment/node-problem-detector.yaml#L32), so anyone deploying
111
+
directly from the repo deployment file will get the newest image deployed.
45
112
46
-
Update the image version in the deployment file so anyone deploying directly
47
-
from the repo deployment file will get the newest image deployed.
113
+
2. Update the NPD version in [kubernetes/kubernetes](https://github.com/kubernetes/kubernetes)
114
+
repo, so that kubernetes clusters use the new NPD version. Example
0 commit comments