Skip to content

Commit

Permalink
Replace logging level with INFO
Browse files Browse the repository at this point in the history
Signed-off-by: NSMBot <[email protected]>
  • Loading branch information
NSMBot committed Jun 3, 2024
1 parent 2fbfca4 commit f5afe63
Show file tree
Hide file tree
Showing 50 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion apps/admission-webhook-k8s/admission-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
- name: NSM_LABELS
value: spiffe.io/spiffe-id:true
- name: NSM_ENVS
value: NSM_LOG_LEVEL=TRACE
value: NSM_LOG_LEVEL=INFO
- name: NSM_SIDECAR_LIMITS_MEMORY
value: 80Mi
- name: NSM_SIDECAR_REQUESTS_MEMORY
Expand Down
2 changes: 1 addition & 1 deletion apps/forwarder-ovs/forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: NSM_SRIOV_CONFIG_FILE
value: /var/lib/networkservicemesh/smartnic.config
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_BRIDGE_NAME
value: br-nsm
- name: NSM_TUNNEL_IP
Expand Down
2 changes: 1 addition & 1 deletion apps/forwarder-sriov/forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_SRIOV_CONFIG_FILE
value: /var/lib/networkservicemesh/sriov.config
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/forwarder-vpp/forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_LISTEN_ON
Expand Down
2 changes: 1 addition & 1 deletion apps/nsc-kernel/nsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_NAME
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion apps/nsc-memif/nsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_NAME
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion apps/nsc-simple-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ services:
NSM_CONNECT_TO: tcp://k8s.nsm
NSM_FEDERATES_WITH: k8s.nsm
NSM_TRUST_DOMAIN: docker.nsm
NSM_LOG_LEVEL: TRACE
NSM_LOG_LEVEL: INFO
2 changes: 1 addition & 1 deletion apps/nsc-vfio/nsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_NETWORK_SERVICES
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-firewall-vpp/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: NSM_NAME
value: "$(POD_NAME)"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-kernel/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: NSM_NAME
value: "$(POD_NAME)"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-memif/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: NSM_NAME
value: "$(POD_NAME)"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: spire-agent-socket
mountPath: /run/spire/sockets
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-noop/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_SERVICE_NAMES
value: "pingpong: { addr: 0a:55:44:33:22:11 }"
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-remote-vlan/nse-remote-vlan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: NSM_LISTEN_ON
value: "tcp://:5003"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: spire-agent-socket
mountPath: /run/spire/sockets
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-simple-vl3-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ services:
NSM_CONNECT_TO: tcp://k8s.nsm
NSM_FEDERATES_WITH: k8s.nsm
NSM_TRUST_DOMAIN: docker.nsm
NSM_LOG_LEVEL: TRACE
NSM_LOG_LEVEL: INFO
2 changes: 1 addition & 1 deletion apps/nse-supplier-k8s/supplier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: spire-agent-socket
mountPath: /run/spire/sockets
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-vfio/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_SERVICE_NAMES
value: "pingpong: { addr: 0a:55:44:33:22:11 }"
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-vl3-vpp/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion apps/nse-vlan-vpp/nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/nsmgr-proxy/nsmgr-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_REGISTRY_URL
value: "registry:5002"
- name: NSM_REGISTRY_PROXY_URL
Expand Down
4 changes: 2 additions & 2 deletions apps/nsmgr/nsmgr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_REGISTRY_URL
value: "registry:5002"
# - name: DLV_LISTEN_NSMGR
Expand Down Expand Up @@ -86,7 +86,7 @@ spec:
name: exclude-prefixes
env:
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: exclude-prefixes-volume
mountPath: /var/lib/networkservicemesh/config/
Expand Down
2 changes: 1 addition & 1 deletion apps/registry-k8s/registry-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_LISTEN_ON
value: tcp://:5002
- name: NSM_PROXY_REGISTRY_URL
Expand Down
2 changes: 1 addition & 1 deletion apps/registry-memory/registry-memory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: NSM_LISTEN_ON
value: tcp://:5002
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_PROXY_REGISTRY_URL
value: nsmgr-proxy:5004
imagePullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion apps/registry-proxy-dns/registry-proxy-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: NSM_LISTEN_ON
value: tcp://:5005
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
imagePullPolicy: IfNotPresent
name: registry
ports:
Expand Down
2 changes: 1 addition & 1 deletion apps/vl3-ipam/vl3-ipam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: NSM_PREFIX
value: 172.16.0.0/16
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
imagePullPolicy: IfNotPresent
name: vl3-ipam
ports:
Expand Down
2 changes: 1 addition & 1 deletion apps/vl3-lb/lb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: NSM_PORT
value: "80"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: spire-agent-socket
mountPath: /run/spire/sockets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_REGISTER_SERVICE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_REGISTER_SERVICE
Expand Down
2 changes: 1 addition & 1 deletion examples/features/multiple-services/first-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: NSM_NAME
value: "$(POD_NAME)"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_CIDR_PREFIX
Expand Down
2 changes: 1 addition & 1 deletion examples/features/multiple-services/second-nse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: NSM_NAME
value: "$(POD_NAME)"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
- name: NSM_CIDR_PREFIX
Expand Down
2 changes: 1 addition & 1 deletion examples/features/mutually-aware-nses/nse-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion examples/features/mutually-aware-nses/nse-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_CONNECT_TO
value: unix:///var/lib/networkservicemesh/nsm.io.sock
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion examples/features/scale-from-zero/pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- name: NSM_IDLE_TIMEOUT
value: 15s
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
volumeMounts:
- name: spire-agent-socket
mountPath: /run/spire/sockets
Expand Down
2 changes: 1 addition & 1 deletion examples/features/select-forwarder/forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_TUNNEL_IP
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion examples/features/vl3-scale-from-zero/pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_SERVICE_NAMES
value: vl3-scale-from-zero
- name: NSM_REGISTER_SERVICE
Expand Down
2 changes: 1 addition & 1 deletion examples/heal_extended/component-restart/client-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_NAME
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion examples/heal_extended/component-restart/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: SPIFFE_ENDPOINT_SOCKET
value: unix:///run/spire/sockets/agent.sock
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: NSM_PREFIX_SERVER_URL
value: "tcp://vl3-ipam.ns-floating-vl3-basic.my.cluster3:5006"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: NSM_PREFIX_SERVER_URL
value: "tcp://vl3-ipam.ns-floating-vl3-basic.my.cluster3:5006"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: NSM_PREFIX_SERVER_URL
value: "tcp://vl3-ipam.ns-floating-vl3-dns.my.cluster3:5006"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: NSM_PREFIX_SERVER_URL
value: "tcp://vl3-ipam.ns-floating-vl3-dns.my.cluster3:5006"
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- name: NSM_IDLE_TIMEOUT
value: 15s
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- name: NSM_IDLE_TIMEOUT
value: 15s
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: NSM_IDLE_TIMEOUT
value: 240s
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_RULES_CONFIG_PATH
value: iptables-map/iptables-map.yaml
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: NSM_LABELS
value: any:true
- name: NSM_LOG_LEVEL
value: TRACE
value: INFO
- name: NSM_POD_DESCRIPTION_FILE
value: /run/supplier/pod-template.yaml
volumeMounts:
Expand Down
Loading

0 comments on commit f5afe63

Please sign in to comment.