Skip to content

Commit 0e8b7db

Browse files
authored
docs: add manual Istio sidecar update instructions for v4.7.0 or higher (#122)
1 parent c659b42 commit 0e8b7db

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@
108108
"uxqf",
109109
"xvjf",
110110
"initdb",
111-
"creds"
111+
"creds",
112+
"proxyv"
112113
],
113114
"language": "en",
114115
"words": [

docs/for-ops/upgrade-notes.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,65 @@ sidebar_label: Upgrade Notes
88

99
In some cases between versions upgrades there are issues that can occur, on this page you will find fixes on how to deal with those issues.
1010

11+
## v4.7.0
12+
13+
### Manual Istio Sidecar Updates Required
14+
15+
Due to an issue with automatic Istio sidecar restarts for certain pod types, manual intervention is required after upgrading Istio to ensure all pods have the latest sidecar version.
16+
17+
#### Affected Pod Types
18+
19+
The following pod types require manual restart after Istio upgrades:
20+
21+
1. TTY pods (standalone pods without controllers)
22+
2. Tekton EventListener pods (managed by Tekton controllers)
23+
24+
#### Manual Restart Procedures
25+
26+
**For TTY Pods:**
27+
28+
TTY pods are standalone and will not be recreated automatically when deleted. Handle with care:
29+
30+
```shell
31+
# Delete all TTY pods (WARNING: This will terminate TTY sessions for any connected users)
32+
kubectl delete pods -A -l otomi=tty
33+
```
34+
35+
:::warning
36+
Deleting TTY pods will disconnect any active user sessions and the pods will NOT be recreated automatically. Users will need to create a new TTY session through the UI. Coordinate with users before performing this action.
37+
:::
38+
39+
**For Tekton EventListener Pods:**
40+
41+
EventListener pods will be automatically recreated by the Tekton controller:
42+
43+
```shell
44+
# Delete all EventListener pods (safe - will be recreated automatically)
45+
kubectl delete pods -A -l app.kubernetes.io/managed-by=EventListener
46+
```
47+
48+
:::note
49+
The Tekton controller will automatically recreate the pod with the new Istio sidecar.
50+
:::
51+
52+
#### Verification
53+
54+
After restarting pods, verify they have the correct Istio sidecar version:
55+
56+
```shell
57+
# Get the current Istio version for comparison
58+
echo "=== Current Istio Version ==="
59+
kubectl get deployment -n istio-system -l app=istiod -o jsonpath='{.items[0].spec.template.spec.containers[0].image}' | cut -d: -f2
60+
61+
echo ""
62+
echo "=== TTY Pods Sidecar Versions ==="
63+
kubectl get pods -A -l otomi=tty -o jsonpath='{range .items[*]}{.metadata.namespace}{"\t"}{.metadata.name}{"\t"}{.spec.containers[?(@.image contains "istio/proxyv2")].image}{"\n"}{end}' | column -t
64+
65+
echo ""
66+
echo "=== EventListener Pods Sidecar Versions ==="
67+
kubectl get pods -A -l app.kubernetes.io/managed-by=EventListener -o jsonpath='{range .items[*]}{.metadata.namespace}{"\t"}{.metadata.name}{"\t"}{.spec.containers[?(@.image contains "istio/proxyv2")].image}{"\n"}{end}' | column -t
68+
```
69+
1170
## v4.4.4 to v4.7.0 or higher
1271

1372
From v4.4.4 to a higher version there might occur an issue with the harbor redis, which results in the harbor-redis-0 pod restarting indefinitely.

0 commit comments

Comments
 (0)