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 @@ -99,7 +99,7 @@ When vCluster removes a synced RuntimeClass from the virtual cluster due to sele
99
99
100
100
To sync only RuntimeClass resources labeled `environment: development`:
101
101
102
- ```yaml
102
+ ```yaml title = " Filter example runtimeClass "
103
103
sync:
104
104
toHost:
105
105
pods:
@@ -116,7 +116,7 @@ sync:
116
116
117
117
To sync RuntimeClass resources where the label `kubernetes.io/runtime.class` is either `gvisor` or `youki`:
118
118
119
- ```yaml
119
+ ```yaml title = " Flexible filter example runtimeClass "
120
120
sync:
121
121
toHost:
122
122
pods:
@@ -137,7 +137,7 @@ sync:
137
137
138
138
The following configuration syncs RuntimeClass resources that match both label and expression criteria:
139
139
140
- ```yaml
140
+ ```yaml title = " Combined filter example runtimeClass "
141
141
sync:
142
142
toHost:
143
143
pods:
@@ -160,7 +160,7 @@ sync:
160
160
161
161
When a Pod resource references a RuntimeClass that doesn't match the selector criteria, the error output looks like this:
162
162
163
- ```bash
163
+ ```bash title = " Error handling example runtimeClass "
164
164
vcluster-virtual-cluster-1:~$ kubectl describe pod my-pod
165
165
Name: my-pod
166
166
Namespace: default
You can’t perform that action at this time.
0 commit comments