Skip to content

samba client pod is not coming up after k apply -f client-test-pod.yaml #90

Answered by mrrajan
mwaykole asked this question in Q&A
Discussion options

You must be logged in to vote

The issue with must-join failure is coredns of k8s cluster couldnt connect to the outside world where the windows AD lives in.
To check whether k8s cluster able to reach out to your domain, setup a pod with "gcr.io/kubernetes-e2e-test-images/dnsutils:1.3" image on the same k8s cluster and run dig command. if the query status is "NXDOMAIN", then we need to teach our coredns of our cluster to reach out the windows AD DC.

To do this, copy the file https://github.com/samba-in-kubernetes/samba-operator/blob/master/tests/files/coredns-snippet.template. Replace "domain1.sink.test" to your realmname and change "AD_SERVER_IP" to the actual IP of the Domain Controller on this template.

Run "kubectl…

Replies: 16 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phlogistonjohn
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phlogistonjohn
Comment options

Comment options

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

This discussion was converted from issue #83 on August 19, 2021 11:03.