Skip to content

Commit afc5ce2

Browse files
committed
docs: Remove manual method
1 parent 493d905 commit afc5ce2

1 file changed

Lines changed: 2 additions & 49 deletions

File tree

migration/main/README.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
from: v0.43
2+
from: v0.46
33
to: main
44
---
55

@@ -36,7 +36,7 @@ to: main
3636

3737
- [ ] Disable alert notifications during the upgrade. e.g using [Alertmanager silences](https://prometheus.io/docs/alerting/latest/alertmanager/#silences).
3838

39-
## Automatic method
39+
## Steps
4040

4141
1. Switch to the main branch and pull the latest changes:
4242

@@ -74,53 +74,6 @@ to: main
7474
./bin/ck8s upgrade both "${CK8S_CLUSTER}" apply
7575
```
7676

77-
## Manual method
78-
79-
> [!warning]
80-
> When running migration snippets manually you must be sure to set the target cluster, this must be set and exported for both the prepare and apply upgrade steps!
81-
82-
1. Set upgrade target
83-
84-
Set to upgrade `both` the service cluster and workload cluster together, or `sc` or `wc` to upgrade them separately.
85-
86-
```bash
87-
export CK8S_CLUSTER="<both|sc|wc>"
88-
```
89-
90-
### Prepare upgrade
91-
92-
> _Non-disruptive, done before maintenance window._
93-
94-
1. Switch to the main branch and pull the latest changes:
95-
96-
```bash
97-
git switch main
98-
git pull
99-
```
100-
101-
1. Update configuration:
102-
103-
This will take a backup into `backups/` before modifying any files.
104-
105-
```bash
106-
./migration/main/prepare/50-init.sh
107-
108-
# Check if any NetworkPolicy IPs need to be updated
109-
./bin/ck8s update-ips "${CK8S_CLUSTER}" dry-run
110-
# Apply the changes if you agree with them
111-
./bin/ck8s update-ips "${CK8S_CLUSTER}" apply
112-
```
113-
114-
### Apply upgrade - _disruptive_
115-
116-
> **Disruptive, done during maintenance window.**
117-
118-
1. Upgrade applications:
119-
120-
```bash
121-
./migration/main/apply/80-apply.sh execute
122-
```
123-
12477
## Postrequisites
12578

12679
- [ ] Ensure the environment is in a good state:

0 commit comments

Comments
 (0)