Get rid of useless skydive configMap and ovs part
@@ -22,41 +22,34 @@ spec:
---
apiVersion: v1
kind: ConfigMap
-metadata:
- labels:
- app: skydive-analyzer
- name: skydive-analyzer-config
-data:
- SKYDIVE_ANALYZER_FLOW_BACKEND: memory
- SKYDIVE_ANALYZER_TOPOLOGY_BACKEND: memory
- SKYDIVE_LOGGING_LEVEL: DEBUG
- SKYDIVE_ETCD_LISTEN: 0.0.0.0:12379
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- labels:
- app: skydive-agent
- name: skydive-agent-config
----
-apiVersion: v1
-kind: ConfigMap
metadata:
name: skydive-analyzer-config-file
data:
skydive.yml: |
+ storage:
+ mymemory:
+ driver: memory
+
+ logging:
+ level: DEBUG
+
agent:
topology:
probes:
- docker
analyzer:
+ listen: 0.0.0.0:8082
topology:
probes:
- nsm
+ backend: mymemory
+ flow:
+ backend: mymemory
etcd:
data_dir: /tmp/skydive/etcd
+ listen: 0.0.0.0:12379
ui:
topology:
@@ -85,16 +78,12 @@ spec:
imagePullPolicy: IfNotPresent
args:
- analyzer
- - --listen=0.0.0.0:8082
ports:
- containerPort: 8082
- containerPort: 8082
protocol: UDP
- containerPort: 12379
- containerPort: 12380
- envFrom:
- - configMapRef:
- name: skydive-analyzer-config
livenessProbe:
httpGet:
port: 8082
@@ -135,9 +124,6 @@ spec:
env:
- name: SKYDIVE_ANALYZERS
value: "$(SKYDIVE_ANALYZER_SERVICE_HOST):$(SKYDIVE_ANALYZER_SERVICE_PORT_API)"
- envFrom:
- - configMapRef:
- name: skydive-agent-config
securityContext:
privileged: true
volumeMounts:
@@ -145,8 +131,6 @@ spec:
mountPath: /var/run/docker.sock
- name: run
mountPath: /host/run
- - name: ovsdb
- mountPath: /var/run/openvswitch/db.sock
volumes:
- name: docker
hostPath:
@@ -154,6 +138,3 @@ spec:
- name: run
hostPath:
path: /var/run/netns
- - name: ovsdb
- hostPath:
- path: /var/run/openvswitch/db.sock
