Open zetti12345 opened 11 months ago
Hi Peter,
it seems that the debug flag is embedded in the deployment configuration. We would need to use something like --zap-log-level=$LOG_LEVEL
instead so that it can be configured in the Subscription.
As a workaround you can delete the line in the ClusterServiceVersion
Hi,
the OLM Pod is logging like crazy, because its default log level Debug. How can I disable this, it fills up my log storage with 100s of GB for nothing?
1.7004691735061865e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "clusterissuers.cert-manager.io-v1-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.700469173506191e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "bfdprofiles.metallb.io-v1beta1-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735061958e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "challenges.acme.cert-manager.io-v1-edit", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735061998e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "openshift-kube-descheduler-operator-pmt9c-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062044e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:discovery", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062082e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "bfdprofiles.metallb.io-v1beta1-admin", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062132e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "clusterlogforwarders.logging.openshift.io-v1-edit", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062172e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:openshift:openshift-controller-manager:image-trigger-controller", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062215e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "argocds.argoproj.io-v1alpha1-edit", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062256e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "grafanafolders.integreatly.org-v1alpha1-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062304e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "argocds.argoproj.io-v1beta1-admin", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.700469173506235e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "aggregate-olm-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062394e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "orders.acme.cert-manager.io-v1-edit", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062432e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:node-admin", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062478e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "alertingrules.loki.grafana.com-v1-crdview", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062525e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "console", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062568e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "clusterloggings.logging.openshift.io-v1-admin", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062606e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "applicationsets.argoproj.io-v1alpha1-crdview", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062659e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:controller:disruption-controller", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.70046917350627e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:kube-scheduler", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062747e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "kubedeschedulers.operator.openshift.io-v1-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.700469173506279e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:build-strategy-custom", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062833e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "gitopsservices.pipelines.openshift.io-v1alpha1-edit", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062873e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "whereabouts-cni", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062916e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:openshift:aggregate-snapshots-to-storage-admin", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735062964e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "alertingrules.loki.grafana.com-v1-view", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.700469173506301e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:openshift:discovery", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735063047e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "net-attach-def-project", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735063093e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "system:openshift:controller:podsecurity-admission-label-syncer-controller", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"} 1.7004691735063133e+09 DEBUG predicate Skipping reconciliation for dependent resource creation {"name": "prometheus-user-workload-operator", "namespace": "", "apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole"}
Thx and BR Peter