Skip to content

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

Open
@odockal

Description

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions