Skip to content
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

Write how to setup dns discovery in Readme file #186

Closed
andrey-gava opened this issue Jan 24, 2021 · 1 comment · Fixed by #187
Closed

Write how to setup dns discovery in Readme file #186

andrey-gava opened this issue Jan 24, 2021 · 1 comment · Fixed by #187

Comments

@andrey-gava
Copy link
Contributor

andrey-gava commented Jan 24, 2021

Hello!

Despite fixed bug mentioned in #58 I still cant figure out how to make it work.
I tried to install last available chart version 3.5.4 with all default values except that I edited provided values.yaml
and set it like this

     kubernetes:
            enabled: true
            service-name: 
            service-dns: ${serviceName}
            namespace: ${namespace}

but hazelcast pods trow the same error in logs:
Exception in thread "main" com.hazelcast.config.InvalidConfigurationException: The configuration entry under hazelcast/network/join/kubernetes/service-name is null. Please check if the provided YAML configuration is well-indented and no blocks started without sub-nodes.
And no mater how I try to configure it, with 'null' value or even without 'service-name: ' string it still errors in logs.
Maybe I do it in wrong way?
And by the way when used with dns discovery mode do I set only rbac.create=false or full list like this:

rbac.create=false
serviceAccount.create=false
serviceAccount.automountToken=false

Cant someone put description on this to Readme file @leszko ?

@leszko leszko changed the title Wright how to setup dns discovery in Readme file Write how to setup dns discovery in Readme file Jan 25, 2021
@leszko
Copy link

leszko commented Jan 25, 2021

I update README in #187

Btw. here's the configuration you need:

hazelcast:
  yaml:
    hazelcast:
      network:
        join:
          kubernetes:
            service-dns: "${serviceName}.${namespace}.svc.cluster.local"
            service-name: ''
            namespace: ''
rbac:
  create: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants