You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-33Lines changed: 25 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,27 +10,26 @@
10
10
11
11
# Citrix k8s node controller
12
12
13
-
Citrix k8s node controller is deployed as a pod in Kubernetes cluster that provides a network between the Kubernetes cluster and the Ingress Citrix ADC.
14
-
15
-
>**Note:**
16
-
>Citrix k8s node controller currently works only with flannel as the Container Network Interface (CNI). The scope of Citrix node controller can be extended to other CNI.
13
+
Citrix k8s node controller is a micro service provided by Citrix that creates network between the Kubernetes cluster and ingress device.
17
14
18
15
## Contents
19
16
20
-
+[Overview](#Overview)
21
-
+[Architecture](#Architecture)
22
-
+[How it works](#How-it-works)
23
-
+[Get started](#Get-started)
24
-
+[Questions](#Questions)
25
-
+[Issues](#Issues)
26
-
+[Code of conduct](#Code-of-conduct)
27
-
+[License](#License)
17
+
+[Overview](#overview)
18
+
+[Architecture](#architecture)
19
+
+[How it works](#how-it-works)
20
+
+[Get started](#get-started)
21
+
+[Using Citrix k8s node controller as a process](#using-citrix-k8s-node-controller-as-a-process)
22
+
+[Using Citrix k8s node controller as a microservice](#using-citrix-k8s-node-controller-as-a-microservice)
23
+
+[Questions](#questions)
24
+
+[Issues](#issues)
25
+
+[Code of conduct](#code-of-conduct)
26
+
+[License](#license)
28
27
29
28
## Overview
30
29
31
30
In Kubernetes environments, when you expose the services for external access through the Ingress device, to route the traffic into the cluster, you need to appropriately configure the network between the Kubernetes nodes and the Ingress device. Configuring the network is challenging as the pods use private IP addresses based on the CNI framework. Without proper network configuration, the Ingress device cannot access these private IP addresses. Also, manually configuring the network to ensure such reachability is cumbersome in Kubernetes environments.
32
31
33
-
Citrix k8s node controller is deployed as a pod in Kubernetes cluster that provides a network between the Kubernetes cluster and the Ingress Citrix ADC.
32
+
Citrix provides a microservice called as **Citrix k8s node controller**that you can use to create the network between the cluster and the Ingress device.
34
33
35
34
## Architecture
36
35
@@ -48,47 +47,36 @@ The are the main components of the Citrix k8s node controller:
48
47
This **K8s Interface** component interacts with the Kube API server through K8s Go client. It ensures the availability of the client and maintains a healthy client session.
49
48
</details>
50
49
<details>
51
-
<summary>**Node Watcher**</summary>
52
-
The **Node Watcher** component monitors the node events through K8s interface. It responds to the node events such as node addition, deletion, or modification with its callback functions.
53
-
</details>
54
-
<details>
55
50
<summary>**Input Feeder**</summary>
56
51
The **Input Feeder** component provides inputs to the config decider. Some of the inputs are auto detected and the rest are taken from the Citrix k8s node controller deployment YAML file.
57
52
</details>
58
53
<details>
59
-
<summary>**Config Decider**</summary>
60
-
The **Config Decider** component takes inputs from both the node watcher and the input feeder. Using the inputs it decides the best network automation required between the cluster and Citrix ADC.
61
-
</details>
62
-
<details>
63
54
<summary>**Core**</summary>
64
55
The **Core** component interacts with the node watcher and updates the corresponding config engine. It is responsible for starting the best config engine for the corresponding cluster.
65
56
</details>
66
57
<details>
67
58
<summary>**Config Maps**</summary>
68
-
The **Config Maps** component controls the Citrix k8s node controller. It allows you to define the Citrix k8s node controller to automatically create, apply, and delete routing configuration on Citrix ADC.
59
+
The **Config Maps** component controls the Citrix k8s node controller. It allows you to define Citrix k8s node controller to automatically create, apply, and delete routing configuration on Citrix ADC.
69
60
</details>
70
61
71
62
## How it works
72
63
73
-
Citrix k8s node controller monitors the node events and establishes a route between the cluster nodes and Citrix ADC using VXLAN. Citrix k8s node controller adds a route on the Citrix ADC when a new node joins to the cluster. Similarly when a node leaves the cluster, Citrix k8s node controller removes the associated route from the Citrix ADC. Citrix k8s node controller uses VXLAN overlay between the Kubernetes cluster and Citrix ADC for service routing.
64
+
Citrix k8s node controller monitors the node events and establishes a route between the node to Citrix ADC using VXLAN. Citrix k8s node controller adds route on the Citrix ADC when a new node joins to the cluster. Similarly when a node leaves the cluster, Citrix k8s node controller removes the associated route from the Citrix ADC. Citrix k8s node controller uses VXLAN overlay between the Kubernetes cluster and Citrix ADC for service routing.
74
65
75
66
## Get started
76
67
77
-
Citrix k8s node controller can be used in the following two ways:
68
+
You can run Citrix k8s node controller as:
78
69
79
-
-**Inside the cluster**- In this configuration, the Citrix k8s node controller is run as **pod**.
80
-
-**Outside the cluster**- In this configuration, the Citrix k8s node controller is run as a **process**.
70
+
-A **microservice**inside the Kubernetes cluser.
71
+
-A **process**outside the Kubernetes cluster.
81
72
82
73
>**Important:**
83
-
>Citrix recommends that you use **Inside the cluster** configuration for production. And, use the **Outside the cluster** configuration for development environments.
84
-
85
-
### Using Citrix k8s node controller as a pod
86
-
87
-
Refer the [deployment](deploy/README.md) page for running Citrix k8s node controller as a pod inside the Kubernetes cluster.
74
+
>
75
+
>Citrix recommends that you use Citrix k8s node controller as a **microservice** for production environments. And, as a **process** for easy development.
88
76
89
77
### Using Citrix k8s node controller as a process
90
78
91
-
Before you deploy the citrix-k8s-node-controller package, ensure that you have installed [Go package](https://golang.org/doc/).
79
+
Before you deploy the citrix-k8s-node-controller` package, ensure that you have installed Go binary for running MIC.
92
80
93
81
Perform the following:
94
82
@@ -100,7 +88,11 @@ Perform the following:
100
88
101
89
1. Deploy the config map using the following command:
0 commit comments