0

Deploy kubevela using the kind cluster, but the deployed pod network segments all start with 10.24. I want to switch to 172.16. How should I configure it, my friends?

my pods ip

zekee
  • 15
  • 3

1 Answers1

0

Based on documentation

You can configure the subnet used for pod IPs by setting

So create file eg config.yaml with following content:

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  podSubnet: "172.16.0.0/16"

Use this file while creating cluster

kind create cluster --config config.yaml 
rkosegi
  • 14,165
  • 5
  • 50
  • 83