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: charts/fluent-operator/MIGRATION-v4.md
+14-46Lines changed: 14 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,37 +68,32 @@ The operator initContainer has been removed.
68
68
memory: 64Mi
69
69
```
70
70
71
-
### 3. Log Path Configuration Simplified
71
+
### 3. Log Path Configuration Removed
72
72
73
73
**What Changed:**
74
74
75
75
- Removed `operator.logPath.containerd` and `operator.logPath.crio`
76
-
- Added new `operator.containerLogPath` for direct path specification
76
+
- Removed ability to configure custom log paths
77
+
- Log paths are now determined automatically based on `containerRuntime`
77
78
78
79
**Impact:**
79
80
80
-
- Old logPath configuration is ignored
81
-
- New configuration accepts full path to container logs (not just root directory)
81
+
- Old `operator.logPath.*` configuration is ignored
82
+
- Custom log paths via `operator.containerLogPath` are no longer supported
83
+
- Each container runtime uses its standard default path
82
84
83
85
**Who Is Affected:**
84
86
85
87
- Users who set custom paths via `operator.logPath.containerd` or `operator.logPath.crio`
88
+
- Users with non-standard container log directory locations
86
89
87
90
**Migration:**
88
91
89
-
90
-
In v3 the root directory was specified for the log path. In v4 this will be the full path to the container logs folder.
91
-
92
-
```diff
93
-
operator:
94
-
- logPath:
95
-
- containerd: /var/log
96
-
+ containerLogPath: "/var/log/containers"
97
-
```
92
+
If you were using custom log paths, you must ensure your container runtime uses the standard default paths shown below, or adjust your container runtime configuration to use these standard paths.
98
93
99
94
## Default Paths by Runtime
100
95
101
-
v4.0 uses the following default paths when `operator.containerLogPath` is not explicitly set:
96
+
v4.0 uses the following default paths based on the configured `containerRuntime`:
102
97
103
98
| Container Runtime | Default Path |
104
99
|-------------------|--------------|
@@ -131,7 +126,7 @@ containerRuntime: crio
131
126
# Default path /var/log/containers works for most CRI-O installations
132
127
```
133
128
134
-
### Scenario 3: Using Docker with Standard Paths
129
+
### Scenario 3: Using Docker
135
130
136
131
```yaml
137
132
# v3.x
@@ -140,37 +135,10 @@ containerRuntime: docker
140
135
141
136
# v4.0 - Must explicitly set runtime
142
137
containerRuntime: docker
143
-
# Default /var/lib/docker/containers works for standard Docker installations
144
-
# No need to set operator.containerLogPath
145
-
```
146
-
147
-
### Scenario 4: Using Docker with Custom Paths
148
-
149
-
```yaml
150
-
# v3.x
151
-
containerRuntime: docker
152
-
# (used initContainer to detect custom docker root)
0 commit comments