Skip to content

Commit 04e061d

Browse files
Janraj CJJanraj CJ
authored andcommitted
Citrix Node Controller Version 2.0.0
1 parent 215ed43 commit 04e061d

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

deploy/README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Deploy the Citrix k8s node controller
22

3-
This creates Citrix Node Controller on Kubernetes and establish the route between Citrix ADC and kubernetes Nodes.
3+
This topic provides information on how to deploy Citrix node controller on Kubernetes and establish the route between Citrix ADC and Kubernetes Nodes.
44

55
Perform the following:
66

@@ -27,9 +27,9 @@ Perform the following:
2727
| NS_IP | Mandatory | Citrix k8s node controller uses this IP address to configure the Citrix ADC. The NS_IP can be anyone of the following: </br></br> - **NSIP** for standalone Citrix ADC </br>- **SNIP** for high availability deployments (Ensure that management access is enabled) </br> - **CLIP** for Cluster deployments |
2828
| NS_USER and NS_PASSWORD | Mandatory | The user name and password of Citrix ADC. Citrix k8s node controller uses these credentials to authenticate with Citrix ADC. You can either provide the user name and password or Kubernetes secrets. If you want to use a non-default Citrix ADC user name and password, you can [create a system user account in Citrix ADC](https://developer-docs.citrix.com/projects/citrix-k8s-ingress-controller/en/latest/deploy/deploy-cic-yaml/#create-system-user-account-for-citrix-ingress-controller-in-citrix-adc). </br></br> The deployment file uses Kubernetes secrets, create a secret for the user name and password using the following command: </br></br> `kubectl create secret generic nslogin --from-literal=username='nsroot' --from-literal=password='nsroot'` </br></br> **Note**: If you want to use a different secret name other than `nslogin`, ensure that you update the `name` field in the `citrix-node-controller` definition. |
2929
| NETWORK | Mandatory | The IP address range (for example, `192.128.1.0/24`) that Citrix node controller uses to configure the VTEP overlay end points on the Kubernetes nodes. </br></br> **Note:** Ensure that the subnet that you provide is different from your Kubernetes cluster.|
30-
| VNID | Mandatory | A unique VXLAN VNID to create a VXLAN overlays between kubernetes cluster and the ingress devices. </br></br>**Note:** Ensure that the VXLAN VNID that you use does not conflict with the Kubernetes cluster or Citrix ADC VXLAN VNID.|
31-
| VXLAN_PORT | Mandatory | The VXLAN port that you want to use for the overlay. </br></br>**Note:** Ensure that the VXLAN PORT that you use does not conflict with the Kubernetes cluster or Citrix ADC VXLAN PORT.|
32-
| REMOTE_VTEPIP | Mandatory | The Ingress Citrix ADC SNIP. This IP address is used to establish overlay network between the Kubernetes clusters.|
30+
| VNID | Mandatory | A unique VXLAN VNID to create a VXLAN overlay between Kubernetes cluster and the ingress devices. </br></br>**Note:** Ensure that the VXLAN VNID that you use does not conflict with the Kubernetes cluster or Citrix ADC VXLAN VNID. You can use the `show vxlan` command on your Citrix ADC to view the VXLAN VNID. For example: </br></br> `show vxlan` </br>`1) ID: 500 Port: 9090`</br>`Done` </br> </br>In this case, ensure that you do not use `500` as the VXLAN VNID.|
31+
| VXLAN_PORT | Mandatory | The VXLAN port that you want to use for the overlay. </br></br>**Note:** Ensure that the VXLAN PORT that you use does not conflict with the Kubernetes cluster or Citrix ADC VXLAN PORT. You can use the `show vxlan` command on your Citrix ADC to view the VXLAN PORT. For example: </br></br> `show vxlan` </br>`1) ID: 500 Port: 9090`</br>`Done` </br> </br>In this case, ensure that you do not use `9090` as the VXLAN PORT.|
32+
| REMOTE_VTEPIP | Mandatory | The Ingress Citrix ADC SNIP. This IP address is used to establish an overlay network between the Kubernetes clusters.|
3333

3434
1. After you have updated the Citrix k8s node controller deployment YAML file, deploy it using the following command:
3535

@@ -39,15 +39,26 @@ Perform the following:
3939

4040
kubectl apply -f https://raw.githubusercontent.com/citrix/citrix-k8s-node-controller/git_cnc_v2/deploy/config_map.yaml
4141

42-
# Delete the Citrix K8s node conroller
42+
43+
# Verify the deployment
44+
45+
After you have deployed the Citrix Node Controller, you can verify if Citrix Node Controller has configured a route on the Citrix ADC.
46+
47+
To verify, log on to the Citrix ADC and use the following commands to verify the VXLAN VNID, VXLAN PORT, SNIP, route, and ARP configured by CNC on the Citrix ADC:
48+
49+
![Verification](../images/verify.png)
50+
51+
The highlights in the screenshot show the VXLAN VNID, VXLAN PORT, SNIP, route, and ARP configured by CNC on the Citrix ADC.
52+
53+
# Delete the Citrix K8s node controller
4354

4455
1. Delete the [config map](config_map.yaml) using the following command:
4556

46-
When we delete the configmap, citrix node controller clean up teh configuration created on Citrix ADC.
57+
When we delete the configmap, Citrix node controller cleans up the configuration created on Citrix ADC.
4758

4859
kubectl delete -f https://raw.githubusercontent.com/citrix/citrix-k8s-node-controller/git_cnc_v2/deploy/config_map.yaml
4960

5061

51-
1. Delete the citrix node controller using the following command:
62+
1. Delete the Citrix node controller using the following command:
5263

5364
kubectl delete -f citrix-k8s-node-controller.yaml

images/verify.png

241 KB
Loading

0 commit comments

Comments
 (0)