Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15125

DO280-4.14: DO0019L: compreview-apps: beeper-api pod cannot be created (RHT2395900)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • DO280 - DO280-O4.14-en-3-20250404, DO0019L - RHOCP4.x NEXT
    • DO0019L, DO280
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/do0019l-4.14/pages/ch01s03
      Reporter RHNID: rh-ee-tshi
      Section Title:               Lab: Secure Applications                                                         

      Issue description

      beeper-api pod cannot be created in this GE

      Steps to reproduce:

      oc create namespace workshop-support

      oc label namespace workshop-support category=support

      oc adm policy add-cluster-role-to-group admin workshop-support

      oc create quota workshop-support --hard=limits.cpu=4,limits.memory=4Gi,requests.cpu=3500m,requests.memory=3Gi -n workshop-support

      Create a yaml file : limit-range.yaml

      apiVersion: v1
      kind: LimitRange
      metadata:
        name: workshop-support
      spec:
        limits:
        - default:
            cpu: 300m
            memory: 400Mi
          defaultRequest:
            cpu: 100m
            memory: 250Mi
          type: Container

       

      oc apply -f limit-range.yaml -n workshop-support

      oc create sa project-cleaner-sa -n workshop-support

      oc apply -f project-cleaner/cluster-role.yaml

      oc adm policy add-cluster-role-to-user project-cleaner -z project-cleaner-sa

      oc adm policy add-role-to-user project-cleaner -z project-cleaner-sa -n workshop-support

      oc apply -f project-cleaner/example-pod.yaml -n workshop-support

      oc apply -f beeper-api/beeper-db.yaml -n workshop-support
      oc apply -f beeper-api/deployment.yaml -n workshop-support

      oc create secret tls beeper-api-tls --cert=certs/beeper-api.pem --key=certs/beeper-api.key -n workshop-support

       

      Change the deployment.yaml and apply it 

      oc create route passthrough beeper-api-route --service=beeper-api --hostname beeper-api.apps.ocp4.example.com -n workshop-support

       

      The beeper api won't up.

      Workaround:

      No workaround yet

      Expected result:
      Finish this GE perfectly

              rht-anhernan Andres Hernandez
              rh-ee-tshi Tianting Shi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: