Skip to content

Commit

Permalink
Update docs and add cluster adminState example for multiCluster (#3147)
Browse files Browse the repository at this point in the history
  • Loading branch information
arzzon authored Nov 14, 2023
1 parent 63a8dad commit e86dc0f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Added Functionality
* CRD:
* allowSourceRange support for VirtualServer CRs and Policy CRs. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/>`_
* Added support for TCP Health Monitor support in VS CRs. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/VirtualServer/HealthMonitor>`_
* Added support for multiple monitors in VS and TS CRs. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/`_
* Added support for multiple monitors in VS and TS CRs. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/>`_
* SCTP support for Transport Server Custom Resource. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/TransportServer>`_
* :issues:`2201` Support for linking existing health monitor on bigip with virtualSever and TransportServer CRs. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/>`_
* :issues:`2361` Allow monitoring of an alias port in VirtualServer and TransportServer. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/>`_
Expand Down Expand Up @@ -432,7 +432,7 @@ Added Functionality
* Custom pool name support in VirtualServer and TransportServer CRs. See `Example <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/VirtualServer/customPoolName>`_
* GTM global-availability LB method and order precedence support with EDNS CRs. See `Examples <https://github.com/sravyap135/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/ExternalDNS>`_
* Service Type LoadBalancer:
* SCTP protocol support in Services of type LoadBalancer. See `official documentation <https://kubernetes.io/docs/concepts/services-networking/network-policies/#sctp-support>`_
* SCTP protocol support in Services of type LoadBalancer. See `official documentation <https://kubernetes.io/docs/reference/networking/service-protocols/#protocol-sctp>`_
* Added support for attaching Policy CRD as an annotation
* SNAT pool name support in policy CR. See `Examples <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/customResource/>`_
* ConfigMap:
Expand Down
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

0 comments on commit e86dc0f

Please sign in to comment.