Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

bring up Kubernetes deployment without restarts #182

Closed
@pohly

Description

@pohly

When I tested the CSI 1.0 support in #177 (eab77d7), the pods came up eventually, but only after some intermittent errors:

$ kubectl get pods
NAME                    READY   STATUS    RESTARTS   AGE
my-csi-app              1/1     Running   0          6m30s
pmem-csi-bqdwp          2/2     Running   11         10m
pmem-csi-controller-0   4/4     Running   15         10m
pmem-csi-h7dfn          2/2     Running   11         10m
pmem-csi-w4p2f          2/2     Running   9          10m

I've not caught it in the logs, but I think the node pmem-driver was restarting because the registry wasn't up yet.

This is confusing. In the sidecar containers, we chose the approach of waiting forever for a peer to show up, with regular logging while in that wait loop. The pmem driver should do the same. See kubernetes-csi/csi-lib-utils#11.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions