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

OCP 4.1 - prometheus-operator: Deployment in version "v1beta2" cannot be handled as a Deployment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: fuse-7.4-GA
    • Fix Version/s: fuse-7.4-GA
    • Component/s: Fuse on Openshift
    • Labels:
      None
    • Sprint:
      Fuse 7.4 Sprint 49 - Blocker 2

      Description

      Using tags/application-templates-2.1.fuse-740007

      [10/06/19 09:15:19] ~/R/x/xpaas-qe ❯❯❯ oc process -f ../application-templates/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
      serviceaccount/prometheus-operator created
      prometheus.monitoring.coreos.com/prometheus created
      serviceaccount/prometheus created
      role.rbac.authorization.k8s.io/prometheus created
      rolebinding.rbac.authorization.k8s.io/prometheus created
      route.route.openshift.io/prometheus created
      Error from server (BadRequest): Deployment in version "v1beta2" cannot be handled as a Deployment: v1beta2.Deployment.Spec: v1beta2.DeploymentSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Containers: []v1.Container: v1.Container.Ports: []v1.ContainerPort: v1.ContainerPort.ContainerPort: readUint32: unexpected character: �, error found in #10 byte of ...|nerPort":"8080","nam|..., bigger context ...|:"prometheus-operator","ports":[{"containerPort":"8080","name":"http"}],"resources":{"limits":{"cpu"|...
      Error from server (BadRequest): Service in version "v1" cannot be handled as a Service: v1.Service.Spec: v1.ServiceSpec.Ports: []v1.ServicePort: v1.ServicePort.Port: readUint32: unexpected character: �, error found in #10 byte of ...|","port":"9090","pro|..., bigger context ...|llowinge"},"spec":{"ports":[{"name":"web","port":"9090","protocol":"TCP","targetPort":"web"}],"selec|...
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lburgazzoli Luca Burgazzoli
                  Reporter:
                  llowinge Lukáš Löwinger
                  Tester:
                  Lukáš Löwinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: