github.com/giantswarm/apiextensions/v2@v2.6.2/helm/apiextensions-kvm-config-e2e-chart/templates/cluster.yaml (about)

     1  apiVersion: "provider.giantswarm.io/v1alpha1"
     2  kind: KVMConfig
     3  metadata:
     4    name: {{.Values.cluster.id}}
     5    namespace: "default"
     6    labels:
     7      giantswarm.io/cluster: {{.Values.cluster.id}}
     8  spec:
     9    cluster:
    10      id: "{{.Values.cluster.id}}"
    11  
    12      customer:
    13        id: "example-customer"
    14  
    15      calico:
    16        cidr: 16
    17        domain: calico.{{.Values.cluster.id}}.{{.Values.baseDomain}}
    18        mtu: 1430
    19        subnet: 192.168.0.0
    20      docker:
    21        daemon:
    22          cidr: 172.17.0.1/16
    23      etcd:
    24        domain: etcd.{{.Values.cluster.id}}.{{.Values.baseDomain}}
    25        port: 443
    26        prefix: giantswarm.io
    27      kubernetes:
    28        api:
    29          altNames: kubernetes,kubernetes.default,kubernetes.default.svc,kubernetes.default.svc.cluster.local
    30          clusterIPRange: 172.31.0.0/16
    31          domain: api.{{.Values.cluster.id}}.{{.Values.baseDomain}}
    32          insecurePort: 8080
    33          ip: 172.31.0.1
    34          securePort: 443
    35        cloudProvider: ""
    36        dns:
    37          ip: 172.31.0.10
    38        domain: cluster.local
    39        ingressController:
    40          docker:
    41            image: quay.io/giantswarm/nginx-ingress-controller:0.9.0-beta.11
    42          domain: ingress.{{.Values.cluster.id}}.{{.Values.baseDomain}}
    43          insecurePort: 30010
    44          securePort: 30011
    45          wildcardDomain: '*.sxn4o.{{.Values.cluster.id}}.{{.Values.baseDomain}}'
    46        kubelet:
    47          altNames: kubernetes,kubernetes.default,kubernetes.default.svc,kubernetes.default.svc.cluster.local
    48          domain: worker.{{.Values.cluster.id}}.{{.Values.baseDomain}}
    49          labels: kvm-operator.giantswarm.io/version={{.Values.versionBundle.version}},giantswarm.io/provider=kvm
    50          port: 10250
    51        networkSetup:
    52          docker:
    53            image: quay.io/giantswarm/k8s-setup-network-environment:1f4ffc52095ac368847ce3428ea99b257003d9b9
    54        ssh:
    55          userList:
    56          - name: "{{.Values.sshUser}}"
    57            publicKey: "{{.Values.sshPublicKey}}"
    58  
    59      masters:
    60      - id: "master-1"
    61      workers:
    62      - id: "worker-1"
    63      - id: "worker-2"
    64      vault:
    65        address: https://vault.gastropod.gridscale.kvm.gigantic.io:8200
    66        token: 5623b042-fa62-416b-a252-190a164c0439
    67    kvm:
    68      k8sKVM:
    69        storageType: hostPath
    70      masters:
    71      - cpus: 2
    72        disk: 10
    73        memory: 3G
    74      network:
    75        flannel:
    76          vni: {{.Values.kvm.vni}}
    77      'portMappings yaml:':
    78      - name: ingress-http
    79        nodePort: {{.Values.kvm.ingress.httpNodePort}}
    80        targetPort: {{.Values.kvm.ingress.httpTargetPort}}
    81      - name: ingress-https
    82        nodePort: {{.Values.kvm.ingress.httpsNodePort}}
    83        targetPort: {{.Values.kvm.ingress.httpsTargetPort}}
    84      workers:
    85      - cpus: 2
    86        disk: 20
    87        memory: 2G
    88      - cpus: 2
    89        disk: 20
    90        memory: 2G
    91    versionBundle:
    92      version: "{{.Values.versionBundle.version}}"