# Replace the cluster network segment

**URL:** <https://discuss.kubernetes.io/t/replace-the-cluster-network-segment/23402>\
**Category:** microk8s\
**Created:** [March 10, 2023, 8:06am UTC](https://discuss.kubernetes.io/t/replace-the-cluster-network-segment/23402 "2023-03-10T08:06:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fanxiaobei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/fanxiaobei/32/12016_2.png) [@fanxiaobei](https://discuss.kubernetes.io/u/fanxiaobei)\
**Post date:** [March 10, 2023, 8:06am UTC](https://discuss.kubernetes.io/t/replace-the-cluster-network-segment/23402/1 "2023-03-10T08:06:06Z")

</div>

I need to change the pod network segment of my cluster. How can I change the pod network segment of my cluster when the cluster is running

---

<div class="post-metadata">

**Author:** ![miah0x41](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/miah0x41/32/12630_2.png) [@miah0x41](https://discuss.kubernetes.io/u/miah0x41)\
**Post date:** [May 29, 2023, 2:25pm UTC](https://discuss.kubernetes.io/t/replace-the-cluster-network-segment/23402/2 "2023-05-29T14:25:20Z")

</div>

If you mean change the IP address range for the Pods then depending on your version of `microk8s` the documentation for [Changing Pod CIDR](https://microk8s.io/docs/change-cidr) has the required changes.
