Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator should show appropriate status of Korrel8r #8

Open
vprashar2929 opened this issue Apr 8, 2024 · 1 comment
Open

Operator should show appropriate status of Korrel8r #8

vprashar2929 opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@vprashar2929
Copy link
Contributor

When the Korrel8r instance is created with default configuration from the Operator v0.5.10 against OpenShift 4.15 the Korrel8r pods get into CrashLoopBackOff state. When we do oc get korrel8rs.korrel8r.openshift.io -n korrel8r korrel8r -o yaml to check the status then it states the status as True and type as Available. Ideally, it should show the correct status in the case of pods being in CrashLoopBackOff state it can state something like This instance of Korrel8r is invalid

oc get pods -n korrel8r
NAME                                                              READY   STATUS             RESTARTS         AGE
3438e8acc38f112533a0bfe423e3bdcda7e582350881fbda5870f9cdfefvjkp   0/1     Completed          0                5h37m
korrel8r-77c85c64f6-lh4zb                                         0/1     CrashLoopBackOff   70 (2m13s ago)   5h35m
korrel8r-controller-manager-57db65fdbf-p6drh                      2/2     Running            0                5h37m
quay-io-korrel8r-operator-bundle-0-5-10                           1/1     Running            0                5h38m
oc get korrel8rs.korrel8r.openshift.io -n korrel8r korrel8r -o yaml 
apiVersion: korrel8r.openshift.io/v1alpha1
kind: Korrel8r
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"korrel8r.openshift.io/v1alpha1","kind":"Korrel8r","metadata":{"annotations":{},"name":"korrel8r","namespace":"korrel8r"}}
  creationTimestamp: "2024-04-08T11:38:45Z"
  generation: 1
  name: korrel8r
  namespace: korrel8r
  resourceVersion: "152249"
  uid: 0ec245d3-c2bf-446e-98f4-fa16ce212a4c
status:
  conditions:
  - lastTransitionTime: "2024-04-08T11:38:45Z"
    message: Ready
    reason: Reconciled
    status: "True"
    type: Available
@alanconway
Copy link
Contributor

+1 will investigate why this is happening.

@alanconway alanconway added the bug Something isn't working label Apr 17, 2024
@alanconway alanconway added this to the tech preview milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants