You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform/maintenance/monitoring/central-hostpath-mapper.mdx
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ import FeatureTable from '@site/src/components/FeatureTable';
17
17
18
18
You can install a common logging solution such as Fluentd or the ELK stack on the Control Plane Cluster and use it within the tenant cluster. However, in some scenarios, installing these tools directly on the tenant cluster is preferred.
19
19
20
-
These logging solutions access pod and container logs by mounting node host paths and using specific filename formats to associate logs with the correct pods. This approach doesn’t work in a vCluster because the vCluster rewrites pod names to a vCluster-specific format when syncing them to the Control Plane Cluster.
20
+
These logging solutions access pod and container logs by mounting node host paths and using specific filename formats to associate logs with the correct pods. This approach doesn't work in a tenant cluster because vCluster rewrites pod names to a vCluster-specific format when syncing them to the Control Plane Cluster.
21
21
22
-
The HostPath Mapper collects logs from tenant clusters. It works by matching virtual pod and container names to their physical names on the host and does this through symbolic links.
22
+
The HostPath Mapper collects logs from tenant clusters. It works by matching virtual pod and container names to their physical names on the host through symbolic links.
23
23
24
24
To enable HostPath Mapper for a tenant cluster, install a DaemonSet in the same namespace. This setup works well for small environments with few nodes and tenant clusters.
25
25
@@ -32,7 +32,7 @@ To use this feature, install the Central HostPath Mapper on the Control Plane Cl
32
32
:::
33
33
34
34
:::warning Templates
35
-
This feature is only configurable from the UI for tenant clusters created without a template. When using a custom template that has the feature enabled, the UI does not display the configuration in **Advanced Options** as described below. In this case, configure the feature using the CLI or by modifying the manifests.
35
+
This feature is only configurable from the UI for tenant clusters created without a template. When using a custom template that has the feature enabled, the UI doesn't display the configuration in **Advanced Options** as described below. In this case, configure the feature using the CLI or by modifying the manifests.
36
36
:::
37
37
38
38
<Tabs
@@ -45,28 +45,28 @@ This feature is only configurable from the UI for tenant clusters created withou
From the project drop-down menu, select the project you'd like to create
49
-
the tenant cluster in.
48
+
From the project drop-down menu, click the project where you want to
49
+
create the tenant cluster.
50
50
</Step>
51
51
<Step>
52
-
Click the <Button>New Tenant Cluster</Button> button above the list of tenant clusters
52
+
Click the <Button>New Tenant Cluster</Button> button above the list of tenant clusters.
53
53
</Step>
54
54
<Step>
55
-
<b>[Optional]</b> select the cluster in which to create the tenant
55
+
<b>[Optional]</b> Click the cluster where you want to create the tenant
56
56
cluster.
57
57
</Step>
58
58
<Step>
59
59
Leave the <Label>Select a template</Label> section blank and click the <Button>Configure</Button> to continue.
60
60
</Step>
61
61
<Step>
62
62
Click the <Label>Advanced Options</Label> configuration tab and expand
63
-
the 'Host Path Mapper' section.
63
+
the **Host Path Mapper** section.
64
64
</Step>
65
65
<Step>
66
-
Toggle the slider <Label>Enable</Label>. This will add the
67
-
'loft.sh/hpm-enabled' annotation to the template metadata which will be
68
-
automatically synced to the tenant cluster on creation. Secondly, it
69
-
will add `enabled: true`&`central: true` under the '[controlPlane.hostPathMapper](/docs/vcluster/configure/vcluster-yaml/control-plane/components/host-path-mapper)' field in the vcluster.yaml.
66
+
Toggle the slider <Label>Enable</Label>. This adds the
67
+
`loft.sh/hpm-enabled` annotation to the template metadata, which syncs
68
+
automatically to the tenant cluster on creation. It also sets
69
+
`enabled: true`and`central: true` under the [controlPlane.hostPathMapper](/docs/vcluster/configure/vcluster-yaml/control-plane/components/host-path-mapper) field in the vcluster.yaml.
70
70
</Step>
71
71
<Step>
72
72
Finish configuring anything else on your tenant cluster,
@@ -78,21 +78,22 @@ This feature is only configurable from the UI for tenant clusters created withou
Select the project that contains the tenant cluster you want to enable Central HostPath Mapper on from the project drop-down menu.
81
+
From the project drop-down menu, click the project that contains the
82
+
tenant cluster where you want to enable Central HostPath Mapper.
82
83
</Step>
83
84
<Step>
84
-
Hover over the tenant cluster you would like to enable Central HostPath Mapper on to see an <Label>Edit</Label> button displayed.
85
+
Hover over the tenant cluster where you want to enable Central HostPath Mapper to reveal the <Label>Edit</Label> button.
85
86
Click <Label>Edit</Label>.
86
87
</Step>
87
88
<Step>
88
89
Click the <Label>Advanced Options</Label> configuration tab and expand
89
90
the **Host Path Mapper** section.
90
91
</Step>
91
92
<Step>
92
-
Toggle the slider <Label>Enable</Label>. This will add the
93
-
'loft.sh/hpm-enabled' annotation to the template metadata which will be
94
-
automatically synced to the tenant cluster on creation. Secondly, it
95
-
will add `enabled: true`&`central: true` under the '[controlPlane.hostPathMapper](/docs/vcluster/configure/vcluster-yaml/control-plane/components/host-path-mapper)' field in the vcluster.yaml.
93
+
Toggle the slider <Label>Enable</Label>. This adds the
94
+
`loft.sh/hpm-enabled` annotation to the template metadata, which syncs
95
+
automatically to the tenant cluster on creation. It also sets
96
+
`enabled: true`and`central: true` under the [controlPlane.hostPathMapper](/docs/vcluster/configure/vcluster-yaml/control-plane/components/host-path-mapper) field in the vcluster.yaml.
96
97
</Step>
97
98
<Step>
98
99
Finish configuring anything else on your tenant cluster,
0 commit comments