Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12941

prometheus doesn't work with OCP 4.4

XMLWordPrintable

    • % %
    • Hide

      Using tags/application-templates-2.1.fuse-750056-redhat-00006

      oc create -f fuse-prometheus-crd.yml
      Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml": customresourcedefinitions.apiextensions.k8s.io "prometheusrules.monitoring.coreos.com" already exists
      Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml": customresourcedefinitions.apiextensions.k8s.io "servicemonitors.monitoring.coreos.com" already exists
      Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml": customresourcedefinitions.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" already exists
      Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml": customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" already exists
      [7/02/20 17:05:39] ~/R/x/application-templates ❯❯❯ oc process -f fuse-prometheus-operator.yml  -p NAMESPACE=llowinge | oc create -f -
      rolebinding.rbac.authorization.k8s.io/prometheus-operator created
      role.rbac.authorization.k8s.io/prometheus-operator created
      error: unable to recognize no matches for kind "Deployment" in version "apps/v1beta2"
      
      Show
      Using tags/application-templates-2.1.fuse-750056-redhat-00006 oc create -f fuse-prometheus-crd.yml Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml" : customresourcedefinitions.apiextensions.k8s.io "prometheusrules.monitoring.coreos.com" already exists Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml" : customresourcedefinitions.apiextensions.k8s.io "servicemonitors.monitoring.coreos.com" already exists Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml" : customresourcedefinitions.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" already exists Error from server (AlreadyExists): error when creating "fuse-prometheus-crd.yml" : customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" already exists [7/02/20 17:05:39] ~/R/x/application-templates ❯❯❯ oc process -f fuse-prometheus- operator .yml -p NAMESPACE=llowinge | oc create -f - rolebinding.rbac.authorization.k8s.io/prometheus- operator created role.rbac.authorization.k8s.io/prometheus- operator created error: unable to recognize no matches for kind "Deployment" in version "apps/v1beta2"

          abrianik Alexandre Briani Kieling
          llowinge@redhat.com Lukas Lowinger
          Lukas Lowinger Lukas Lowinger
          Votes:
          0 Vote for this issue
          Watchers:
          8 Start watching this issue

            Created:
            Updated:
            Resolved: