You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The KB_POD_FQDN environment variable, as described in the documentation, is supposed to represent the Fully Qualified Domain Name (FQDN) of the running Pod. However, the current value of KB_POD_FQDN does not fully comply with the FQDN definition.
For example:
Namespace: kubeblocks-cloud-ns
Pod Name: maize-69948d986f-mysql-1
Headless Service Name: maize-69948d986f-mysql-headless
Current KB_POD_FQDN value: maize-69948d986f-mysql-1.maize-69948d986f-mysql-headless.kubeblocks-cloud-ns.svc
The current value is missing the cluster domain suffix (e.g., .cluster.local), which is required for a fully qualified domain name.
Expected Behavior:
The KB_POD_FQDN environment variable should include the full FQDN, including the cluster domain suffix. For example:
Actual Behavior:
The KB_POD_FQDN environment variable does not include the cluster domain suffix, resulting in an incomplete FQDN.
Steps to Reproduce:
Deploy a KubeBlocks cluster in a namespace (e.g., kubeblocks-cloud-ns).
Access a running Pod (e.g., maize-69948d986f-mysql-1).
Check the value of the KB_POD_FQDN environment variable.
Observe that the value does not include the cluster domain suffix (e.g., .cluster.local).
Environment:
Kubernetes: v1.27.11
KubeBlocks: 0.9.3-beta.24
kbcli: 0.9.2
WARNING: version difference between kbcli (0.9.2) and kubeblocks (0.9.3-beta.24)
Additional Context:
This issue may affect applications or services that rely on the KB_POD_FQDN environment variable to resolve the full FQDN of the Pod.
Proposed Solution:
Update the logic that sets the KB_POD_FQDN environment variable to include the cluster domain suffix, ensuring it complies with the FQDN definition.
The text was updated successfully, but these errors were encountered:
Description:
The
KB_POD_FQDN
environment variable, as described in the documentation, is supposed to represent the Fully Qualified Domain Name (FQDN) of the running Pod. However, the current value ofKB_POD_FQDN
does not fully comply with the FQDN definition.For example:
kubeblocks-cloud-ns
maize-69948d986f-mysql-1
maize-69948d986f-mysql-headless
KB_POD_FQDN
value:maize-69948d986f-mysql-1.maize-69948d986f-mysql-headless.kubeblocks-cloud-ns.svc
The current value is missing the cluster domain suffix (e.g.,
.cluster.local
), which is required for a fully qualified domain name.Expected Behavior:
The
KB_POD_FQDN
environment variable should include the full FQDN, including the cluster domain suffix. For example:Actual Behavior:
The
KB_POD_FQDN
environment variable does not include the cluster domain suffix, resulting in an incomplete FQDN.Steps to Reproduce:
kubeblocks-cloud-ns
).maize-69948d986f-mysql-1
).KB_POD_FQDN
environment variable..cluster.local
).Environment:
Kubernetes: v1.27.11
KubeBlocks: 0.9.3-beta.24
kbcli: 0.9.2
WARNING: version difference between kbcli (0.9.2) and kubeblocks (0.9.3-beta.24)
Additional Context:
This issue may affect applications or services that rely on the
KB_POD_FQDN
environment variable to resolve the full FQDN of the Pod.Proposed Solution:
Update the logic that sets the
KB_POD_FQDN
environment variable to include the cluster domain suffix, ensuring it complies with the FQDN definition.The text was updated successfully, but these errors were encountered: