Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active December 1, 2023 03:15
Show Gist options
  • Save gowatana/8740980540ef7b14e2dda3f4cb1ce77e to your computer and use it in GitHub Desktop.
Save gowatana/8740980540ef7b14e2dda3f4cb1ce77e to your computer and use it in GitHub Desktop.
apiVersion: csi.tanzu.vmware.com/v1alpha1
kind: VSphereCSIConfig
metadata:
name: tkg24wc01
namespace: default
spec:
vsphereCSI:
config:
datacenter: /infra-dc-01
httpProxy: ""
httpsProxy: ""
insecureFlag: true
noProxy: ""
region: null
tlsThumbprint: ""
useTopologyCategories: false
zone: null
mode: vsphereCSI
---
apiVersion: run.tanzu.vmware.com/v1alpha3
kind: ClusterBootstrap
metadata:
annotations:
tkg.tanzu.vmware.com/add-missing-fields-from-tkr: v1.25.13---vmware.1-tkg.1
name: tkg24wc01
namespace: default
spec:
additionalPackages:
- refName: metrics-server*
- refName: secretgen-controller*
- refName: pinniped*
csi:
refName: vsphere-csi*
valuesFrom:
providerRef:
apiGroup: csi.tanzu.vmware.com
kind: VSphereCSIConfig
name: tkg24wc01
kapp:
refName: kapp-controller*
---
apiVersion: v1
kind: Secret
metadata:
name: tkg24wc01
namespace: default
stringData:
password: VMware1!
username: administrator@vsphere.local
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
annotations:
osInfo: photon,3,amd64
tkg/plan: dev
labels:
tkg.tanzu.vmware.com/cluster-name: tkg24wc01
name: tkg24wc01
namespace: default
spec:
clusterNetwork:
pods:
cidrBlocks:
- 100.96.0.0/11
services:
cidrBlocks:
- 100.64.0.0/13
topology:
class: tkg-vsphere-default-v1.1.1
controlPlane:
metadata:
annotations:
run.tanzu.vmware.com/resolve-os-image: image-type=ova,os-name=photon
replicas: 1
variables:
- name: cni
value: antrea
- name: controlPlaneCertificateRotation
value:
activate: true
daysBefore: 90
- name: auditLogging
value:
enabled: false
- name: podSecurityStandard
value:
audit: restricted
deactivated: false
warn: restricted
- name: aviAPIServerHAProvider
value: true
- name: vcenter
value:
cloneMode: fullClone
datacenter: /infra-dc-01
datastore: /infra-dc-01/datastore/ds-share/vsanDatastore
folder: /infra-dc-01/vm/05-Lab-k8s/k8s_lab-tkg-02_demo-01/vm_tkg24wc01
network: /infra-dc-01/network/dvpg-0011-dhcp
resourcePool: /infra-dc-01/host/infra-cluster-01/Resources/rp-03-lab
server: infra-vc-01.go-lab.jp
storagePolicyID: ""
tlsThumbprint: ""
- name: user
value:
sshAuthorizedKeys:
- ssh-rsa <SSHの公開鍵>
- name: controlPlane
value:
machine:
diskGiB: 40
memoryMiB: 8192
numCPUs: 2
- name: worker
value:
machine:
diskGiB: 50
memoryMiB: 16384
numCPUs: 4
- name: security
value:
fileIntegrityMonitoring:
enabled: false
imagePolicy:
pullAlways: false
webhook:
enabled: false
spec:
allowTTL: 50
defaultAllow: true
denyTTL: 60
retryBackoff: 500
kubeletOptions:
eventQPS: 50
streamConnectionIdleTimeout: 4h0m0s
systemCryptoPolicy: default
version: v1.25.13+vmware.1-tkg.1
workers:
machineDeployments:
- class: tkg-worker
metadata:
annotations:
run.tanzu.vmware.com/resolve-os-image: image-type=ova,os-name=photon
name: md-0
replicas: 1
strategy:
type: RollingUpdate
@gowatana
Copy link
Author

gowatana commented Dec 1, 2023

下記の投稿むけ。

Kubeflow を Standalone TKG 2.4 にインストールしてみる。(クリスマス編)
https://vm.gowatana.jp/entry/2023/12/01/054938

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