Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware.
Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Posts
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
@hszakher@mastodon.world @Teri_Kanefield@mastodon.social @slott56@fosstodon.org "resulting mess" includes a lot of really embarrassing cleanup that will be humiliating for whoever owns it: think paying affected third parties and implicitly endorsing the regime in Iran via a variety of policy changes at their behest, losing face with various allies in the region where we clearly can't keep them safe, and owning the resulting inflation, economic impact, etc.
If someone other than the executive (read: President, Secretary of Defense, Secretary of State) ends up owning this fiasco, it will empower the executive to do it again. And they will have a punching bag to distract from their failures, because "our plan would have worked, but we were thwarted!".
It's like the grownups bailing out a teenager who's causing damage. Maybe it's done from a feeling of love or responsibility, but shielding that person from consequences will teach them that they don't have to worry about consequences.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
the practice of choosing connection over punishment is itself part of building the community we believe that we all want to live in.
Thank you for this reminder (and all the work that you do).
The discussion about asking for what you want reminded me of something I was taught in my son's pre-K: if you tell a young child what you don't want them to do ("don't climb that ladder"), they get the idea of doing so. Using positive language ("stay below this height") helps them find ways to follow the rule. Asking for what you want seems like another case of positive framing helping even adults get along.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
@Viss@mastodon.social @crocodisle@woof.tech
Most of these urls probably owe more to Apache / Nginx and cgi-bin style deployments where people stuff things in the webroot than docker or Kubernetes.
Not to say that there isn't a lot of blame to go around in terms of insecure defaults, but I wouldn't necessarily start with the last 10 years and imagine things were better before that.
Deploying software is still way harder than it needs to be, but a big list of "don't"s won't teach people what they should do instead.
Here's a couple "do"s I'd add:
-
separate any of your secret data or stuff that might vary between environments from the code you check in / bundle for deployment. If you have secrets, see if your platform has a tool for secrets (and use it), or carefully use either environment variables or file contents to load them in from outside your webroot.
-
Figure out how to package and deploy your software repeatably. Docker is actually good at this, though tarballs or even git with checked-in lock files and a script can work. Avoid doing git checkouts below your webroot, since doing so will expose your .git directory and metadata to these kinds of queries.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
Dad, runner, software engineer. Maintainer on Knative project, principal engineer at Stacklok. Ex-Google, ex-VMware. Author of Building Serverless Applications on Knative(https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) by O'Reilly.
I'm trying to get over my discomfort at self-promotion.
I've distilled my 9 years of working on serverless (2014-2023) into a book with O'Reilly. While there's a chapter on "how Knative works", my favorite chapters are the ones about building serverless applications on any platform -- extending applications and connecting applications through event-publishing.
Building Serverless Applications on Knative (https://learning.oreilly.com/library/view/building-serverless-applications/9781098142063/) comes out in-print on Dec 19, but the ebook is already available.