Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If they're web services you work on, you might try https://www.telepresence.io/ (Requires something to be installed in the cluster though, easily done).
One of the things we did that helped was to use Go for fast builds, and then we build our binary into Google’s distroless base container image. This makes really tiny images (like 20-30MB images) so uploading the container images to our container repository and deploying to our dev K8S cluster is super fast! This helps make deploys fast.
At my current company, we are investing in tooling that is aiming to provide a simple local dev experience for faster iteration times, but also allow that tooling to scale to our CI/CD processes. One thing we've looked at internally is https://tilt.dev/ which works well in a containerized environment. I'd recommend making incremental steps to make the local dev process as simple as possible: whether that means making heavier use of IaC tools to get sandboxed infrastructure repeatably brought up or down, or containerization tools.
You can consider using okteto for development environments, it lets you deploy your local code directly to k8s replacing the existing pods, our team uses it and it works pretty well with Golang.
If you want to see my conf notes, you can go to: https://github.com/djotaku/pycon2023
Related posts
- 12 Factor: 13 years later
- New job has no way of coding locally?
- Introducing a tool for running diagnostic and administrative tools locally on your machine, but with outgoing network connectivity as if they're running in your k8s cluster.
- Local development set up for microservices with Kubernetes - Skaffold
- Let's debug a kubernetes pod locally