Add a note on how to secure the Kubernetes Addon configuration.

Original author Vladimir Pouzanov <farcaller@google.com>
This commit is contained in:
Bryan Boreham committed 2019-10-12 11:08:57 +00:00
1 parent 753c7cce1e
commit 90e0c43bf2
1 file changed
+11
+11
View File
@@ -18,6 +18,7 @@ The following topics are discussed:
* [Troubleshooting Blocked Connections](#blocked-connections)
* [Things to watch out for](#key-points)
* [Changing Configuration Options](#configuration-options)
* [Securing The Setup](#securing-the-setup)
## <a name="install"></a> Installation
@@ -33,6 +34,8 @@ with a single command:
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
```
**Important:** this configuration won't enable encryption by default. If your data plane traffic isn't secured that could allow malicious actors to access your pod network. Read on to see the alternatives.
After a few seconds, a Weave Net pod should be running on each
Node and any further pods you create will be automatically attached to the Weave
network.
@@ -447,3 +450,11 @@ For example,
- name: IPALLOC_RANGE
value: 10.0.0.0/16
```
## <a name="securing-the-setup"></a> Securing the Setup
You must pass the `password-secret` option as noted in the previous section to enable the data plane encryption; this is a recommended option in case you cannot be sure about the security of the fabric between your nodes.
A different option is to use `trusted-subnets` and whitelist only the subnets that host your k8s nodes. Mind that depending on your circumstances that might allow a malicious container running in your cluster to access the weave dataplane, still.
Read on the [Securing Connections Across Untrusted Networks](/site/tasks/manage/security-untrusted-networks/) document to see the alternatives.