github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/pkg/cli/cmd/kubeblocks/data/eks_hostpreflight.yaml (about)

     1  apiVersion: troubleshoot.sh/v1beta2
     2  kind: HostPreflight
     3  metadata:
     4    name: host-utility
     5  spec:
     6    collectors:
     7    analyzers:
     8    extendCollectors:
     9      - hostUtility :
    10          collectorName: aws-cli
    11          utilityName: aws
    12      - hostUtility :
    13          collectorName: eks-ctl
    14          utilityName: eksctl
    15      - clusterRegion :
    16          providerName: eks
    17    extendAnalyzers:
    18      - hostUtility:
    19          checkName: AWSCli-Check
    20          collectorName: aws-cli
    21          outcomes:
    22            - pass:
    23                message: aws cli has been installed
    24            - warn:
    25                message: aws cli isn't installed
    26      - hostUtility:
    27          checkName: EKSCtl-Check
    28          collectorName: eks-ctl
    29          outcomes:
    30            - pass:
    31                message: eksctl has been installed
    32            - warn:
    33                message: eksctl isn't installed
    34      - clusterRegion:
    35          checkName: Check-K8S-Region
    36          regionNames:
    37            - cn-northwest-1
    38            - cn-north-1
    39            - us-east-1
    40            - us-east-2
    41            - us-west-1
    42            - us-west-2
    43          outcomes:
    44            - warn:
    45                message: k8s cluster region doesn't belong to amazon china, be aware of the network reachability for cluster regions that located at East-Asia
    46            - pass:
    47                message: k8s cluster region belongs to amazon china/us