Skip to content

Commit

Permalink
Document logging of connection dropped by Weave NPC.
Browse files Browse the repository at this point in the history
  • Loading branch information
marccarre committed Nov 23, 2016
1 parent 0965ccd commit 09bf45d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions site/kube-addon.md
Expand Up @@ -65,6 +65,17 @@ Kubernetes see the
and the [NetworkPolicy API object
definition](http://kubernetes.io/docs/api-reference/extensions/v1beta1/definitions/#_v1beta1_networkpolicy).

### Dropped connections

Details on connections dropped by the Network Policy Controller can be found in the `weave-npc` container's logs:
```
$ kubectl logs $(kubectl get pods --all-namespaces | grep weave-net | awk '{print $2}') -n kube-system weave-npc
[...]
time="yyyy-MM-ddTHH:mm:ssZ" level=warning msg="TCP connection from 10.32.0.7:56648 to 10.32.0.11:80 dropped by Weave NPC.
time="yyyy-MM-ddTHH:mm:ssZ" level=warning msg="UDP connection from 10.32.0.7:56648 to 10.32.0.11:80 dropped by Weave NPC.
[...]
```

## Changing Configuration Options

You can change the default configuration by saving and editing the
Expand Down

0 comments on commit 09bf45d

Please sign in to comment.