#random - February 2019

314 messages

A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.
Archive: https://archive.sweetops.com/random/

February 2019
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
“Panic Early”
Michal Matyjek
Michal Matyjekover 7 years ago(edited)
whatever happened in kubernetes.slack.com slack channel(s) right now.... wtf is wrong with some people
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
what happened?
chrism
chrismover 7 years ago
chrism
chrismover 7 years ago
Handy in a day to day sort of way 😄
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@Michal Matyjek ☝️
Richy de la cuadra
Richy de la cuadraover 7 years ago
any body knows a method for get picture object contour (cars ,vehicles) to get somethig like this?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Vectorization?
Richy de la cuadra
Richy de la cuadraover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
do you need to do this programmatically or just a one-off
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i do this all the time for one-offs
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
there are (a) some good ios apps (b) vectorizer for osx
Richy de la cuadra
Richy de la cuadraover 7 years ago
programmatically, i try to make a car photo assistant app for help to the people get awesome pictures for the stock,
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
erik
erikover 7 years ago
Ryan Smith
Ryan Smithover 7 years ago
bumping into this stud muffin on the net
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
lol
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
it's amazing how often this is happening to me now too
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
most recently in chamber
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i think we have 3-4 members here opening PRs there
erik
erikover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
We love metabase
Nikola Velkovski
Nikola Velkovskiover 7 years ago
oh yeah, it's one hell of a software
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
up vote us! 😃
Krit
Kritover 7 years ago
It almost sounds like a bad joke.. But this resonates quite a bit with (fortunately short lived) past experiences.
joshmyers
joshmyersover 7 years ago
fuuuuuuuck
joshmyers
joshmyersover 7 years ago
Big reddit0r, will chime in on this one
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Gonzalo Peci
Gonzalo Peciover 7 years ago
I would appreciate some feedback https://github.com/segmentio/chamber/pull/187
joshmyers
joshmyersover 7 years ago
@Gonzalo Peci Nice!
joshmyers
joshmyersover 7 years ago
Looks great, only think I could suggest is maybe some tests as some of the other commands have
Gonzalo Peci
Gonzalo Peciover 7 years ago
Yeah, its on the todo, im waiting first for confirmation they want that change
joshmyers
joshmyersover 7 years ago
Makes sense 👍️
Gonzalo Peci
Gonzalo Peciover 7 years ago
I dont want to build the tests and S3 support and get a rejection 😧
joshmyers
joshmyersover 7 years ago
true dat
joshmyers
joshmyersover 7 years ago
ah spotted your TODO. Looks nice!
Gonzalo Peci
Gonzalo Peciover 7 years ago
If you liked that, you should like this even better
https://github.com/segmentio/chamber/pull/188
joshmyers
joshmyersover 7 years ago
Nice
joshmyers
joshmyersover 7 years ago
Gonzalo Peci
Gonzalo Peciover 7 years ago(edited)
Yeah, i quite like it and actually it was out of the same frustration 😄
Gonzalo Peci
Gonzalo Peciover 7 years ago
I was going to use tfenv but was worth PRing chamber direcly as we use it in our workflow
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
just be cautious about writing secrets to disk
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
they tend to linger around
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
which defeats the purposes/advantages of chamber
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Wow "We do know they ask your browser to draw an invisible image"
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yea, pretty insane
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago

virtual machine uses their own language, which they encrypt twice.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)

language is decoded with a key that is changed by the process of reading the language, and the language also changes as it is read.
Nikola Velkovski
Nikola Velkovskiover 7 years ago
I was suspecting that they check the mouse movements like trying to get to the box is not a movement done in one go, but this... 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yea, seems like they sample everything they can, encode it in an image, then use ML+AI to identify anomalies.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago

Almost everyone on the Internet uses something owned by Google – search, mail, ads, maps – and as you know Google Tracks All Of Your Things. When you click that checkbox, Google reviews your browser history to see if it looks convincingly human.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
freggin crazy
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
so basically, clicking on the box is just a gimmick.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
the second you land on that page, they basically know who you are, and if you do normal “human” stuff.
Abel Luck
Abel Luckover 7 years ago
and yet with all that, I still have to click boxes of fire hydrants, traffic lights and cross walks all day 😐️
Nikola Velkovski
Nikola Velkovskiover 7 years ago
🙂
ols
olsover 7 years ago
Yeah I was thinking that. If it's so smart then why do I keep having to prove myself
ols
olsover 7 years ago
Unless I give off robotic tendencies
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
haha, yea, that’s true - forgot about that and how often that happens
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
now i’ll just take offense when I see it next time
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
rather than thinking I was just helping the greater good disambiguate images
Ryan Smith
Ryan Smithover 7 years ago
stobiewankenobi
stobiewankenobiover 7 years ago
haha
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Haha biting my tounge
Alexander Tolstikov
Alexander Tolstikovover 7 years ago
🍿
erik
erikover 7 years ago
Here's why we need a tool like helm and why I don't back any of the dozens of "kubernetes templating" approaches for deploying apps.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
TL;DW: helm is not about templating
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
helm is about package management and defining an interface for that which is "configuratino management tool agnostic"
stobiewankenobi
stobiewankenobiover 7 years ago
Yeah I agree with it's model for those purposes
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
1000s of ways exist to templatize and deploy resources on k8s
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
but (1) thing exists today for keeping a registry of apps installed: helm
stobiewankenobi
stobiewankenobiover 7 years ago
Yes
stobiewankenobi
stobiewankenobiover 7 years ago
In my blog I talk about how you can use helm and my model together
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
terraform for k8s installation will work well within an organization
stobiewankenobi
stobiewankenobiover 7 years ago
Because I see the value of helm for versioning/history
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
but not translate well across organizatinos
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
and terraform for writing values.yaml is insufficient b/c the lack of conditinoals
stobiewankenobi
stobiewankenobiover 7 years ago
Can you share an example of what you're talking about with that?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
stobiewankenobi
stobiewankenobiover 7 years ago
That's not a values.yaml file?
stobiewankenobi
stobiewankenobiover 7 years ago
that's helm templating is it not?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yep
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
stobiewankenobi
stobiewankenobiover 7 years ago
I see
stobiewankenobi
stobiewankenobiover 7 years ago
Terraform 0.12 will do all of this
stobiewankenobi
stobiewankenobiover 7 years ago
But sure, I get the value today of the complex templating if you have need for it
stobiewankenobi
stobiewankenobiover 7 years ago
Question for you, the biggest thing I was trying to solve/annoyance I have, is how everything is hardcoded
stobiewankenobi
stobiewankenobiover 7 years ago
IAM role arns for kube2iam, acm arns, etc...
stobiewankenobi
stobiewankenobiover 7 years ago
how do you get around hard coding values?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
so terraform 0.12 + conditional templating of values will make it much more appealing as a way to install apps using helm
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
that said, helmfile is still better
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
helmfile diff -> like terraform plan
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
so the "terraform interface" for installing helm releases in 0.12 will look nice. then there are some implementation things I'd like to see before considering it.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
there's also the argument to be had that helm is like dpkg or rpm; we need a tool like apt-gt or yum that sits on top of it. terraform is not that tool IMO.
stobiewankenobi
stobiewankenobiover 7 years ago
I agree with that statement
stobiewankenobi
stobiewankenobiover 7 years ago
But I come back to my biggest gripe (not jsut with helm but with all templating tools not terraform)
stobiewankenobi
stobiewankenobiover 7 years ago

>>Question for you, the biggest thing I was trying to solve/annoyance I have, is how everything is hardcoded

IAM role arns for kube2iam, acm arns, etc...
how do you get around hard coding values?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
ENVs 😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
so i think your gripe is with the stastic nature of values.yaml
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(btw, recommend not using kube2iam and instead moving to kiam)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
kube2iam will DoS AWS APIs and get them to block your account
stobiewankenobi
stobiewankenobiover 7 years ago
Ah I will look at kiam
stobiewankenobi
stobiewankenobiover 7 years ago
good to know, I haven't had the issue with kube2iam yet, what scale do you hit that? We have around 10,000 pods atm
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
here's how we parameterize the iam roles
stobiewankenobi
stobiewankenobiover 7 years ago
Even with external-iam-role, where are you getting that value?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
if you have one pod that specifies the wrong role, kube2iam will keep hitting that
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
if you have lots of machines, it will keep retrying since every machine keeps it's own cache
stobiewankenobi
stobiewankenobiover 7 years ago
Ah..but I never have that, since it's always templated with remote state from tf
stobiewankenobi
stobiewankenobiover 7 years ago
Still great to know about the DOS
stobiewankenobi
stobiewankenobiover 7 years ago
I will look at kiam
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we've encountered it. very nasty. encountered it with multiple customers across accounts.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
this explains all the problems quite well
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
also, the security architecture of kube2iam is much less desireable
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
basically, every node that needs to assume roles has at the host level admin permissions
stobiewankenobi
stobiewankenobiover 7 years ago
Awesome, thanks for the refs. I will read that and checkout kiam
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
with kiam it's a agent/server model
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
and then check out our helmfiles for installing it
stobiewankenobi
stobiewankenobiover 7 years ago
Back again to the hard coding, even with env vars, where are you getting the env vars from?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
😉
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
chamber
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
SSM
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
so you can write those parameters to SSM via terraform
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(don't get me wrong, I love the tight interconnectedness inside of the terraform ecosystem)
stobiewankenobi
stobiewankenobiover 7 years ago
So you're taking terraform -> ssm -> env var -> helm values.yaml
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
just we don't have the privileges
stobiewankenobi
stobiewankenobiover 7 years ago(edited)
Why not just terraform -> values.yaml?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
because of conditionals
stobiewankenobi
stobiewankenobiover 7 years ago
Ah OK
stobiewankenobi
stobiewankenobiover 7 years ago
Got it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(and because we started before the helm provider!)
stobiewankenobi
stobiewankenobiover 7 years ago
For me, I haven't had issues with complex conditionals with k8s configs, but you guys build more than I do for more people in a more unique per case basis.
stobiewankenobi
stobiewankenobiover 7 years ago
But I see the value there
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
terraform+helm w/ (future) better values templating will eventually be more tempting
stobiewankenobi
stobiewankenobiover 7 years ago
Awesome
stobiewankenobi
stobiewankenobiover 7 years ago
Really excellent to hear more about this
stobiewankenobi
stobiewankenobiover 7 years ago
Interesting how you guys do terraform -> ssm -> env var
stobiewankenobi
stobiewankenobiover 7 years ago
That's an interesting model.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
hehe, sorry, I preach a lot - part of the business
stobiewankenobi
stobiewankenobiover 7 years ago
I had wondered how others were avoiding hard coding
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
and have a lot of strong opinions required to guide a ship through stormy waters.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
😃
stobiewankenobi
stobiewankenobiover 7 years ago
Yeah I get it dude, I have to do the same thing.
stobiewankenobi
stobiewankenobiover 7 years ago
I love the conversation and debate!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yep! that was a good session.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
🤝
stobiewankenobi
stobiewankenobiover 7 years ago
Thanks dude!
loren
lorenover 7 years ago
I like the pattern with SSM, it's kind of like terraform remote state, but feels more granular
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i like that it's interoperable with other tools
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
via chamber
loren
lorenover 7 years ago
Bonus!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
so we're using terraform to write a lot of settings for kops to SSM
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
then we call chamber exec kops -- kops ....
loren
lorenover 7 years ago
I started using s3 as a key/value store for similar reasons a while back
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
with chamber?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
...we're about to try that
loren
lorenover 7 years ago
No, just where ssm was not an option... A way to store values and make them available easily while controlling access tightly
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
it's nice they added support for S3
loren
lorenover 7 years ago
People think of s3 as a place for storing files, but it's all blobs all the way down. Can write most anything to a key
loren
lorenover 7 years ago
I'd not be surprised if ssm were just a specialized frontend for s3
stobiewankenobi
stobiewankenobiover 7 years ago
That's interesting @loren
stobiewankenobi
stobiewankenobiover 7 years ago
I have also done that use case
stobiewankenobi
stobiewankenobiover 7 years ago
I thought I was weird for doing that
stobiewankenobi
stobiewankenobiover 7 years ago
You just made my day
stobiewankenobi
stobiewankenobiover 7 years ago
PRE SSM Param Store/Secret Manager
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
hehe, i think many of us did
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we did that, and then used goofys to mount S3 as a filesystem
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(actually still have support for that in geodesic)
stobiewankenobi
stobiewankenobiover 7 years ago
OH man I never mounted s3 as a fs
stobiewankenobi
stobiewankenobiover 7 years ago
too slow the 1 time I tried it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
it's come a long way
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
though this is not for databases
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
it's great for simple configs
stobiewankenobi
stobiewankenobiover 7 years ago
Sure.
stobiewankenobi
stobiewankenobiover 7 years ago
Huh, good to know.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
stobiewankenobi
stobiewankenobiover 7 years ago
Nice
stobiewankenobi
stobiewankenobiover 7 years ago
love the name too
loren
lorenover 7 years ago(edited)
at one point, i created a module for storing an arbitrary map of keys/values in s3 but never published it... would use it to store both inputs and outputs so they're queryable outside terraform
loren
lorenover 7 years ago(edited)
of course limitations of tf <0.12 results in fun resource cycles on the keys, which is why i never published it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Will 0.12 really fix the count of problems? Guess I am not getting my hopes up
loren
lorenover 7 years ago
I know they've said it will make improvements at least, where it should know the number of elements in the count when the plan is generated
erik
erikover 7 years ago
set the channel description: A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.
Archive: https://archive.sweetops.com/random/
Abel Luck
Abel Luckover 7 years ago
hmm, using goofys to mount an s3 bucket to store configs is a good idea.
Abel Luck
Abel Luckover 7 years ago
currently we're using a persistent ebs volume. this works well for a single instance you want to scale up or down. but breaks as soon as you want to run > 1 instance reading from the config.
Nikola Velkovski
Nikola Velkovskiover 7 years ago
yay
Nikola Velkovski
Nikola Velkovskiover 7 years ago
But MAciej this is not funny man, random should be at least a bit funny 😛
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Scott
Scottover 7 years ago
Anyone have any recommendations for a mac system-wide microphone mute in the status bar and/or touch bar? I see shush on the app store but it hasnt been updated in years
Maciek Strömich
Maciek Strömichover 7 years ago
@Nikola Velkovski 😛
Maciek Strömich
Maciek Strömichover 7 years ago
@Scott maybe it just works 😉
Maciek Strömich
Maciek Strömichover 7 years ago
@Scott you can create a simple apple script which does what you need (at least for a user that’s executing it):

tell application "System Events" to set volume input volume 0
Maciek Strömich
Maciek Strömichover 7 years ago
volume is an int between 0-100
Scott
Scottover 7 years ago(edited)
Yea I thought about that but would really like some sort of visual indicator as to what that volume is currently set to
Maciek Strömich
Maciek Strömichover 7 years ago
Scott
Scottover 7 years ago
That looks useful - I'll try it thanks. Just tried https://github.com/pixel-point/mute-me and it actually seems to work OK - but 2.0 is still RC and I use zoom a lot - I'll give it a week or so
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Anyone using Travis for deploying microservices ? I can’t seem to find global context environment variables. Would be interested in best practices! Cheers.
Maciek Strömich
Maciek Strömichover 7 years ago
I’m married to Jenkins
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
HA Jenkins (open source) no fun
mrhen
mrhenover 7 years ago
Working with Jenkins feels like traveling back in time at least 10 years
mrhen
mrhenover 7 years ago
I’m hoping to start looking for an alternative soon-ish (probably 2019 Q2)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Jenkins X is a tad nicer, but yes, it still lacks the UX improvements of other CI/CD platforms
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
@mrhen what options are you considering?
mrhen
mrhenover 7 years ago
Haven’t looked at options in depth. Our pipeline is currently GitHub -> Jenkins -> ECR / ECS. Promoting between ECS clusters is managed by an internal tool.
mrhen
mrhenover 7 years ago
What we need is a clean way to run tests through docker-compose after pulling from a GitHub PR.
mrhen
mrhenover 7 years ago
But keeping the Jenkins instance up and happy with Docker is getting old. I don’t like having a non-managed instance out there.
Maciek Strömich
Maciek Strömichover 7 years ago
@mrhen you can leverage jenkins git config plugin and spawn a new instance everytime a PR is being processed
Maciek Strömich
Maciek Strömichover 7 years ago
so you don’t have to run jenkins all the time
mrhen
mrhenover 7 years ago
Yeah, we could probably fix / improve our Jenkins setup but if we go through that effort I’m going to also look at alternatives. Frankly, nothing about Jenkins feels like it’s “helping” our pipeline. The only thing we really use it for is running docker-compose on a PR. It seems like there should be a simpler way to do manage that piece of the puzzle.
loren
lorenover 7 years ago
since you're using ECR/ECS, have you tried codebuild?
mrhen
mrhenover 7 years ago
No, but it’s on our radar. Have you used it?
loren
lorenover 7 years ago
Quite a bit, though mostly with CodeCommit. They do, now (not when we started), have a native integration with GitHub to build on PRs
mrhen
mrhenover 7 years ago
Are you happy with it?
loren
lorenover 7 years ago(edited)
Well, it gets the job done, without needing to run/operate any servers. The integration with CodeCommit is dramatically lacking
loren
lorenover 7 years ago
We wrote our own integration/module to get CI for CodeCommit, https://github.com/plus3it/terraform-aws-codecommit-flow-ci
mrhen
mrhenover 7 years ago
Ah, interesting
mrhen
mrhenover 7 years ago
Is CodeCommit more or less a replacement for GitHub?
loren
lorenover 7 years ago
Yeah, but just the super basic source code repository bits. No status checks, no search, no real integrations, no forks(!)
mrhen
mrhenover 7 years ago
Ah, boo
loren
lorenover 7 years ago(edited)
I wouldn't use it if this customer had the ability to shell out for private GitHub repos in an org
mrhen
mrhenover 7 years ago
Yeah, we are happy enough with GitHub
mrhen
mrhenover 7 years ago
We used to use Jenkins for more stuff but at this point we’ve farmed off everything non-test related to other services
mrhen
mrhenover 7 years ago
And the docker containers build and run tests themselves
loren
lorenover 7 years ago
I'd say give CodeBuild a try, at least. I think of it as a way to automatically run commands in a shell on some remote host, triggered by some kind of event.
mrhen
mrhenover 7 years ago
Cool; thx for the recommendation
loren
lorenover 7 years ago
You get to define the commands to run in your buildspec, which you can keep in a file in your repo, or just in the definition of the CodeBuild project (not unlike jenkins)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Rev your engines!
antonbabenko
antonbabenkoover 7 years ago
Thanks, but after 28th of February 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
chrism
chrismover 7 years ago
Gotta love Google eh. Made it sound like they landgrabbed .dev to protect their own and everyone elses use of .dev as an internal domain for testing.
Let the dust settle
Grab for cash
Maciek Strömich
Maciek Strömichover 7 years ago
@chrism maybe they will give domains for free
Maciek Strömich
Maciek Strömichover 7 years ago
hehe
ols
olsover 7 years ago
Wonder how much will break because of people's /etc/hosts having .dev in them
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Hmm do people still update their hosts file ? I really don't think it's a good practice.
ols
olsover 7 years ago
Yes, and agreed 🙂
Nikola Velkovski
Nikola Velkovskiover 7 years ago
🙂
ols
olsover 7 years ago
Plus $11000 to make sure someonw doesn't nab your domains seems like extortion to me
Nikola Velkovski
Nikola Velkovskiover 7 years ago
yeah that sucks big time.
erik
erikover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
lol. “groupon” for devops.
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
damn
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
I paid 30
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Learn DevOps in 7 days
Max Moon
Max Moonover 7 years ago
if only i had known
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Crazy pile up
Nikola Velkovski
Nikola Velkovskiover 7 years ago
I saw this some time ago, really scary
Nikola Velkovski
Nikola Velkovskiover 7 years ago
antonbabenko
antonbabenkoover 7 years ago
@Nikola Velkovski I do follow this closely, yes.
Nikola Velkovski
Nikola Velkovskiover 7 years ago
cool
Nikola Velkovski
Nikola Velkovskiover 7 years ago
so what happened with the last talk I guess they had one device pointed at another 😄
antonbabenko
antonbabenkoover 7 years ago
Hard to explain but there are so many audio sources you can adjust to make it to work well. As we can hear @Andrey Devyatkin figured out the way to make it to work and rocking right now!
Nikola Velkovski
Nikola Velkovskiover 7 years ago
yup pretty good stuff
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Go go Anton! 😛
joshmyers
joshmyersover 7 years ago
Sounds like the folks who bought Travis aren’t getting on so well
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Oh no, a colleague of mine went to work for them before the acquisition
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Hi Everyone, I’m looking for a type of Daemon, which can collect shadowed http traffic, pulls a unique set of URI’s from what’s collected every hour or so, and replays it to a different webserver ( for cache population ).
chrism
chrismover 7 years ago
Go replay is nice; or nginx has a mirror config now
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Its a bit of a weird mission. I need to replay regular http traffic to ‘Rendertron’, a tool which converts dynamic html to static html with a headless chrome, for google search. As this is quite slow, I have caching in front of it, and I’m looking for a way to dynamically populate the cache by shadowing regular traffic ( Envoy ) to something what collects the requests, creates a unique set of URI’s, and triggers the same ‘Rendertron’.
antonbabenko
antonbabenkoover 7 years ago
If delay is not an issue you can get GET urls from access-logs and process them async.
Maarten van der Hoef
Maarten van der Hoefover 7 years ago
Yep came to that thought 🙂 It’s in ElasticSearch so, let’s use it 🙂
antonbabenko
antonbabenkoover 7 years ago
In my recent case it was faster to just stress or wget through sitemap.xml
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Yea, that's also a good trick
OScar
OScarover 7 years ago
Just set my status with a Mexican flag - random indeed, but hey I am using the #random channel 🙂
Visheyra
Visheyraover 7 years ago
hey guys is any of you at the kubeday meetup today in Sunnyvale ? would love to meet you guys IRL ! raise your hand if so 😉
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
That would be great!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(I am based in #lax so can’t make it... trying to think who here is based near there)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@OScar is up in NorCal
OScar
OScarover 7 years ago
San Francisco Bay Area, east bay. Yeah was partly raised here :)
OScar
OScarover 7 years ago
Unfortunately I’m skiing up in Tahoe, or...fortunately!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Jealous
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Must be amazing up there
Visheyra
Visheyraover 7 years ago
Damn. I haven't been skiing for years now I'm jealous too :)
James D. Bohrman
James D. Bohrmanover 7 years ago
I've never been skiing. I'm not too sure my knees could handle it lol
OScar
OScarover 7 years ago
It took me about 2 years to learn but once you got a handle on it, it’s amazing! Yeah I’m 48 now so gotta stay healthy in order to do this so I have a strict diet and fitness regimen. I’m trying to do this until I’m 80 at least :)
OScar
OScarover 7 years ago
OScar
OScarover 7 years ago
OScar
OScarover 7 years ago
If any of you are ever planning a Tahoe trip, I welcome you on my place and give you a tour of the mountain and make sure you get the best experience!
loren
lorenover 7 years ago
Love Tahoe
drexler
drexlerover 7 years ago
wow...it's been a good winter season so far. This is coming from a vermonter who cant code whilst there's an inch of the good fluffy stuff outside 😄
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@drexler are you also in the bay area?
Nikola Velkovski
Nikola Velkovskiover 7 years ago
Click
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@mumoshu 👆️
antonbabenko
antonbabenkoover 7 years ago
I use 🐍’s cookiecutter
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
AT&T offers "fiber" in Pasadena, CA, but they cap it to 25mbit, which is like flashback to Y2K. Now, almost 20 years later I can't believe that my LTE phone has 4x faster internet than "fiber". It's frankly embarrassing how slow our internet is here, but not because of technological limits; it's due to greed.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Nikola Velkovski
Nikola Velkovskiover 7 years ago
chrism
chrismover 7 years ago
They talked about the main rancher guy working on this mid last year; sounded like a real labour of love. Pretty neat 😄
Dave Yu
Dave Yuover 7 years ago
.dev domains about to go on sale to the general public. https://get.dev
chrism
chrismover 7 years ago
selling domains broke google domains 🤣
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
haha