github.com/sealerio/sealer@v0.11.1-0.20240507115618-f4f89c5853ae/utils/test/file/v1Clusterfile (about)

     1  // Copyright © 2021 Alibaba Group Holding Ltd.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  apiVersion: zlink.aliyun.com/v1alpha1
    16  kind: Cluster
    17  metadata:
    18    annotations:
    19      sea.aliyun.com/ClusterEIP: 47.108.132.245
    20      sea.aliyun.com/EipID: eip-2vca3x1lxu96ropt66am5
    21      sea.aliyun.com/Master0ID: i-2vc2ce4hs85f7ql6dqda
    22      sea.aliyun.com/Master0InternalIP: 172.16.0.194
    23      sea.aliyun.com/MasterIDs: i-2vc2ce4hs85f7ql6dqdb,i-2vc2ce4hs85f7ql6dqdc,i-2vc2ce4hs85f7ql6dqda
    24      sea.aliyun.com/NodeIDs: i-2vc4eamks4zejf9n16tm,i-2vc4eamks4zejf9n16tn,i-2vc4eamks4zejf9n16tl
    25      sea.aliyun.com/RegionID: cn-chengdu
    26      sea.aliyun.com/SecurityGroupID: sg-2vcdx512qke5iqpx1iwx
    27      sea.aliyun.com/VSwitchID: vsw-2vc55ufqm05qb8zdxux0h
    28      sea.aliyun.com/VpcID: vpc-2vcj16rdif2upvgeowdu6
    29      sea.aliyun.com/ZoneID: cn-chengdu-a
    30    creationTimestamp: null
    31    name: my-cluster
    32  spec:
    33    certSANS:
    34    - aliyun-inc.com
    35    - 10.0.0.2
    36    image: kubernetes:v1.19.9
    37    masters:
    38      count: "3"
    39      cpu: "4"
    40      dataDisks:
    41      - "100"
    42      ipList:
    43      - 172.16.0.194
    44      - 172.16.0.196
    45      - 172.16.0.195
    46      memory: "4"
    47      systemDisk: "100"
    48    network:
    49      cniName: calico
    50      interface: eth0
    51      podCIDR: 100.64.0.0/10
    52      svcCIDR: 10.96.0.0/22
    53    nodes:
    54      count: "3"
    55      cpu: "4"
    56      dataDisks:
    57      - "100"
    58      ipList:
    59      - 172.16.0.198
    60      - 172.16.0.199
    61      - 172.16.0.197
    62      memory: "4"
    63      systemDisk: "100"
    64    provider: ALI_CLOUD
    65    ssh:
    66      passwd: Seadent123
    67      pk: xxx
    68      pkPasswd: xxx
    69      user: root
    70  status: {}