aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/kubernetes/etcd.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-09-22 14:59:40 +0200
committerPeter Mikus <pmikus@cisco.com>2017-10-12 08:39:16 +0000
commit9a261ea61549fc6a5c23369d2e236b002dc35038 (patch)
tree8004f366007d3ee0210bbf099b71491bb412fe88 /resources/templates/kubernetes/etcd.yaml
parentf2573eccd38609fbc3d44f1fb9c706d08e50d49c (diff)
CSIT-748 vnf-agent integration
CSIT-773 Implement RF keywords for k8s - Implementation of Test Suite Setup for Ligato vnf-agent testing - Implementation of KubernetesUtil for controlling kubectl - Yaml templates for L2XC topology with 1cswitch and 1cnf - Yaml templates for L2BD topology with 1cswitch and 1cnf - ligato bootstrap script for creating vnf-agent image Change-Id: Iebefde0eb984a27a0afcdf29fe549ca4edf8a61e Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/kubernetes/etcd.yaml')
-rw-r--r--resources/templates/kubernetes/etcd.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/templates/kubernetes/etcd.yaml b/resources/templates/kubernetes/etcd.yaml
new file mode 100644
index 0000000000..66c1a57fad
--- /dev/null
+++ b/resources/templates/kubernetes/etcd.yaml
@@ -0,0 +1,25 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: etcdv3-server
+ namespace: csit
+spec:
+ hostNetwork: true
+ containers:
+ - image: quay.io/coreos/etcd:v3.0.16
+ name: etcdv3
+ command:
+ - /usr/local/bin/etcd
+ - --advertise-client-urls
+ - http://0.0.0.0:22379
+ - --listen-client-urls
+ - http://0.0.0.0:22379
+ - --listen-peer-urls
+ - http://0.0.0.0:22380
+ ports:
+ - containerPort: 22379
+ hostPort: 22379
+ name: serverport
+ env:
+ - name: ETCDCTL_API
+ value: "3"