Skip to content

Commit 553c689

Browse files
committed
feat: Explicitly disable profiling for CP components
As per CIS benchmarks.
1 parent 584d563 commit 553c689

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
apiVersion: cluster.x-k8s.io/v1beta1
2+
kind: ClusterClass
3+
metadata:
4+
labels:
5+
cluster.x-k8s.io/provider: nutanix
6+
name: old-nutanix-quick-start
7+
spec:
8+
controlPlane:
9+
machineHealthCheck:
10+
maxUnhealthy: 40%
11+
nodeStartupTimeout: 10m
12+
unhealthyConditions:
13+
- status: "False"
14+
timeout: 300s
15+
type: Ready
16+
- status: Unknown
17+
timeout: 300s
18+
type: Ready
19+
- status: "True"
20+
timeout: 300s
21+
type: MemoryPressure
22+
- status: "True"
23+
timeout: 300s
24+
type: DiskPressure
25+
- status: "True"
26+
timeout: 300s
27+
type: PIDPressure
28+
- status: "True"
29+
timeout: 300s
30+
type: NetworkUnavailable
31+
machineInfrastructure:
32+
ref:
33+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
34+
kind: NutanixMachineTemplate
35+
name: nutanix-quick-start-cp-nmt
36+
ref:
37+
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
38+
kind: KubeadmControlPlaneTemplate
39+
name: nutanix-quick-start-kcpt
40+
infrastructure:
41+
ref:
42+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
43+
kind: NutanixClusterTemplate
44+
name: nutanix-quick-start-nct
45+
patches:
46+
- external:
47+
discoverVariablesExtension: nutanixclusterconfigvars-dv.cluster-api-runtime-extensions-nutanix
48+
generateExtension: nutanixclusterconfigpatch-gp.cluster-api-runtime-extensions-nutanix
49+
name: cluster-config
50+
- external:
51+
discoverVariablesExtension: nutanixworkerconfigvars-dv.cluster-api-runtime-extensions-nutanix
52+
generateExtension: nutanixworkerconfigpatch-gp.cluster-api-runtime-extensions-nutanix
53+
name: worker-config
54+
workers:
55+
machineDeployments:
56+
- class: default-worker
57+
machineHealthCheck:
58+
maxUnhealthy: 40%
59+
nodeStartupTimeout: 10m
60+
unhealthyConditions:
61+
- status: "False"
62+
timeout: 300s
63+
type: Ready
64+
- status: Unknown
65+
timeout: 300s
66+
type: Ready
67+
- status: "True"
68+
timeout: 300s
69+
type: MemoryPressure
70+
- status: "True"
71+
timeout: 300s
72+
type: DiskPressure
73+
- status: "True"
74+
timeout: 300s
75+
type: PIDPressure
76+
- status: "True"
77+
timeout: 300s
78+
type: NetworkUnavailable
79+
template:
80+
bootstrap:
81+
ref:
82+
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
83+
kind: KubeadmConfigTemplate
84+
name: nutanix-quick-start-kcfg-0
85+
infrastructure:
86+
ref:
87+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
88+
kind: NutanixMachineTemplate
89+
name: nutanix-quick-start-md-nmt

0 commit comments

Comments
 (0)