#lax - October 2019

laxArchived
29 messages

A place for people in (and around!) Los Angeles
Archive: https://archive.sweetops.com/lax/

October 2019
btai
btaiabout 7 years ago
Hear from @Jake Lundberg (Coder) and his colleague next Thursday in Santa Monica!

https://www.meetup.com/West-LA-DevOps/events/265221538/
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
btai
btaiabout 7 years ago
oof I don’t like that @Erik Osterman (Cloud Posse)
btai
btaiabout 7 years ago
I definitely don’t want our members pay to rsvp. at the same time I’d say our attendance rate is about 40~50% of the total rsvps
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
@btai @Corey Gale good tip yesterday at the meet up about setting up a pass thru registry for Docker to mitigate the effects of a Docker hub outage
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
I think mirroring the images to ECR is a PIA
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
But in researching this some more, I learned about the registry mirror option built into Docker
btai
btaiabout 7 years ago
Pia?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
Looks like this is natively supported by Kops
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
So it seems like it’s easy enough to deploy a pass thru registry in cluster and then configure the mirror to use it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
Not sure what happens if the mirror is offline - I presume it attempts upstream
Corey Gale
Corey Galeabout 7 years ago
@Corey Gale has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
@Jeremy G we should add this to next rollout
Jeremy G (Cloud Posse)
Jeremy G (Cloud Posse)about 7 years ago
Maybe go all the way and use something like Artifactory to be the pull-through cache for everything, not just docker images. https://jfrog.com/artifactory/features/
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago(edited)
I just don’t know where the line is drawn between open source and enterprise. Artifactory is cool and all, but I know their pricing is insane.
btai
btaiabout 7 years ago
@Erik Osterman (Cloud Posse) is there a big difference in registry mirroring vs just pushing to 2 different registries?
btai
btaiabout 7 years ago
you could do them in parallel in ci step (push to codefreshf registry + push to ECR)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
chances are you don't rely on just your software
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
in our case: prometheus, grafana, keycloak, gatekeeper, kubecost, and 2 dozen other third-party vendors
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
sure you can take on the burden of pushing those to your own repos - that's great (but a lot of work)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
or you can just use a mirror that that has a pull-through cache (as you describe) and address the immediate risk of being crippled by upstream outages.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
I'd argue:
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
1) from a security perspective, you should explicitly replicate or produce an image in your own repo for every package you depend on. for smaller team, this might be a lot of overhead. it will shield you also from upstream outages.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
2) from an HA perspective, the registry mirror is sufficient.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
80/20 rule
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
option (1) is 80% more work with 20% more benefit
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 7 years ago
😃
btai
btaiabout 7 years ago
👍️ great response erik