Skip to content

Commit d1a2c9e

Browse files
authored
Merge pull request #34 from apoorva-05/master
2.2.10 version
2 parents e96530f + 303dbbb commit d1a2c9e

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

deploy/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ Perform the following:
3737
| CNI_TYPE | Mandatory | The CNI used in kubernetes cluster. Valid values: flannel,calico,canal,weave,cilium|
3838
| DSR_IP_RANGE | Optional | This IP address range is used for DSR Iptable configuration on nodes. Both IP and subnet must be specified in format : "xx.xx.xx.xx/xx" |
3939
| CLUSTER_NAME | Optional | Unique identifier for the kubernetes cluster on which CNC is deployed. If Provided CNC will configure PolicyBasedRoutes instead of static Routes. For details, see [CNC-PBR-SUPPORT](https://github.com/citrix/citrix-k8s-ingress-controller/tree/master/docs/how-to/pbr.md#configure-pbr-using-the-citrix-node-controller) |
40+
| CNC_CONFIGMAP | Optional | Specifies the ConfigMapName that Citrix-Node-Controller will watch for. The delete event of this ConfigMap will trigger deletion of `kube-cnc-router` helper pods and related config from the ADC. Defaults to `citrix-node-controller` if not provided. For more details, see [deleting-configurations](#delete-the-citrix-k8s-node-controller)|
4041
| CNC_ROUTER_IMAGE | Optional | Specifies the internal repository image to be used for `kube-cnc-router` helper pods when Internet access is disabled on cluster nodes. For more details, see [running-cnc-without-internet-access](#running-citrix-node-controller-without-internet-access) |
41-
42+
| CNC_ROUTER_NAME | Optional | Specifies the RBAC, ServiceAccount, ConfigMap Name, and Pod Prefix used for `kube-cnc-router` helper pods. Defaults to `kube-cnc-router` if not provided. For more details, see [running-multiple-cnc-in-same-cluster](#running-multiple-citrix-node-controller-in-the-same-cluster) |
4243
4344
1. After you have updated the Citrix k8s node controller deployment YAML file, deploy it using the following command:
4445
@@ -113,3 +114,16 @@ Following example shows how to specify the `CNC_ROUTER_IMAGE` environment variab
113114
114115
cncRouterImage: "docker.xyz.com/adc/citrix/cnc-router:1.1.0"
115116
117+
### Running Multiple Citrix Node Controller in the same cluster
118+
119+
When you deploy citrix-k8s-node-controller.yaml, the RBAC and ServiceAccount for `kube-cnc-router` helper pods is created with default value of `kube-cnc-router`.
120+
If you want to deploy multiple Citrix-Node-Controller in the same cluster, use a different name for these entities in each YAML file and provide this name as environment variable to CNC using `CNC_ROUTER_NAME`.
121+
122+
Following example shows how to specify the `CNC_ROUTER_NAME` environment variable while deploying Citrix node controller via YAML file.
123+
124+
- First, replace the name of ClusterRole/ClusterRoleBinding/ServiceAccount that gets created for `kube-cnc-router` helper pods with a unique name like "someother-rbac-for-kube-cnc-router"
125+
126+
- Set the value of the environment variable in the YAML file as follows:
127+
128+
- name: CNC_ROUTER_NAME
129+
value: "someother-rbac-for-kube-cnc-router"

deploy/citrix-k8s-node-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ spec:
9999
serviceAccountName: citrix-node-controller
100100
containers:
101101
- name: citrix-node-controller
102-
image: "quay.io/citrix/citrix-k8s-node-controller:2.2.9"
102+
image: "quay.io/citrix/citrix-k8s-node-controller:2.2.10"
103103
imagePullPolicy: Always
104104
env:
105105
- name: NS_IP

0 commit comments

Comments
 (0)