Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active December 17, 2023 14:17
Show Gist options
  • Save gowatana/7a5ca0ea9b07219782cae12421e9ced8 to your computer and use it in GitHub Desktop.
Save gowatana/7a5ca0ea9b07219782cae12421e9ced8 to your computer and use it in GitHub Desktop.
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: tkc-04
spec:
topology:
class: tanzukubernetescluster
version: v1.26.5---vmware.2-fips.1-tkg.1
controlPlane:
replicas: 1
workers:
machineDeployments:
- class: node-pool
name: node-pool-1
replicas: 1
failureDomain: zone-1
- class: node-pool
name: node-pool-2
replicas: 1
failureDomain: zone-2
- class: node-pool
name: node-pool-3
replicas: 1
failureDomain: zone-3
variables:
- name: vmClass
value: best-effort-xsmall
- name: storageClass
value: vwt-nfs-policy-3zone
- name: defaultStorageClass
value: vwt-nfs-policy-3zone
clusterNetwork:
services:
cidrBlocks: ["172.17.0.0/16"]
pods:
cidrBlocks: ["172.16.0.0/16"]
@gowatana
Copy link
Author

下記の投稿むけ。

vSphere with Tanzu 8.0 U2 ラボ環境構築。Part-17: TKGS クラスタの作成(3-Zone スーパーバイザー)
https://vm.gowatana.jp/entry/2023/12/17/180730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment