-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplacements.yaml
52 lines (52 loc) · 1.06 KB
/
placements.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
name: one
spec:
locationResource:
group: workload.kcp.dev
resource: synctargets
version: v1alpha1
locationSelectors:
- matchLabels:
category: one
namespaceSelector:
matchLabels:
category: one
locationWorkspace: root:skupper-demo
---
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
name: two
spec:
locationResource:
group: workload.kcp.dev
resource: synctargets
version: v1alpha1
locationSelectors:
- matchLabels:
category: two
namespaceSelector:
matchLabels:
category: two
locationWorkspace: root:skupper-demo
---
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
name: skupper-network-controller
spec:
locationResource:
group: workload.kcp.dev
resource: synctargets
version: v1alpha1
locationSelectors:
- matchLabels:
category: two
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: skupper-network-controller
locationWorkspace: root:skupper-demo
---