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

[BUG] Kubernetes resource are not present after cluster restart #298

Open
odockal opened this issue Aug 28, 2024 · 0 comments
Open

[BUG] Kubernetes resource are not present after cluster restart #298

odockal opened this issue Aug 28, 2024 · 0 comments

Comments

@odockal
Copy link
Collaborator

odockal commented Aug 28, 2024

Issue Description

I have deployed a container to a kubernetes cluster (crc-admin namespace) via podman desktop. routes were created and works fine. After restarting the cluster and waiting for some time, now no kubernetes resources are visible. I need to switch the kube-context and back to get them to be visible in podman desktop again.

Related to: podman-desktop/podman-desktop#7760

General information

  • PD: 1.12.0
  • CRC-extension: 2.0.0
  • OS: Windows 10
  • Hypervisor: Hyper-V
  • Running CRC on: Laptop

CRC version

2.40.0

CRC status

# Put `crc status --log-level debug` output here
all good here.

CRC config

# Put `crc config view` output here
# I assume openshift preset it used
{
 "consent-telemetry": "no"
}

Steps to reproduce

  1. Create openshift cluster via PD (openshift preset)
  2. Start the cluster
  3. pull registry.access.redhat.com/ubi8/httpd-24 image
  4. Start a container from the image
  5. Deploy a container to a kubernetes (use crc-admin namespace)
  6. Assert: Everything is working as expected -> pod is deployed, routes are creates, app is available
  7. Restart Openshift cluster
  8. Assert: All resources are visible again
    Actual result: resources are not visible -> no routes, pods, etc.

Workaround: change the kube-context and back

Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant