Skip to content

Commit 9bb678d

Browse files
authored
Update priority-classes.mdx
1 parent 5af3730 commit 9bb678d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vcluster/configure/vcluster-yaml/sync/from-host/priority-classes.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ When vCluster removes a synced PriorityClass from the virtual cluster due to sel
102102

103103
To sync only PriorityClass resources labeled `environment: development`:
104104

105-
```yaml
105+
```yaml title="Filter example priorityClass"
106106
sync:
107107
fromHost:
108108
priorityClasses:
@@ -116,7 +116,7 @@ sync:
116116

117117
To sync PriorityClass resources where the label `kubernetes.io/priority.class` is either `low` or `medium`:
118118

119-
```yaml
119+
```yaml title="Flexible filter example priorityClass"
120120
sync:
121121
fromHost:
122122
priorityClasses:
@@ -134,7 +134,7 @@ sync:
134134

135135
The following configuration syncs PriorityClass resources that match both label and expression criteria:
136136

137-
```yaml
137+
```yaml title="Combined filter example priorityClass"
138138
sync:
139139
fromHost:
140140
priorityClasses:
@@ -154,7 +154,7 @@ sync:
154154

155155
When a Pod resource references a PriorityClass that doesn't match the selector criteria, the error output looks like this:
156156

157-
```bash
157+
```bash title="Error handling example priorityClass"
158158
vcluster-virtual-cluster-1:~$ kubectl describe pod my-pod
159159
Name: my-pod
160160
Namespace: default

0 commit comments

Comments
 (0)