consul-on-kubernetes icon indicating copy to clipboard operation
consul-on-kubernetes copied to clipboard

ACLs Disabled

Open rradkris opened this issue 7 years ago • 0 comments

Hi, I've setup a 3 nodes kubernetes consul cluster and able to access the consul UI (localhost:8500/ui). Further, I'm trying test the services by login into the individual consul nodes and issue (curl -l http://localhost:8500/ui/) for health check. But, I got the the error message "ACLs are disabled in this Consul cluster. This is the default behavior, as you have to explicitly enable them". so, i'm trying to enable the ACL by made the following configurations under /consul/config/master.json and restarting all the three nodes one by one. But, the ACL seems to be not enabled at the end and not sure any issues in the configuration. so, I want to understand any configurations/steps missing here. It would be great if you could share your thoughts. Thanks.

{ "acl_datacenter":"mydc", "acl_default_policy":"allow", "acl_down_policy":"allow", "acl_master_token":<TOKEN> }

https://www.consul.io/docs/guides/acl.html#bootstrapping-acls http://jovandeginste.github.io/2016/05/04/turning-on-acl-s-in-our-consul-cluster.html

rradkris avatar Aug 15 '17 20:08 rradkris