Skip to content

Commit 0fbd0c8

Browse files
ericpaulsenKatie Horne
andauthored
clarify network policy implementations (coder#203)
* clarify network policy implementations * fix: lint * let's try that again * Minor clarifications * More clarifications Co-authored-by: Katie Horne <katie@coder.com>
1 parent 8f222e6 commit 0fbd0c8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

setup/kubernetes/azure.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ az aks create \
7878
--network-policy "calico"
7979
```
8080

81+
> [AKS offers built-in
82+
support](https://docs.microsoft.com/en-us/azure/aks/use-network-policies#create-an-aks-cluster-and-enable-network-policy)
83+
for the
84+
[Calico](https://docs.projectcalico.org/getting-started/kubernetes/managed-public-cloud/gke)
85+
network policy engine, and you can opt-in by including the `--network-policy
86+
"calico"` flag.
87+
>
88+
> However, you can only choose Calico as your network policy option when you
89+
create the cluster; you cannot enable Calico on an existing cluster.
90+
8191
This process might take some time (~5-20 minutes), but if you're successful,
8292
Azure returns a JSON object with your cluster information.
8393

setup/kubernetes/google.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ clusters create "$NEW_CLUSTER_NAME" \
4646
--max-nodes "8"
4747
```
4848

49+
> The example above includes the use of the `enable-network-policy` flag, which will
50+
result in the [creation of a Calico
51+
cluster](https://kubernetes.io/docs/tasks/administer-cluster/network-policy-provider/calico-network-policy/).
52+
4953
To create clusters capable of supporting use of the
5054
[CVMs](../../admin/environment-management/cvms.md) deployment option:
5155

0 commit comments

Comments
 (0)