summaryrefslogtreecommitdiffstats
path: root/src/plugins/kubeproxy.am
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-08-29 01:00:42 +0800
committerDave Wallace <dwallacelf@gmail.com>2017-12-18 13:55:45 +0000
commitc91f50242f384da67ad7a634dbe26276e67efd91 (patch)
treee784ffaf15d3f5240fdef44f522feb5c4307b54d /src/plugins/kubeproxy.am
parent42998828c9bfa419ff3d9c68fd50cd148e24d4e4 (diff)
Support kube-proxy data plane
This plugin provides kube-proxy data plane on user space, which is used to replace linux kernal's kube-proxy based on iptables. The idea is largely inspired from VPP LB plugin. Currently, kube-proxy plugin supports three service types: 1) Cluster IP plus Port: support any protocols, including TCP, UDP. 2) Node IP plus Node Port: currently only support UDP. 3) External Load Balancer. Please refer to kp_plugin_doc.md for details. Change-Id: I36690e417dd26ad5ec1bd77c7ea4b8100416cac6 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/plugins/kubeproxy.am')
-rw-r--r--src/plugins/kubeproxy.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/plugins/kubeproxy.am b/src/plugins/kubeproxy.am
new file mode 100644
index 00000000000..50e7e2fc1a4
--- /dev/null
+++ b/src/plugins/kubeproxy.am
@@ -0,0 +1,38 @@
+# Copyright (c) 2017 Intel Corporation, Inc.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+vppapitestplugins_LTLIBRARIES += kubeproxy_test_plugin.la
+vppplugins_LTLIBRARIES += kubeproxy_plugin.la
+
+kubeproxy_plugin_la_SOURCES = \
+ kubeproxy/kp.c \
+ kubeproxy/kp_node.c \
+ kubeproxy/kp_cli.c \
+ kubeproxy/kp_api.c
+
+BUILT_SOURCES += \
+ kubeproxy/kp.api.h \
+ kubeproxy/kp.api.json
+
+API_FILES += kubeproxy/kp.api
+
+noinst_HEADERS += \
+ kubeproxy/kp.h \
+ kubeproxy/kphash.h \
+ kubeproxy/kp.api.h
+
+kubeproxy_test_plugin_la_SOURCES = \
+ kubeproxy/kp_test.c \
+ kubeproxy/kp_plugin.api.h
+
+# vi:syntax=automake