Skip to content

need help with config #537

@LaneaLucy

Description

@LaneaLucy

This is my config:

{
    "nodePathMap":[
    {
            "node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
            "paths":["/var/mnt/local-path-provisioner"]
    }
    ],
    "storageClassConfigs":{
        "nvme":{
            "storageClass":{
                "create": "true",
                "defaultClass": "false",
                "defaultVolumeType": "hostPath",
                "reclaimPolicy": "Delete",

                "allowedTopologies":[
                {
                    "matchLabelExpressions":[
                    {
                        "key": "zone",
                        "values": [
                            "herkendorf"
                        ]
                    },
                    {
                        "key": "rack",
                        "values": [
                            "network01"
                        ]
                    }
                    ]
                }
                ]
            },
            "nodePathMap":[
                {
                    "node":"controller01",
                    "paths":["/var/mnt/seaweedfs-data"]
                },
                {
                    "node":"controller02",
                    "paths":["/var/mnt/seaweedfs-data"]
                },
                {
                    "node":"controller03",
                    "paths":["/var/mnt/seaweedfs-data"]
                }
            ]
        }
    }
}

From what i unterstand, this should now create my storage class, but there is nothing....

kubectl get storageclasses.storage.k8s.io -A
No resources found

Metadata

Metadata

Assignees

No one assigned

    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