Skip to content

Commit 9ec79cc

Browse files
Merge pull request #268501 from pauldotyu/main
Fixing Kubernetes Fleet docs
2 parents 0d8a6c5 + c77e249 commit 9ec79cc

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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`:

articles/kubernetes-fleet/resource-propagation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
placementType: PickAll
5959
affinity:
6060
clusterAffinity:
61-
requiredDuringSchedulingIgnoredDuringExection:
61+
requiredDuringSchedulingIgnoredDuringExecution:
6262
clusterSelectorTerms:
6363
- labelSelector:
6464
matchLabels:

0 commit comments

Comments
 (0)