Feb 2024 deployment changes #105
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We made some changes to the code repos. We are now using a monorepo.
This changes how we have to deploy. We usually do
git push dokku main
to push futureporn-next.There are some unknowns. We need to figure out how to deploy using this new paradigm.
ensure next-prod contains app.jsonfigure out how togit push
next package from the monorepofigure out how togit push
strap package from the monorepoIf any problems deploying
futureporn-next
, we will revert to previously used known good git commit86b2b7625f64b3f970d74be56ca9a02a6da79fe4
CJ_Clippy referenced this issue2024-02-03 00:35:20 +00:00
today I learned k3d
clusters and registries
today I learned about k3d ingress
today I learned about helm
I think the play here is to deprecate docker-compose in favor of k3d + helm
k3d runs the temporary dev cluster, helm deploys the containers
when deploying to dev we specify devvalues.yaml and the local k3d cluster
when deploying to prod we specify prodvalues.yaml and the prod VKE cluster
this way both envs are very similar which is very good
Today I deployed a static html test app to a local k3d cluster using helm.
Next step is to deploy a more complex test app to a local k3d cluster
After that, deploy it to a production VKE
today I am burnt out
today I solved a kubernetes env issue preventing Skaffold from deploying
today I ditched Skaffold in favor of Tilt. Tilt education in progress.
today I wrote a project update https://www.patreon.com/posts/futureporn-2024-98500447
today I am burnt out
Today I learned more about Tilt, Kubernetes, Kubernetes Ingress & ingress controller, Hashicorp Vault
Yesterday I made some test deploys of fp and Vault to VKE. Discovered that Vault's persistent volume claims weren't being fulfilled on kubernetes v1.29.1+1. The PVCs were however fulfilled on v1.27.10+1.
Today I contemplated the meaning of life. Then I learned more about running Vault on Kubernetes. (btw, eating grilled cheese sandwiches while watching Zentreya makes an S tier day)
Today I learned about k9s (amazing) and began setting Vault autounseal using AWS key management system. Ran into troubles with pod scheduling weirdness. Have yet to identify the cause
Kubernetes is cancelled due to time constraints. I'll re-explore at a later date.
Un-cancelled. The monorepo + dokku deploy is full of problems that don't exist if I use kubernetes. Let's look at pros & cons.
dokku + monorepo pros
dokku + monorepo cons
kubernetes pros
kubernets cons
I have to keep going. I had a setback due to emotional burnout but I won't give up. "the best way is through."
I did not migrate to Kubernetes, but I'm closing this because I've adopted a hybrid approach.
I am learning Kubernetes and getting more confident with it. I am using helm charts in development but yet not production.
I'm deploying to production with dokku.
The monorepo is adapted to be able to deploy to dokku and kubernetes.