Skip to content

Commit 03d44d5

Browse files
committed
change namespace
Signed-off-by: chengdehao <[email protected]>
1 parent da7c5e1 commit 03d44d5

File tree

83 files changed

+170
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+170
-173
lines changed

README.md

+38-37
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,19 @@ The default runtime is docker, you can choose other runtimes as follows.
145145
If your container runtime is `containerd`:
146146

147147
```shell
148-
helm install fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set containerRuntime=containerd
148+
helm install fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set containerRuntime=containerd
149149
```
150150

151151
If your container runtime is `cri-o`:
152152

153153
```shell
154-
helm install fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set containerRuntime=crio
154+
helm install fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set containerRuntime=crio
155155
```
156156

157157
Install through the online chart link:
158158

159159
```shell
160-
helm install fluent-operator --create-namespace -n kubesphere-logging-system https://github.com/fluent/fluent-operator/releases/download/< version >/fluent-operator.tgz
160+
helm install fluent-operator --create-namespace -n fluent https://github.com/fluent/fluent-operator/releases/download/< version >/fluent-operator.tgz
161161
```
162162

163163
> Please replace < version > with a actual version like v1.0.0
@@ -212,7 +212,7 @@ metadata:
212212
spec:
213213
watchedNamespaces:
214214
- kube-system
215-
- kubesphere-monitoring-system
215+
- default
216216
clusterOutputSelector:
217217
matchLabels:
218218
output.fluentd.fluent.io/enabled: "true"
@@ -225,7 +225,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
225225
kind: FluentdConfig
226226
metadata:
227227
name: fluentd-config
228-
namespace: kubesphere-logging-system
228+
namespace: fluent
229229
labels:
230230
config.fluentd.fluent.io/enabled: "true"
231231
spec:
@@ -257,39 +257,39 @@ kubectl apply -f manifests/logging-stack
257257
If your container runtime is `docker`
258258

259259
```shell
260-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=docker
260+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=docker
261261
```
262262

263263
If your container runtime is `containerd`
264264

265265
```shell
266-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=containerd
266+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=containerd
267267
```
268268

269269
If your container runtime is `cri-o`
270270

271271
```shell
272-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=crio
272+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=crio
273273
```
274274

275275
If you want to install the fluentd plugin, you can execute the following command:
276276

277277
If your container runtime is `docker`
278278

279279
```shell
280-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=docker,fluentd.enable=true
280+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=docker,fluentd.enable=true
281281
```
282282

283283
If your container runtime is `containerd`
284284

285285
```shell
286-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=containerd,fluentd.enable=true
286+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=containerd,fluentd.enable=true
287287
```
288288

289289
If your container runtime is `cri-o`
290290

291291
```shell
292-
helm upgrade fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/ --set Kubernetes=true,containerRuntime=crio,fluentd.enable=true
292+
helm upgrade fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set Kubernetes=true,containerRuntime=crio,fluentd.enable=true
293293
```
294294

295295
Within a couple of minutes, you should observe an index available:
@@ -342,7 +342,7 @@ metadata:
342342
spec:
343343
matchRegex: (?:kube|service)\.(.*)
344344
forward:
345-
host: fluentd-forward.kubesphere-logging-system.svc
345+
host: fluentd.fluent.svc
346346
port: 24224
347347
EOF
348348
```
@@ -357,7 +357,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
357357
kind: Fluentd
358358
metadata:
359359
name: fluentd
360-
namespace: kubesphere-logging-system
360+
namespace: fluent
361361
labels:
362362
app.kubernetes.io/name: fluentd
363363
spec:
@@ -381,7 +381,7 @@ metadata:
381381
spec:
382382
watchedNamespaces:
383383
- kube-system
384-
- kubesphere-monitoring-system
384+
- default
385385
clusterOutputSelector:
386386
matchLabels:
387387
output.fluentd.fluent.io/enabled: "true"
@@ -411,7 +411,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
411411
kind: Fluentd
412412
metadata:
413413
name: fluentd
414-
namespace: kubesphere-logging-system
414+
namespace: fluent
415415
labels:
416416
app.kubernetes.io/name: fluentd
417417
spec:
@@ -430,7 +430,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
430430
kind: FluentdConfig
431431
metadata:
432432
name: fluentd-config
433-
namespace: kubesphere-logging-system
433+
namespace: fluent
434434
labels:
435435
config.fluentd.fluent.io/enabled: "true"
436436
spec:
@@ -443,7 +443,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
443443
kind: Output
444444
metadata:
445445
name: fluentd-output-es
446-
namespace: kubesphere-logging-system
446+
namespace: fluent
447447
labels:
448448
output.fluentd.fluent.io/enabled: "true"
449449
spec:
@@ -464,7 +464,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
464464
kind: Fluentd
465465
metadata:
466466
name: fluentd
467-
namespace: kubesphere-logging-system
467+
namespace: fluent
468468
labels:
469469
app.kubernetes.io/name: fluentd
470470
spec:
@@ -488,7 +488,7 @@ metadata:
488488
spec:
489489
watchedNamespaces:
490490
- kube-system
491-
- kubesphere-monitoring-system
491+
- default
492492
clusterOutputSelector:
493493
matchLabels:
494494
output.fluentd.fluent.io/enabled: "true"
@@ -498,7 +498,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
498498
kind: FluentdConfig
499499
metadata:
500500
name: fluentd-config
501-
namespace: kubesphere-logging-system
501+
namespace: fluent
502502
labels:
503503
config.fluentd.fluent.io/enabled: "true"
504504
spec:
@@ -531,7 +531,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
531531
kind: Fluentd
532532
metadata:
533533
name: fluentd
534-
namespace: kubesphere-logging-system
534+
namespace: fluent
535535
labels:
536536
app.kubernetes.io/name: fluentd
537537
spec:
@@ -550,7 +550,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
550550
kind: FluentdConfig
551551
metadata:
552552
name: fluentd-config-user1
553-
namespace: kubesphere-logging-system
553+
namespace: fluent
554554
labels:
555555
config.fluentd.fluent.io/enabled: "true"
556556
spec:
@@ -573,7 +573,7 @@ metadata:
573573
spec:
574574
watchedNamespaces:
575575
- kube-system
576-
- kubesphere-system
576+
- default
577577
clusterOutputSelector:
578578
matchLabels:
579579
output.fluentd.fluent.io/enabled: "true"
@@ -584,7 +584,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
584584
kind: Output
585585
metadata:
586586
name: fluentd-output-user1
587-
namespace: kubesphere-logging-system
587+
namespace: fluent
588588
labels:
589589
output.fluentd.fluent.io/enabled: "true"
590590
output.fluentd.fluent.io/user: "user1"
@@ -638,7 +638,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
638638
kind: Fluentd
639639
metadata:
640640
name: fluentd
641-
namespace: kubesphere-logging-system
641+
namespace: fluent
642642
labels:
643643
app.kubernetes.io/name: fluentd
644644
spec:
@@ -662,7 +662,7 @@ metadata:
662662
spec:
663663
watchedNamespaces:
664664
- kube-system
665-
- kubesphere-monitoring-system
665+
- default
666666
clusterFilterSelector:
667667
matchLabels:
668668
filter.fluentd.fluent.io/enabled: "true"
@@ -707,7 +707,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
707707
kind: Fluentd
708708
metadata:
709709
name: fluentd
710-
namespace: kubesphere-logging-system
710+
namespace: fluent
711711
labels:
712712
app.kubernetes.io/name: fluentd
713713
spec:
@@ -731,7 +731,7 @@ metadata:
731731
spec:
732732
watchedNamespaces:
733733
- kube-system
734-
- kubesphere-monitoring-system
734+
- default
735735
clusterOutputSelector:
736736
matchLabels:
737737
output.fluentd.fluent.io/enabled: "true"
@@ -761,7 +761,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
761761
kind: Fluentd
762762
metadata:
763763
name: fluentd
764-
namespace: kubesphere-logging-system
764+
namespace: fluent
765765
labels:
766766
app.kubernetes.io/name: fluentd
767767
spec:
@@ -785,7 +785,7 @@ metadata:
785785
spec:
786786
watchedNamespaces:
787787
- kube-system
788-
- kubesphere-monitoring-system
788+
- default
789789
clusterFilterSelector:
790790
matchLabels:
791791
filter.fluentd.fluent.io/enabled: "true"
@@ -840,7 +840,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
840840
kind: Fluentd
841841
metadata:
842842
name: fluentd-http
843-
namespace: kubesphere-logging-system
843+
namespace: fluent
844844
labels:
845845
app.kubernetes.io/name: fluentd
846846
spec:
@@ -859,7 +859,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
859859
kind: FluentdConfig
860860
metadata:
861861
name: fluentd-config
862-
namespace: kubesphere-logging-system
862+
namespace: fluent
863863
labels:
864864
config.fluentd.fluent.io/enabled: "true"
865865
spec:
@@ -875,7 +875,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
875875
kind: Filter
876876
metadata:
877877
name: fluentd-filter
878-
namespace: kubesphere-logging-system
878+
namespace: fluent
879879
labels:
880880
filter.fluentd.fluent.io/enabled: "true"
881881
spec:
@@ -887,7 +887,7 @@ apiVersion: fluentd.fluent.io/v1alpha1
887887
kind: Output
888888
metadata:
889889
name: fluentd-stdout
890-
namespace: kubesphere-logging-system
890+
namespace: fluent
891891
labels:
892892
output.fluentd.fluent.io/enabled: "true"
893893
spec:
@@ -911,10 +911,11 @@ When you use the fluent-operator, You can enable this from `FluentBitConfig` man
911911

912912
```yaml
913913
apiVersion: fluentbit.fluent.io/v1alpha2
914-
kind: FluentBitConfig
914+
kind: ClusterFluentBitConfig
915915
metadata:
916916
name: fluent-bit-config
917-
namespace: logging-system
917+
labels:
918+
app.kubernetes.io/name: fluent-bit
918919
spec:
919920
filterSelector:
920921
matchLabels:
@@ -1076,7 +1077,7 @@ Check out the demo in the folder `/manifests/regex-parser` for how to use a cust
10761077
- [x] Support containerd log format
10771078
- [x] Add Fluentd CRDs as the log aggregation layer with group name `fluentd.fluent.io`
10781079
- [x] Add FluentBit Cluster CRDs with new group name `fluentbit.fluent.io`
1079-
- [ ] Rename the entire project to Fluent Operator
1080+
- [x] Rename the entire project to Fluent Operator
10801081
- [ ] Support more Fluentd & FluentBit plugins
10811082

10821083
## Development

apis/fluentbit/v1alpha2/plugins/filter/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentbit/v1alpha2/plugins/input/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentbit/v1alpha2/plugins/output/zz_generated.deepcopy.go

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentbit/v1alpha2/plugins/parser/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentbit/v1alpha2/plugins/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentbit/v1alpha2/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/fluentd/v1alpha1/plugins/common/zz_generated.deepcopy.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)