-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs and add cluster adminState example for multiCluster (#3147)
- Loading branch information
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...uster/extendedConfigmap/global-spec-config-for-multicluster-with-cluster-admin-state.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# adminState can be provided for a cluster to mark the state of a particular cluster. | ||
# Supported values for adminState are [enable, disable, offline] | ||
# By default clusters are in enabled state. | ||
# adminState: enable, all new connections are allowed to the pool members from the cluster. | ||
# adminState: disable, all new connections except those which match an existing persistence session are not allowed for the pool members from the cluster. | ||
# adminState: offline, no new connections are allowed to the pool members from the cluster, even if they match an existing persistence session. | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
f5nr: "true" | ||
name: global-spec-config | ||
namespace: kube-system | ||
data: | ||
extendedSpec: | | ||
mode: active-active | ||
highAvailabilityCIS: | ||
primaryEndPoint: http://10.145.72.114:8001 | ||
probeInterval: 30 | ||
retryInterval: 3 | ||
primaryCluster: | ||
clusterName: cluster1 | ||
secret: default/kubeconfig1 | ||
secondaryCluster: | ||
clusterName: cluster2 | ||
secret: default/kubeconfig2 | ||
adminState: disable | ||
externalClustersConfig: | ||
- clusterName: cluster3 | ||
secret: default/kubeconfig3 | ||
adminState: offline | ||
- clusterName: cluster4 | ||
secret: default/kubeconfig4 | ||
- clusterName: cluster5 | ||
secret: default/kubeconfig5 | ||
adminState: enable | ||
extendedRouteSpec: | ||
- allowOverride: false | ||
namespace: foo | ||
policyCR: foo/cr-policy1 | ||
vserverAddr: 10.8.0.4 | ||
vserverName: vs-foo |