#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 Matyjekalmost 8 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)almost 8 years ago
what happened?
chrism
chrismalmost 8 years ago
chrism
chrismalmost 8 years ago
Handy in a day to day sort of way 😄
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@Michal Matyjek ☝️
Richy de la cuadra
Richy de la cuadraalmost 8 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)almost 8 years ago
Vectorization?
Richy de la cuadra
Richy de la cuadraalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
do you need to do this programmatically or just a one-off
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
i do this all the time for one-offs
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
there are (a) some good ios apps (b) vectorizer for osx
Richy de la cuadra
Richy de la cuadraalmost 8 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)almost 8 years ago
erik
erikalmost 8 years ago
Ryan Smith
Ryan Smithalmost 8 years ago
bumping into this stud muffin on the net
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
lol
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it's amazing how often this is happening to me now too
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
most recently in chamber
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
i think we have 3-4 members here opening PRs there
erik
erikalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
We love metabase
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
oh yeah, it's one hell of a software
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
up vote us! 😃
Krit
Kritalmost 8 years ago
It almost sounds like a bad joke.. But this resonates quite a bit with (fortunately short lived) past experiences.
joshmyers
joshmyersalmost 8 years ago
fuuuuuuuck
joshmyers
joshmyersalmost 8 years ago
Big reddit0r, will chime in on this one
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
I would appreciate some feedback https://github.com/segmentio/chamber/pull/187
joshmyers
joshmyersalmost 8 years ago
@Gonzalo Peci Nice!
joshmyers
joshmyersalmost 8 years ago
Looks great, only think I could suggest is maybe some tests as some of the other commands have
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
Yeah, its on the todo, im waiting first for confirmation they want that change
joshmyers
joshmyersalmost 8 years ago
Makes sense 👍️
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
I dont want to build the tests and S3 support and get a rejection 😧
joshmyers
joshmyersalmost 8 years ago
true dat
joshmyers
joshmyersalmost 8 years ago
ah spotted your TODO. Looks nice!
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
If you liked that, you should like this even better
https://github.com/segmentio/chamber/pull/188
joshmyers
joshmyersalmost 8 years ago
Nice
joshmyers
joshmyersalmost 8 years ago
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
Yeah, i quite like it and actually it was out of the same frustration 😄
Gonzalo Peci
Gonzalo Pecialmost 8 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)almost 8 years ago
just be cautious about writing secrets to disk
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
they tend to linger around
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
which defeats the purposes/advantages of chamber
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Wow "We do know they ask your browser to draw an invisible image"
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
yea, pretty insane
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago

virtual machine uses their own language, which they encrypt twice.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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 Velkovskialmost 8 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)almost 8 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)almost 8 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)almost 8 years ago
freggin crazy
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
so basically, clicking on the box is just a gimmick.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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 Luckalmost 8 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 Velkovskialmost 8 years ago
🙂
ols
olsalmost 8 years ago
Yeah I was thinking that. If it's so smart then why do I keep having to prove myself
ols
olsalmost 8 years ago
Unless I give off robotic tendencies
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
haha, yea, that’s true - forgot about that and how often that happens
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
now i’ll just take offense when I see it next time
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
rather than thinking I was just helping the greater good disambiguate images
Ryan Smith
Ryan Smithalmost 8 years ago
stobiewankenobi
stobiewankenobialmost 8 years ago
haha
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Haha biting my tounge
Alexander Tolstikov
Alexander Tolstikovalmost 8 years ago
🍿
erik
erikalmost 8 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)almost 8 years ago
TL;DW: helm is not about templating
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
helm is about package management and defining an interface for that which is "configuratino management tool agnostic"
stobiewankenobi
stobiewankenobialmost 8 years ago
Yeah I agree with it's model for those purposes
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
1000s of ways exist to templatize and deploy resources on k8s
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
but (1) thing exists today for keeping a registry of apps installed: helm
stobiewankenobi
stobiewankenobialmost 8 years ago
Yes
stobiewankenobi
stobiewankenobialmost 8 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)almost 8 years ago
terraform for k8s installation will work well within an organization
stobiewankenobi
stobiewankenobialmost 8 years ago
Because I see the value of helm for versioning/history
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
but not translate well across organizatinos
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
and terraform for writing values.yaml is insufficient b/c the lack of conditinoals
stobiewankenobi
stobiewankenobialmost 8 years ago
Can you share an example of what you're talking about with that?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
stobiewankenobi
stobiewankenobialmost 8 years ago
That's not a values.yaml file?
stobiewankenobi
stobiewankenobialmost 8 years ago
that's helm templating is it not?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
yep
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
stobiewankenobi
stobiewankenobialmost 8 years ago
I see
stobiewankenobi
stobiewankenobialmost 8 years ago
Terraform 0.12 will do all of this
stobiewankenobi
stobiewankenobialmost 8 years ago
But sure, I get the value today of the complex templating if you have need for it
stobiewankenobi
stobiewankenobialmost 8 years ago
Question for you, the biggest thing I was trying to solve/annoyance I have, is how everything is hardcoded
stobiewankenobi
stobiewankenobialmost 8 years ago
IAM role arns for kube2iam, acm arns, etc...
stobiewankenobi
stobiewankenobialmost 8 years ago
how do you get around hard coding values?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago
that said, helmfile is still better
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
helmfile diff -> like terraform plan
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 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
stobiewankenobialmost 8 years ago
I agree with that statement
stobiewankenobi
stobiewankenobialmost 8 years ago
But I come back to my biggest gripe (not jsut with helm but with all templating tools not terraform)
stobiewankenobi
stobiewankenobialmost 8 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)almost 8 years ago
ENVs 😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
so i think your gripe is with the stastic nature of values.yaml
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
(btw, recommend not using kube2iam and instead moving to kiam)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
kube2iam will DoS AWS APIs and get them to block your account
stobiewankenobi
stobiewankenobialmost 8 years ago
Ah I will look at kiam
stobiewankenobi
stobiewankenobialmost 8 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)almost 8 years ago
here's how we parameterize the iam roles
stobiewankenobi
stobiewankenobialmost 8 years ago
Even with external-iam-role, where are you getting that value?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago
if you have lots of machines, it will keep retrying since every machine keeps it's own cache
stobiewankenobi
stobiewankenobialmost 8 years ago
Ah..but I never have that, since it's always templated with remote state from tf
stobiewankenobi
stobiewankenobialmost 8 years ago
Still great to know about the DOS
stobiewankenobi
stobiewankenobialmost 8 years ago
I will look at kiam
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
we've encountered it. very nasty. encountered it with multiple customers across accounts.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
this explains all the problems quite well
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
also, the security architecture of kube2iam is much less desireable
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
basically, every node that needs to assume roles has at the host level admin permissions
stobiewankenobi
stobiewankenobialmost 8 years ago
Awesome, thanks for the refs. I will read that and checkout kiam
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
with kiam it's a agent/server model
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
and then check out our helmfiles for installing it
stobiewankenobi
stobiewankenobialmost 8 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)almost 8 years ago
😉
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
chamber
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
SSM
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
so you can write those parameters to SSM via terraform
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
(don't get me wrong, I love the tight interconnectedness inside of the terraform ecosystem)
stobiewankenobi
stobiewankenobialmost 8 years ago
So you're taking terraform -> ssm -> env var -> helm values.yaml
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
just we don't have the privileges
stobiewankenobi
stobiewankenobialmost 8 years ago(edited)
Why not just terraform -> values.yaml?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
because of conditionals
stobiewankenobi
stobiewankenobialmost 8 years ago
Ah OK
stobiewankenobi
stobiewankenobialmost 8 years ago
Got it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
(and because we started before the helm provider!)
stobiewankenobi
stobiewankenobialmost 8 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
stobiewankenobialmost 8 years ago
But I see the value there
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
terraform+helm w/ (future) better values templating will eventually be more tempting
stobiewankenobi
stobiewankenobialmost 8 years ago
Awesome
stobiewankenobi
stobiewankenobialmost 8 years ago
Really excellent to hear more about this
stobiewankenobi
stobiewankenobialmost 8 years ago
Interesting how you guys do terraform -> ssm -> env var
stobiewankenobi
stobiewankenobialmost 8 years ago
That's an interesting model.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
hehe, sorry, I preach a lot - part of the business
stobiewankenobi
stobiewankenobialmost 8 years ago
I had wondered how others were avoiding hard coding
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago
😃
stobiewankenobi
stobiewankenobialmost 8 years ago
Yeah I get it dude, I have to do the same thing.
stobiewankenobi
stobiewankenobialmost 8 years ago
I love the conversation and debate!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
yep! that was a good session.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
🤝
stobiewankenobi
stobiewankenobialmost 8 years ago
Thanks dude!
loren
lorenalmost 8 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)almost 8 years ago
i like that it's interoperable with other tools
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
via chamber
loren
lorenalmost 8 years ago
Bonus!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago(edited)
then we call chamber exec kops -- kops ....
loren
lorenalmost 8 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)almost 8 years ago
with chamber?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
...we're about to try that
loren
lorenalmost 8 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)almost 8 years ago
it's nice they added support for S3
loren
lorenalmost 8 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
lorenalmost 8 years ago
I'd not be surprised if ssm were just a specialized frontend for s3
stobiewankenobi
stobiewankenobialmost 8 years ago
That's interesting @loren
stobiewankenobi
stobiewankenobialmost 8 years ago
I have also done that use case
stobiewankenobi
stobiewankenobialmost 8 years ago
I thought I was weird for doing that
stobiewankenobi
stobiewankenobialmost 8 years ago
You just made my day
stobiewankenobi
stobiewankenobialmost 8 years ago
PRE SSM Param Store/Secret Manager
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
hehe, i think many of us did
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
we did that, and then used goofys to mount S3 as a filesystem
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
(actually still have support for that in geodesic)
stobiewankenobi
stobiewankenobialmost 8 years ago
OH man I never mounted s3 as a fs
stobiewankenobi
stobiewankenobialmost 8 years ago
too slow the 1 time I tried it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it's come a long way
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
though this is not for databases
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it's great for simple configs
stobiewankenobi
stobiewankenobialmost 8 years ago
Sure.
stobiewankenobi
stobiewankenobialmost 8 years ago
Huh, good to know.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
stobiewankenobi
stobiewankenobialmost 8 years ago
Nice
stobiewankenobi
stobiewankenobialmost 8 years ago
love the name too
loren
lorenalmost 8 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
lorenalmost 8 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)almost 8 years ago
Will 0.12 really fix the count of problems? Guess I am not getting my hopes up
loren
lorenalmost 8 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
erikalmost 8 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 Luckalmost 8 years ago
hmm, using goofys to mount an s3 bucket to store configs is a good idea.
Abel Luck
Abel Luckalmost 8 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 Velkovskialmost 8 years ago
yay
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
But MAciej this is not funny man, random should be at least a bit funny 😛
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Scott
Scottalmost 8 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ömichalmost 8 years ago
@Nikola Velkovski 😛
Maciek Strömich
Maciek Strömichalmost 8 years ago
@Scott maybe it just works 😉
Maciek Strömich
Maciek Strömichalmost 8 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ömichalmost 8 years ago
volume is an int between 0-100
Scott
Scottalmost 8 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ömichalmost 8 years ago
Scott
Scottalmost 8 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 Hoefalmost 8 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ömichalmost 8 years ago
I’m married to Jenkins
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
HA Jenkins (open source) no fun
mrhen
mrhenalmost 8 years ago
Working with Jenkins feels like traveling back in time at least 10 years
mrhen
mrhenalmost 8 years ago
I’m hoping to start looking for an alternative soon-ish (probably 2019 Q2)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago(edited)
@mrhen what options are you considering?
mrhen
mrhenalmost 8 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
mrhenalmost 8 years ago
What we need is a clean way to run tests through docker-compose after pulling from a GitHub PR.
mrhen
mrhenalmost 8 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ömichalmost 8 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ömichalmost 8 years ago
so you don’t have to run jenkins all the time
mrhen
mrhenalmost 8 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
lorenalmost 8 years ago
since you're using ECR/ECS, have you tried codebuild?
mrhen
mrhenalmost 8 years ago
No, but it’s on our radar. Have you used it?
loren
lorenalmost 8 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
mrhenalmost 8 years ago
Are you happy with it?
loren
lorenalmost 8 years ago(edited)
Well, it gets the job done, without needing to run/operate any servers. The integration with CodeCommit is dramatically lacking
loren
lorenalmost 8 years ago
We wrote our own integration/module to get CI for CodeCommit, https://github.com/plus3it/terraform-aws-codecommit-flow-ci
mrhen
mrhenalmost 8 years ago
Ah, interesting
mrhen
mrhenalmost 8 years ago
Is CodeCommit more or less a replacement for GitHub?
loren
lorenalmost 8 years ago
Yeah, but just the super basic source code repository bits. No status checks, no search, no real integrations, no forks(!)
mrhen
mrhenalmost 8 years ago
Ah, boo
loren
lorenalmost 8 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
mrhenalmost 8 years ago
Yeah, we are happy enough with GitHub
mrhen
mrhenalmost 8 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
mrhenalmost 8 years ago
And the docker containers build and run tests themselves
loren
lorenalmost 8 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
mrhenalmost 8 years ago
Cool; thx for the recommendation
loren
lorenalmost 8 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)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Rev your engines!
antonbabenko
antonbabenkoalmost 8 years ago
Thanks, but after 28th of February 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
chrism
chrismalmost 8 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ömichalmost 8 years ago
@chrism maybe they will give domains for free
Maciek Strömich
Maciek Strömichalmost 8 years ago
hehe
ols
olsalmost 8 years ago
Wonder how much will break because of people's /etc/hosts having .dev in them
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Hmm do people still update their hosts file ? I really don't think it's a good practice.
ols
olsalmost 8 years ago
Yes, and agreed 🙂
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
🙂
ols
olsalmost 8 years ago
Plus $11000 to make sure someonw doesn't nab your domains seems like extortion to me
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
yeah that sucks big time.
erik
erikalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
lol. “groupon” for devops.
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
damn
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
I paid 30
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 8 years ago
Learn DevOps in 7 days
Max Moon
Max Moonalmost 8 years ago
if only i had known
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Crazy pile up
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
I saw this some time ago, really scary
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
antonbabenko
antonbabenkoalmost 8 years ago
@Nikola Velkovski I do follow this closely, yes.
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
cool
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
so what happened with the last talk I guess they had one device pointed at another 😄
antonbabenko
antonbabenkoalmost 8 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 Velkovskialmost 8 years ago
yup pretty good stuff
antonbabenko
antonbabenkoalmost 8 years ago
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Go go Anton! 😛
joshmyers
joshmyersalmost 8 years ago
Sounds like the folks who bought Travis aren’t getting on so well
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Oh no, a colleague of mine went to work for them before the acquisition
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Maarten van der Hoef
Maarten van der Hoefalmost 8 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
chrismalmost 8 years ago
Go replay is nice; or nginx has a mirror config now
Maarten van der Hoef
Maarten van der Hoefalmost 8 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
antonbabenkoalmost 8 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 Hoefalmost 8 years ago
Yep came to that thought 🙂 It’s in ElasticSearch so, let’s use it 🙂
antonbabenko
antonbabenkoalmost 8 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)almost 8 years ago
Yea, that's also a good trick
OScar
OScaralmost 8 years ago
Just set my status with a Mexican flag - random indeed, but hey I am using the #random channel 🙂
Visheyra
Visheyraalmost 8 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)almost 8 years ago
That would be great!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago
@OScar is up in NorCal
OScar
OScaralmost 8 years ago
San Francisco Bay Area, east bay. Yeah was partly raised here :)
OScar
OScaralmost 8 years ago
Unfortunately I’m skiing up in Tahoe, or...fortunately!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Jealous
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Must be amazing up there
Visheyra
Visheyraalmost 8 years ago
Damn. I haven't been skiing for years now I'm jealous too :)
James D. Bohrman
James D. Bohrmanalmost 8 years ago
I've never been skiing. I'm not too sure my knees could handle it lol
OScar
OScaralmost 8 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
OScaralmost 8 years ago
OScar
OScaralmost 8 years ago
OScar
OScaralmost 8 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
lorenalmost 8 years ago
Love Tahoe
drexler
drexleralmost 8 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)almost 8 years ago
@drexler are you also in the bay area?
Maciek Strömich
Maciek Strömichalmost 8 years ago
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Click
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@mumoshu 👆️
antonbabenko
antonbabenkoalmost 8 years ago
I use 🐍’s cookiecutter
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 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)almost 8 years ago
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
chrism
chrismalmost 8 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 Yualmost 8 years ago
.dev domains about to go on sale to the general public. https://get.dev
chrism
chrismalmost 8 years ago
selling domains broke google domains 🤣
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
haha