#random - September 2018

99 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/

September 2018
erik
erikabout 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Met up with @antonbabenko in San Francisco!
antonbabenko
antonbabenkoabout 8 years ago
And, yes, we were blocking exit as sign said 🙂
krogebry
krogebryabout 8 years ago
You were in my hood and didn't stop by?!?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Oh snap! That’s too bad.
krogebry
krogebryabout 8 years ago
Next time. 😉
Matthew
Matthewabout 8 years ago
https://www.packtpub.com//packt/offers/free-learning

Free tech e-book everyday. Sometimes worth $30-50
Max Moon
Max Moonabout 8 years ago
Aka "not thinking"
Justin King
Justin Kingabout 8 years ago
I'm probably more excited by this than I should be:

https://www.hashicorp.com/blog/consul-plus-kubernetes
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
that’s cool - so a nice way to bridge two worlds
Justin King
Justin Kingabout 8 years ago
Yeah, consul agents even easily install on windows so it's a great way to make a singular SD that can grow into a envoy mesh as things migrate
Justin King
Justin Kingabout 8 years ago
or even for shops that like to deploy 'n' k8s clusters to be able to have a common SD/Mesh framework
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago

JSON’s license only allows use for good, so when Google dropped their “don’t be evil” slogan they had to build protobuf
Matthew
Matthewabout 8 years ago
Anyone use Mesosphere DC/OS?
antonbabenko
antonbabenkoabout 8 years ago(edited)
Have a great week-ends! Dive into the week-end - https://www.facebook.com/ODDSbible/videos/679380252428829/
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
gmail like interface for github notifications
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
maybe i can get to zero? 😃
erik
erikabout 8 years ago
antonbabenko
antonbabenkoabout 8 years ago
I have just tried inbox for the second time and I don’t like UI still.
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
http://www.jsfuck.com/ (don’t try that at home 🙂 )
Mark Mutti
Mark Muttiabout 8 years ago
A colleague just shared this but during a time where I’m unsubscribing from like everything, I can’t bring myself to register to read the entire article. If someone feels like taking one for the team and posting a brief here, that’d be amazing: https://www.infoworld.com/article/3304282/ci-cd/jenkins-cicd-is-in-trouble-so-its-founder-wants-to-split-it-up.html
Mark Mutti
Mark Muttiabout 8 years ago
They’re pretty slick. They’re truncating the article’s content on the backend unlike most. Can’t just element inspect this problem away 🤣
Maarten van der Hoef
Maarten van der Hoefabout 8 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
Maarten van der Hoef
Maarten van der Hoefabout 8 years ago
Matthew
Matthewabout 8 years ago
Anyone ever have troubles with ECR images behaving differently that on your local machine? Image works on my local machine, did a force rebuild even and then when uploaded to ECR and deployed the container dies with errors.. Literally can't make sense of why the image uploaded wouldn't behave exactly the same
Matthew
Matthewabout 8 years ago
I've never had this problem with DockerHub and we are exploring into ECR and i'm uncertain why it's behaving in such a way
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
try specifying image sha to get exact version... just to make sure that you are running exactly the same version
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
hold on - will give an example
Matthew
Matthewabout 8 years ago
Appreciate you
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
at least Dockerfiles allows you to specify something like that
<http://docker.io/busybox@sha256:817a12c32a39bbe394944ba49de563e085f1d3c5266eb8e9723256bc4448680|docker.io/busybox@sha256:817a12c32a39bbe394944ba49de563e085f1d3c5266eb8e9723256bc4448680>
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
so you might try do docker run and specify sha to get exact version
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
I haven't tried it with run command though - only with dockerfile
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
but still worth a try
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
@Matthew also, if your image uses any config or env vars, make sure they are ok inside the container - the problem might be not in the image, but in the settings/config
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
Andrey Devyatkin
Andrey Devyatkinabout 8 years ago
i'm dropping off now - its late in my time zone. But please post what it was
antonbabenko
antonbabenkoabout 8 years ago
Does this really belong to #random ? 🤔🤔🤔
Maarten van der Hoef
Maarten van der Hoefabout 8 years ago
You want more fun stuff @antonbabenko ?
antonbabenko
antonbabenkoabout 8 years ago
Yes, please 🙂
Maarten van der Hoef
Maarten van der Hoefabout 8 years ago
Ok
Max Moon
Max Moonabout 8 years ago
lol
antonbabenko
antonbabenkoabout 8 years ago
LOL
Matthew
Matthewabout 8 years ago(edited)
Does anyone use AWS ECR?
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
we have a few modules that use it
Matthew
Matthewabout 8 years ago
I've literally never had this issue before, docker image built on my local machine gets uploaded to ECR and when i deploy that image, it comes across corrupt with the exact same configuration and it makes 0 sense. It appears my image being uploaded is corrupt and i've been troubleshooting for hours
Matthew
Matthewabout 8 years ago
Matthew
Matthewabout 8 years ago
Doesn't get thrown when i build locally, did a full docker system prune -a as well so it is built from scratch
Matthew
Matthewabout 8 years ago
I usually use DockerHub and not ECR so what i'm thinking is my image being uploaded is dropping half the image or getting corrupt somehow
Max Moon
Max Moonabout 8 years ago
Hrm, I used ECR exclusively for about 8 months and never ran into an issue of that sort
Matthew
Matthewabout 8 years ago
& troubleshooting is tough because that exact same Dockerfile gets built locally and works as designed and this image worked 3 days ago.
Max Moon
Max Moonabout 8 years ago
Does the issue appear when you push to DockerHub?
Matthew
Matthewabout 8 years ago
Matthew
Matthewabout 8 years ago
I also hit this error yesterday with ECR and did absolutely nothing but re-push today and it worked properly
Matthew
Matthewabout 8 years ago
I have not tried this image with DockerHub just yet because i'm building an EKS cluster and would like to use ECR for simplicity
Matthew
Matthewabout 8 years ago
ECR was very smooth and working very well for me just 1 week ago, then today my image just isn't deploying properly even has a smaller image size and I can't make sense of it. Deleted the entire repository and have pushed through plugins as well as manually uploaded
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
This error Class 'Phar' not found in /usr/local/bin/composer:23 sounds like missing Linux libraries
Matthew
Matthewabout 8 years ago
Yes but the sad thing is, is the image has those dependencies just when it's deployed they are lost and dropped
Matthew
Matthewabout 8 years ago
When i build the exact same image locally it works
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
where do you build the image before pushing to ECR?
Matthew
Matthewabout 8 years ago
I've tried manually pushing as recommended by ECR and i've also deployed using a Drone.io plugin
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
are you using :latest or a specific release tag?
Matthew
Matthewabout 8 years ago
This exact same image worked 3 days ago but today doesn't and it really makes me nervous because i'm trying to get things ready for production and all of a sudden the most random behavior ever occurs
Matthew
Matthewabout 8 years ago
specific release tag
Matthew
Matthewabout 8 years ago
:develop
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
heh
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
no, like semver
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago(edited)
can you share your kubernetes deployment/pod spec?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
have you set the ImagePullPolicy to always?
Matthew
Matthewabout 8 years ago
Yes let me get that for you
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
lets move to #kubernetes
Max Moon
Max Moonabout 8 years ago
👍️
Mark Mutti
Mark Muttiabout 8 years ago

That's because Moore's Law really is over, he says: "We are now a factor of 15 behind where we should be if Moore's Law were still operative. We are in the post–Moore's Law era."

This means, Patterson told engineers attending the 2018 @Scale Conference held in San Jose last week, that "we're at the end of the performance scaling that we are used to. When performance doubled every 18 months, people would throw out their desktop computers that were working fine because a friend's new computer was so much faster."

But last year, he said, "single program performance only grew 3 percent, so it's doubling every 20 years. If you are just sitting there waiting for chips to get faster, you are going to have to wait a long time."
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago

We are in the post–Moore's Law era.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
interesting notion
Mark Mutti
Mark Muttiabout 8 years ago
@Erik Osterman (Cloud Posse) Yeah, that line caught me off-guard
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
Justin King
Justin Kingabout 8 years ago
packer + windows = good
ansible + windows = great
packer + ansible + windows = nasty crap
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)about 8 years ago
why is that @Justin King 🙂 ?
Justin King
Justin Kingabout 8 years ago
Mostly the Ansible provisioner for packer is just poor. It works by invoking a custom ansible driver that creates a local proxy to send all packer commands through which causes all sorts of connection reliability problems. I ended up just using shell-local instead :/
Justin King
Justin Kingabout 8 years ago(edited)
It's s nightmare to troubleshoot when the inventory is constantly spewing out that it's talking to 127.0.0.1 so it's up to you to remember if that task is actually local or if it's proxied to the host.
Justin King
Justin Kingabout 8 years ago
But it's what the client wants, so gosh darn it I find a way to make it work
Justin King
Justin Kingabout 8 years ago
so instead I'm now running powershell on the host that generates an inventory file based on settings as queried, then i download the finished file and run a local ansible-playbook referencing it.
Maarten van der Hoef
Maarten van der Hoefabout 8 years ago
erik
erikabout 8 years ago
johncblandii
johncblandiiabout 8 years ago
LOL. the accuracy. 😄
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
is kubernetes the shim we need to get to mainstream #serverless by 2020?
Matthew
Matthewabout 8 years ago
"Home datacenter. A 3-node Raspberry Pi cluster running kubernetes, and a dedicated Pi with a connected 433 mHz receiver for talking to some temperature sensors around the house.!" -- thought this was a pretty cool setup so thought i'd share haha
Ryan Ryke
Ryan Rykeabout 8 years ago
thats good shit
Mark Mutti
Mark Muttiabout 8 years ago
@Matthew Good find. Very cool stuff 🙌
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
”Kubernetes the Hard(ware) Way”