Skip to content

How to get CLUSTER_CIDR and SERVICE_CIDR? #1215

Answered by sridhargaddam
ayr-ton asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Artyon

There's some place/configmap/command where I can confirm these values for sure?

Each CNI stores the cluster_cidr/service_cidr details in a different places. When using the operator based installation (using subctl), it internally tries to discover this info as shown here for various CNIs - https://github.com/submariner-io/submariner-operator/blob/f672e82a53b085430c71434f17e6db95814a2883/pkg/discovery/network/network.go#L64

And the cluster id?

SUBMARINER_CLUSTERID is just a unique name that you give to your cluster and need not match with any existing info of your cluster.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nyechiel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants