Skip to content

Doesn't attach to the shell #29

@hcnp

Description

@hcnp

When I run it as described the following happens:

> k browse-pvc -n tcs-s3-backup s3-backup-restic
Browsing PVC s3-backup-restic in namespace tcs-s3-backup
✓ Attached to browse-s3-backup-restic-fjgvj
> k browse-pvc -n tcs-s3-backup s3-backup-restic -- sh
Browsing PVC s3-backup-restic in namespace tcs-s3-backup
chmod: /etc/profile.d/ps1.sh: No such file or directory
Processes: 3
> k browse-pvc -n tcs-s3-backup s3-backup-restic -- sh
Browsing PVC s3-backup-restic in namespace tcs-s3-backup
>

Is it supposed to work like this? I can attach the running pod afterwards, but then I have to use kubectl attach or k9s.

And it doesn't clean up the pod aftwards. It just keeps running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions