Create a Storage ClassΒΆ

During installation, the Fluentd logging and Cluster Wide Controller (CWC) must be able to access a persistent storage (storageClass). This is necessary for storing log files and Qkview collection process. Users must create a storageClass and refer in the SPKInstance CR, see Install BIG-IP Next for Kubernetes.

  1. Verify if a storageClass is available.

    kubectl get storageclass
    

    If the storageClass is available and set to default type, you no need to specify in the SPKInstance CR during BIG-IP Next for Kubernetes installation process. Otherwise, you must refer the storageClass name in the SPKInstance CR, see Install BIG-IP Next for Kubernetes.

  2. If you do not have a storageClass, see Storage Classes to create.

  3. Once the storageClass is created successfully, refer the newly storageClass name in the SPKInstance CR, see Install BIG-IP Next for Kubernetes.

    Example Storage Class refernce for CWC:

    spec:
    cwc:
        persistence:
        enabled: false
        accessMode:
        - ReadWriteOnce
        storageClass: storageclass-cwc
        size: 3Gi  
    

    Example Storage Class refernce for Fluentd:

    spec:
    fluentd:
        persistence:
        enabled: false
        accessMode:
        - ReadWriteOnce
        storageClass: storageclass-fluentd
        size: 3Gi