...
1# Two objects with same name in same namespace, but of a kind configured to be skipped
2
3apiVersion: v1
4kind: SkipThisKind
5metadata:
6 name: "identical"
7spec:
8 replicas: 2
9 selector:
10 app: nginx
11 template:
12 metadata:
13 name: nginx
14 labels:
15 app: nginx
16 spec:
17 containers:
18 - name: nginx
19 image: nginx
20 ports:
21 - containerPort: 80
22---
23apiVersion: v1
24kind: SkipThisKind
25metadata:
26 name: "identical"
27spec:
28 replicas: 2
29 selector:
30 app: nginx
31 template:
32 metadata:
33 name: nginx
34 labels:
35 app: nginx
36 spec:
37 containers:
38 - name: nginx
39 image: nginx
40 ports:
41 - containerPort: 80
View as plain text