aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/app-deployment/helm/charts/mynet.yaml
blob: ca3af9a7712703c9384eba86e9622b5a7ef19272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: mynet
spec:
  config: '{
    "cniVersion":"0.3.0"
    "name":"mynet"
    "plugins":[
    {
      "bridge":"kube-bridge",
      "ipam":{
        "subnet":10.244.0.0/24",
        "type":"host-local"
        },
        "isDefaultGateway":true,
        "type":"bridge"
      }
    ]
  }'