File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
vcluster/configure/vcluster-yaml/sync/from-host Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ When vCluster removes a synced PriorityClass from the virtual cluster due to sel
102
102
103
103
To sync only PriorityClass resources labeled `environment: development`:
104
104
105
- ```yaml
105
+ ```yaml title = " Filter example priorityClass "
106
106
sync:
107
107
fromHost:
108
108
priorityClasses:
@@ -116,7 +116,7 @@ sync:
116
116
117
117
To sync PriorityClass resources where the label `kubernetes.io/priority.class` is either `low` or `medium`:
118
118
119
- ```yaml
119
+ ```yaml title = " Flexible filter example priorityClass "
120
120
sync:
121
121
fromHost:
122
122
priorityClasses:
@@ -134,7 +134,7 @@ sync:
134
134
135
135
The following configuration syncs PriorityClass resources that match both label and expression criteria:
136
136
137
- ```yaml
137
+ ```yaml title = " Combined filter example priorityClass "
138
138
sync:
139
139
fromHost:
140
140
priorityClasses:
@@ -154,7 +154,7 @@ sync:
154
154
155
155
When a Pod resource references a PriorityClass that doesn't match the selector criteria, the error output looks like this:
156
156
157
- ```bash
157
+ ```bash title = " Error handling example priorityClass "
158
158
vcluster-virtual-cluster-1:~$ kubectl describe pod my-pod
159
159
Name: my-pod
160
160
Namespace: default
You can’t perform that action at this time.
0 commit comments