Skip to content

Commit a1b1b21

Browse files
Merge pull request #275938 from sdesai345/main
Removing preview callout and adding clusterrole yaml to examples
2 parents bbc4481 + 398af22 commit a1b1b21

File tree

3 files changed

+31
-5
lines changed

3 files changed

+31
-5
lines changed

articles/kubernetes-fleet/cluster-resource-override.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,18 @@ spec:
5454
name: secret-reader
5555
```
5656
57-
This example selects a `ClusterRole` named `secret-reader` from the `rbac.authorization.k8s.io/v1` API group for overriding.
57+
This example selects a `ClusterRole` named `secret-reader` from the `rbac.authorization.k8s.io/v1` API group, as shown below, for overriding.
58+
59+
```yaml
60+
apiVersion: rbac.authorization.k8s.io/v1
61+
kind: ClusterRole
62+
metadata:
63+
name: secret-reader
64+
rules:
65+
- apiGroups: [""]
66+
resources: ["secrets"]
67+
verbs: ["get", "watch", "list"]
68+
```
5869

5970
## Policy
6071

@@ -152,7 +163,18 @@ spec:
152163
path: /rules/0/verbs/1
153164
```
154165

155-
This example removes the verbs "list" and "watch" in the `ClusterRole` named `secret-reader` on clusters with the label `env: prod`.
166+
This example removes the verbs "list" and "watch" in the `ClusterRole` named `secret-reader` on clusters with the label `env: prod`, as shown below.
167+
168+
```yaml
169+
apiVersion: rbac.authorization.k8s.io/v1
170+
kind: ClusterRole
171+
metadata:
172+
name: secret-reader
173+
rules:
174+
- apiGroups: [""]
175+
resources: ["secrets"]
176+
verbs: ["get", "watch", "list"]
177+
```
156178

157179
`jsonPatchOverrides` apply a JSON patch on the selected resources following [RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902).
158180

articles/kubernetes-fleet/concepts-choosing-fleet.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For more information, see [Create a Kubernetes Fleet resource without a hub clus
3838

3939
## Kubernetes Fleet resource with hub clusters
4040

41-
A Kubernetes Fleet resource with a hub cluster has an associated AKS-managed cluster, which is used to store the configuration for workload orchestration and layer-4 load balancing.
41+
A Kubernetes Fleet resource with a hub cluster has an associated AKS-managed cluster, which hosts the open sourced [fleet manager][fleet-github] and [fleet network manager][fleet-networking-github] solution for workload orchestration and layer-4 load balancing.
4242

4343
Upon the creation of a Kubernetes Fleet resource with a hub cluster, a hub AKS cluster is automatically created in the same subscription under a managed resource group that begins with `FL_`. To improve reliability, hub clusters are locked down by denying any user-initiated mutations to the corresponding AKS clusters (under the Fleet-managed resource group `FL_`) and their underlying Azure resources (under the AKS-managed resource group `MC_FL_*`), such as virtual machines (VMs), via Azure deny assignments. Control plane operations, such as changing the hub cluster's configuration through Azure Resource Manager (ARM) or deleting the cluster entirely, are denied. Data plane operations, such as connecting to the hub cluster's Kubernetes API server in order to configure workload orchestration, are not denied.
4444

@@ -74,3 +74,7 @@ Now that you understand the different types of Kubernetes fleet resources, see [
7474
[create-fleet-without-hub]: quickstart-create-fleet-and-members.md?tabs=without-hub-cluster#create-a-fleet-resource
7575
[create-public-hub-cluster]: quickstart-create-fleet-and-members.md?tabs=with-hub-cluster#public-hub-cluster
7676
[create-private-hub-cluster]: quickstart-create-fleet-and-members.md?tabs=with-hub-cluster#private-hub-cluster
77+
78+
<!-- LINKS - external -->
79+
[fleet-github]: https://github.com/Azure/fleet
80+
[fleet-networking-github]: https://github.com/Azure/fleet-networking

articles/kubernetes-fleet/concepts-resource-propagation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Kubernetes resource propagation from hub cluster to member clusters (Preview)"
2+
title: "Kubernetes resource propagation from hub cluster to member clusters"
33
description: This article describes the concept of Kubernetes resource propagation from hub cluster to member clusters.
44
ms.date: 03/04/2024
55
author: shashankbarsin
@@ -10,7 +10,7 @@ ms.custom:
1010
ms.topic: conceptual
1111
---
1212

13-
# Kubernetes resource propagation from hub cluster to member clusters (Preview)
13+
# Kubernetes resource propagation from hub cluster to member clusters
1414

1515
This article describes the concept of Kubernetes resource propagation from hub clusters to member clusters using Azure Kubernetes Fleet Manager (Fleet).
1616

0 commit comments

Comments
 (0)