-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spire Server not listen the 8443 port by default #12543
Comments
Hi @anselmobattisti, |
@szvincze Thank you for your response. I find the usage of Spire quite challenging. It would be extremely helpful to include detailed information on how to verify whether Spire is functioning correctly in a multicluster environment. For instance, guidance on checking if the bundles are properly configured and identifying the specific pods and ports to inspect would greatly assist in ensuring everything is working as expected. |
For future references: To check if the federation was correctly configured. 1 - To verify if the bundles are correctly installed in the cluster3 execute kubectl logs spire-server-0 -n spire -c spire-server --context=kind-cluster3 And look for and entry similar to it. It means that the spire server was capable of refresh the bundle after requesting the cluster1 endpoint.
2 - List the bundles in cluster3
This will show the bundles in the server. The name of the bundle must be the same of the nsm domain (i dont know if it is the correct name)
3 - Extra hint Do not use the dynamic federation relationships in the example of NSM. Spire force the static configuration above the dynamic one. https://spiffe.io/docs/latest/deploying/spire_server/ Note: static relationships override dynamic relationships. If you need to configure dynamic relationships, see the federation command. Static relationships are not reflected in the federation command. |
Question
After installing the spire using the tutorial
https://github.com/networkservicemesh/deployments-k8s/tree/main/examples/interdomain/three_cluster_configuration/spiffe_federation
it should be possible to access the spire server in the port 8443. however it not working.
For some reason, the file https://github.com/networkservicemesh/deployments-k8s/blob/main/examples/spire/base/server-statefulset.yaml is only opening the port 8081
however in the file https://github.com/networkservicemesh/deployments-k8s/blob/main/examples/spire/cluster1/server.conf the bundle_endpoint_url requeires the port 8443
the endpoint
bundle_endpoint_url = "https://spire-server.spire.my.cluster2:8443"
To solve this problem i need to manually add the port 8443 to the service spire-server using a patch
How about to include this soluction in this example?
Examples
In a pod inside cluster1 after execute
it fails
Context
Other artifacts/Logs
Logs file from
kubectl cluster-info dump
:The text was updated successfully, but these errors were encountered: