Skip to content

Commit c77e249

Browse files
committed
docs: fixing api version and manifest for crp
1 parent 2040685 commit c77e249

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/kubernetes-fleet/l4-load-balancing.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ In this how-to guide, you'll set up layer 4 load balancing across workloads depl
8484
1. Create the following `ClusterResourcePlacement` in a file called `crp-2.yaml`. Notice we're selecting clusters in the `eastus` region:
8585
8686
```yaml
87-
apiVersion: fleet.azure.com/v1alpha1
87+
apiVersion: placement.kubernetes-fleet.io/v1beta1
8888
kind: ClusterResourcePlacement
8989
metadata:
9090
name: kuard-demo
@@ -97,10 +97,11 @@ In this how-to guide, you'll set up layer 4 load balancing across workloads depl
9797
policy:
9898
affinity:
9999
clusterAffinity:
100-
clusterSelectorTerms:
101-
- labelSelector:
102-
matchLabels:
103-
fleet.azure.com/location: eastus
100+
requiredDuringSchedulingIgnoredDuringExecution:
101+
clusterSelectorTerms:
102+
- labelSelector:
103+
matchLabels:
104+
fleet.azure.com/location: eastus
104105
```
105106
106107
1. Apply the `ClusterResourcePlacement`:

0 commit comments

Comments
 (0)