Skip to content

Don't use raw pods in storage experimental tests #666

@wojtek-t

Description

@wojtek-t

Forked from #662

@wojtek-t : I'm fine with it as a starting phase, but we should move them to use deployments (using individual pods is more like anti-pattern, and startup-time is measured from pod creation anyway, so it shouldn't cause any additional problems).

@mucahitkurt : When I use a controller like deployments I can't control the volume names of the pod that controller creates.

I tried it with statefulset, for replication number 2, statefulset creates pod likes app-0-pod-0, app-0-pod-1, if I want to use volumes with these pod I should create volumes likes pod-0-vol-0, pod-0-vol-1, pod-1-vol-0, pod-1-vol-1. But I can't create volume names like 2 indexed values for pod-[podIndex]-vol-[volumeIndex], because clusterloader2 framework doesn't allow this.

I know that it's an anti-pattern working directly with the pods without a controller, but I couldn't solve the above problem and used directly pod.

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