grouper-users - Re: [grouper-users] Containerized Grouper and Secrets
Please Wait...
grouper-users@internet2.edu
Subject: Grouper Users - Open Discussion List
List archive
- From: Darren Boss <darren.boss@computecanada.ca>
- To: grouper-users@internet2.edu
- Subject: Re: [grouper-users] Containerized Grouper and Secrets
- Date: Wed, 25 Apr 2018 21:47:59 +0000
- Ironport-phdr: 9a23:E/I3zhcmkzb7maQ4J9zouKDYlGMj4u6mDksu8pMizoh2WeGdxcW5Zx7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+t4b1rSBv1gykZMTA3/nzchshpgK9bpR6soQF0zYzJb4GPLPdxca3dctEaS2RPXchfSjJPDZ+nYoQVE+YMJ/xVo5Xhq1YMqxa1GAmiBPnoyj9NnnL407c10/47EQ7Y2gwrAs8DsHPPrNXuKawfVv26w7PSzTXZcfxW3y3x55PPchA6uvGBRq5/cc3UyUk3CgPFkkufppD/MDOTzOsCrnKU4/B8Wu21kmMqrRx6rDaoxscpkIbJh4QVx0jY+ipjxIY6OcC4SEpnbtG+FptfrTyVOJFsTsw+WW5koCk6yroBuZ60eCgF1o4ryALYa/yCa4SH/hXjVOOJITdlmHJqZq6wiAy08Ue61+LzTNO430pQoSdDj9LCtWgN2gTN5sedVvdx4kKs1SuA2g3T9u1JJE85mbbHJ5E9x7M/ioYfvEDGEyLzhkn7gq6be0M58eay8evneK/pppqEOo90lA7+NqMul9S6AesiMwgOW3GX+Oq51LH/5EH4T6tGg/M3n6XDv5DaIsMbpqG9AwBLyIos9xG/DzK+3NQZm3kIMk5FdQqZg4fzJ13CPPX1AeqwjlmsjDtmwv/LMqH9DprRK3XMjKvtcLJ45kNZ1gY+w9FS64pRCr4bIfLzXkHxtMbfDh88KwG73vzoCM9n1owAX2KDGLSWMKTJsV+T/e8gP+6MZIoNuDbgN/gq+eLhgmU/mVAHYKamx4EbZ2yiEfh+OUWWfWLsgssdEWcNpgc+Q/bqiFqfUT5LeXmyRbsw5iwgCI24F4fDXZuggLiA3CegAp1WfX5KBkqNEXfua4WLRe0MaCSMLc99jDAIT6auRJI81ULmiAivxKBgM/LZ4GgFrp/5z/B04fHejxc/6WYyAsiAgE+XSGQhsmoSXTIwlIp4ulc1nluKy7J1hbpSEsdIz/hOVx8nKZPXxupzB9m0UQuXLYTBc0qvXtjzWWJ5ddk22dJbJhtw
I have not played with EKS but I do know some other companies around the Ottawa area that are although Shopify moved to GKE in a very public way. You can always deploy K8s into AWS if EKS is still rough around the edges on your own but that's becoming a larger commitment to K8s at that point.
-- As for how we are deploying at Compute Canada, we are building our own K8s clusters on top of OpenStack (which we also deploy on our own hardware) at the moment, something you could do on Jetstream for example.
We are interested in Vault as well, for both K8s deployed application and in conjunction with our Puppet deployments but we aren't quite there yet.
Once we have something getting closer to production worthy I'm interested in sharing some of the yaml k8s assets with the community if there is interest. I could see having a Helm deployment of Grouper at some point.
On Wed, Apr 25, 2018 at 4:26 PM Jack Stewart <mjstew@umich.edu> wrote:
Darren,Right now I'm liking the S3 bucket idea.But, while I know AWS EKS (Elastic Container Services for Kubernetes) is a while off, how do you think this would look in AWS?Thanks, JackOn Wed, Apr 25, 2018 at 3:44 PM, Darren Boss <darren.boss@computecanada.ca> wrote:If you are using Kubernetes then you can do this with secrets and config maps. Both secrets and config maps can be read from files which are then stored in etcd and can be mounted into the docker image as files so you don't have to bake them into the Docker images.--I've done this for Shibboleth IdP deployment and was planning to do this for Grouper as well but haven't got that far yet.On Wed, Apr 25, 2018 at 1:03 PM Greg Haverkamp <gahaverkamp@lbl.gov> wrote:On Wed, Apr 25, 2018 at 9:48 AM, Jack Stewart <mjstew@umich.edu> wrote:I would like to start out by saying that the new role-based Grouper containers are great! It was very easy to build the images.Are you referring to the TIER image?Now my question is, what are other schools doing with regard to their Grouper configurations? Are you "burning them into" storing them in the containers themselves, or are you using secrets?Converting an application like Grouper to use secrets would be a LOT of work. Effectively, you would need to convert all of the settings to environment variables. How would you deal with the sources.xml files which, by design, need to be customized?We had just been wrestling with secrets-management, and I was mid-roll-out of Hashicorp Vault as a generalized solution. So, in my current form, which I just deployed last week, I take the TIER image, use Docker Secrets to bootstrap the Vault credentials, and then use consul-template to present the secrets to Grouper. I store all of the generated config files in a tmpfs volume, so they go away when the container is stopped. I've got a few more tweaks, but I'm largely pleased with where it is now.I decided to go the Vault route for a couple of reasons. One was that I already had Vault running, though not actually doing much. The other was that we have other plans for Vault and secrets management that Docker Secrets don't solve, in particular around dynamically generated secrets. (Now that Vault can dynamically generate Google Service Account keys, I'm looking at modifying the google-apps-provisioner to deal with JSON files... That, or I'll write a consul-template plugin to write out a pkcs12 file.) And finally, we didn't really want to be wedded to Swarm. Swarm is conveniently for on-prem, but that's not where we see our future.GregMany thanks,Jack--Jack StewartSolutions Architect, Identity and Access ManagementUniversity of Michigan(c) 919.525.0083Darren Boss
Senior Programmer/Analyst
Programmeur-analyste principal
darren.boss@computecanada.ca
(o) 416.228.1234 x 230--Jack StewartSolutions Architect, Identity and Access ManagementUniversity of Michigan
Darren Boss
Senior Programmer/AnalystProgrammeur-analyste principal
darren.boss@computecanada.ca
(o) 416.228.1234 x 230
155 University Ave, Suite 302 Toronto, ON M5H 3B7
www.computecanada.ca / www.calculcanada.ca
@ComputeCanada
- [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/25/2018
- RE: [grouper-users] Containerized Grouper and Secrets, Hyzer, Chris, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, John Schrader, 04/29/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/30/2018
- Re: [grouper-users] Containerized Grouper and Secrets, John Schrader, 04/29/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/26/2018
- RE: [grouper-users] Containerized Grouper and Secrets, Hyzer, Chris, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Greg Haverkamp, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Greg Haverkamp, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/25/2018
Archive powered by MHonArc 2.6.19.