github.com/sealerio/sealer@v0.11.1-0.20240507115618-f4f89c5853ae/test/suites/apply/fixtures/cluster_file_for_test.yaml (about)

     1  # Copyright © 2022 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    creationTimestamp: null
    19    name: my-test-cluster
    20  spec:
    21    certSANS:
    22    - aliyun-inc.com
    23    - 10.0.0.2
    24    image: docker.io/sealerio/kubernetes:v1-22-15-sealerio-2
    25    masters:
    26      count: "1"
    27      cpu: "2"
    28      dataDisks:
    29      - "100"
    30      memory: "2"
    31      systemDisk: "100"
    32    network:
    33      podCIDR: 100.64.0.0/10
    34      svcCIDR: 10.96.0.0/22
    35    nodes:
    36      count: "1"
    37      cpu: "2"
    38      dataDisks:
    39      - "100"
    40      memory: "2"
    41      systemDisk: "100"
    42    provider: CONTAINER
    43    ssh:
    44      passwd: Sealer123
    45      user: root
    46  status: {}