wanjunlei
kubectl edit outputs.logging.kubesphere.io -n kubesphere-logging-system 这个是已经修改了
kubectl get po -n kubesphere-logging-system fluentbit-operator存在
重启fluentbit-operator fluent-bit 没有启起来
kubectl logs fluentbit-operator-59dbfb54c5-njfrr -n kubesphere-logging-system
2021-01-21T02:51:21.128Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": ":8080"}
2021-01-21T02:51:21.128Z INFO setup starting manager
2021-01-21T02:51:21.222Z INFO controller-runtime.manager starting metrics server {"path": "/metrics"}
2021-01-21T02:51:22.323Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbitconfig", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.323Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbit", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.423Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbitconfig", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.424Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbit", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.424Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbit", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.424Z INFO controller-runtime.controller Starting Controller {"controller": "fluentbit"}
2021-01-21T02:51:22.424Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbitconfig", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.424Z INFO controller-runtime.controller Starting workers {"controller": "fluentbit", "worker count": 1}
2021-01-21T02:51:22.524Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbitconfig", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.625Z INFO controller-runtime.controller Starting EventSource {"controller": "fluentbitconfig", "source": "kind source: /, Kind="}
2021-01-21T02:51:22.725Z INFO controller-runtime.controller Starting Controller {"controller": "fluentbitconfig"}
2021-01-21T02:51:22.725Z INFO controller-runtime.controller Starting workers {"controller": "fluentbitconfig", "worker count": 1}
2021-01-21T02:51:22.733Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/fluent-bit-config"}
2021-01-21T02:51:22.736Z ERROR controller-runtime.controller Reconciler error {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/tail", "error": "Operation cannot be fulfilled on secrets \"fluent-bit-config\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/go-logr/zapr.(*zapLogger).Error
/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:258
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:88
2021-01-21T02:51:23.742Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/tail-events"}
2021-01-21T02:51:23.744Z ERROR controller-runtime.controller Reconciler error {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/filter-events", "error": "Operation cannot be fulfilled on secrets \"fluent-bit-config\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/go-logr/zapr.(*zapLogger).Error
/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:258
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
/go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:88
2021-01-21T02:51:24.752Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/kubernetes"}
2021-01-21T02:51:24.758Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/es"}
2021-01-21T02:51:24.759Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/es-events"}
2021-01-21T02:51:24.765Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/fluent-bit-config"}
2021-01-21T02:51:24.775Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/tail"}
2021-01-21T02:51:24.776Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/filter-events"}
2021-01-21T02:51:24.776Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "fluentbitconfig", "request": "kubesphere-logging-system/fluent-bit-config"}