This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-26
Channels
- # announcements (6)
- # babashka (29)
- # babashka-sci-dev (2)
- # beginners (129)
- # calva (9)
- # clara (16)
- # cljdoc (49)
- # clojure (125)
- # clojure-bay-area (3)
- # clojure-europe (55)
- # clojure-france (1)
- # clojuredesign-podcast (8)
- # clojurescript (85)
- # conjure (3)
- # core-logic (2)
- # cursive (1)
- # events (1)
- # honeysql (61)
- # jobs-discuss (23)
- # lsp (69)
- # malli (14)
- # nrepl (3)
- # off-topic (16)
- # portal (11)
- # re-frame (8)
- # releases (1)
- # ring (2)
- # shadow-cljs (12)
- # vim (42)
- # xtdb (18)
Is it just me or is development fun and deployment a drain? I feel like I'm being gaslit whenever I hear praise for the ease of use for any cloud platform.
Morning!
@raymcdermott I found trying to understand someone else's terraform scripts to be very painful, especially when others on the team weren't able to explain them. Having a nicely setup pipeline where developers only need to interact with Git is a more 'fun' experience. I found Heroku did this best, if following fairly standard project types. If someone spends a few weeks (or years in a corporate environment I worked in) setting up a kubernetes pipeline, then that can be fun (argoCD is a nice tool to visualise deployment). There were 3-5 small, specific config files needed for a new project that only had minor changes between projects. There is definitely something missing in the DevOps world if engineers have to spend weeks/months settings up deployment and still find it painful. AWS seems to be the worst experience, so obviously it's the most popular... 😭
Good morning
But then again, when will they cut out the service from underneath you when they decide they're going to do something else? ;)
We are running K8S on DigitalOcean and the Pipeline on CircleCI. There is a CircleCI Orb for Digitalocean which makes interaction with Kubernetes from the pipeline less stressful
Our Deploy step just looks like this:
deploy:
docker:
- image: circleci/clojure:openjdk-17-lein-2.9.6-bullseye-node-browsers
steps:
- checkout
- buildevents/with_job_span:
steps:
- k8s-do/install
- k8s-do/initialize:
cluster: <xxxxxxxx>
- k8s/update-container-image:
container-image-updates: <name>=<xxxxxxx>image:${CIRCLE_SHA1}
get-rollout-status: true
record: true
namespace: xxxxxx
resource-name: deployment/xxxxxxxxxx
- slack/notify:
event: fail
template: basic_fail_1
- slack/notify:
event: pass
template: success_tagged_deploy_1
I still want to deploy some nbb or bb stuff on there, I've met them through Nextjournal
We have a quite nice setup at work. All manifests & co are written in edn (aero), kept close to the code they depend on. As a dev you barely have to know stuff runs on kube. Part of this stuff would be open sourced soon'ish iirc
lol, maybe i don't know i'm being gaslit! i quite like our K8S experience there's definitely a steep learning curve, and i'm much much happier using AWS/EKS rather than self deploying, but the fundamental small-verb-set-acting-on-extensible-noun-set approach is great - K8S operators for e.g. kafka make some parts of our life very easy indeed
@raymcdermott You might like http://fly.io
I thought you were implying here that you had scaling problems and I assumed you were using heroku since you loved that. https://clojurians.slack.com/archives/CBJ5CGE0G/p1648297319056029
Security remains the most genuinely complex problem of all. Don't want to ruin the jokes with serious discussion though.
Unrelated to http://fly.io, but to kubernetes: https://github.com/barracudanetworks/lighthouse
As we are in #clojure-europe I suggest https://www.clever-cloud.com/ git push deployment PaaS If you have strong security requirements, these guys really know what they are talking about.
Red hat OpenShift has a fairly okay experience for the 'enterprise' (so long as someone else sets it up and pays what I assume are noticable costs for it). I assume ArgoCD is more appropriate if the company is not one of the largest global financial institutions 😂