Earlier quoted context omitted.
I have no problems building containers on macOS. Can you elaborate?
Building containers requires Linux, so I need to run a VM or build on another box/the cloud.
Tilt – Local Kubernetes development with no stress
21–30 of 76 posts
Re: Tilt – Local Kubernetes development with no stress
#22Earlier quoted context omitted.
I have no problems building containers on macOS. Can you elaborate?
Building containers requires Linux, so I need to run a VM or build on another box/the cloud.
Docker for Mac uses HyperKit instead of Virtual Box. Hyperkit is a lightweight macOS virtualization solution built on top of Hypervisor.framework in macOS 10.10 Yosemite and higher.
From https://docs.docker.com/docker-for-mac/docker-toolbox/
I build Linux target images on either my Mac or a handy EC2 instance for deployment to AWS using their ECR as a repository. No difference.
Re: Tilt – Local Kubernetes development with no stress
#23Earlier quoted context omitted.
Is the problem with building containers that you don't have a Dockerfile and you don't want to spend time making one? Draft does that pretty well with Draftpacks, in my experience if there is a Draftpack for what you're using then the Dockerfile that draft spits out will get you pretty close to a workable container image with basically no effort, or sometimes even all the way there. I'm trying to understand what you…
I’m all aboard Docker, but I don’t use Linux natively, so I’d need to run a VM inside macOS, or have another box to build containers. Even if I did, I use GCR in production, so I’d need to template my container images in helm to use GCR only in production versus whatever I use locally for development. And what would that even be? I haven’t explored minikube to know what it does for local dev container registry. Anywa…
Re: Tilt – Local Kubernetes development with no stress
#24Earlier quoted context omitted.
Building containers requires Linux, so I need to run a VM or build on another box/the cloud.
I built a container a few minutes ago on macOS, not sure why you believe this to be the case.
Re: Tilt – Local Kubernetes development with no stress
#25Earlier quoted context omitted.
I have no problems building containers on macOS. Can you elaborate?
Building containers requires Linux, so I need to run a VM or build on another box/the cloud.
Docker for Mac uses a relatively lightweight and largely-invisible virtualization layer now.
Re: Tilt – Local Kubernetes development with no stress
#26Earlier quoted context omitted.
I built a container a few minutes ago on macOS, not sure why you believe this to be the case.
Docker containers/lxc require Linux. They are a Linux technology.
Re: Tilt – Local Kubernetes development with no stress
#27Re: Tilt – Local Kubernetes development with no stress
#28Re: Tilt – Local Kubernetes development with no stress
#29Earlier quoted context omitted.
Is the problem with building containers that you don't have a Dockerfile and you don't want to spend time making one? Draft does that pretty well with Draftpacks, in my experience if there is a Draftpack for what you're using then the Dockerfile that draft spits out will get you pretty close to a workable container image with basically no effort, or sometimes even all the way there. I'm trying to understand what you…
I’m all aboard Docker, but I don’t use Linux natively, so I’d need to run a VM inside macOS, or have another box to build containers. Even if I did, I use GCR in production, so I’d need to template my container images in helm to use GCR only in production versus whatever I use locally for development. And what would that even be? I haven’t explored minikube to know what it does for local dev container registry. Anywa…
(disclaimer: I work on Tilt)
Re: Tilt – Local Kubernetes development with no stress
#30Uuuuh not using YAML. Controversial. (in the docker/k8s ecosphere, where YAML seems ubiquitous) I don't love YAML though I am not sure Starlark looks any more readable. YACL => Yet another config language...?
The most sensible approach I've seen is to use jsonnet+kubecfg. This lets me use a somewhat sane, composable, turing complete language that spits out a tree of k8s objects. I can use as much or little repeated definitions (or abstractions) as I like. Then kubecfg performs all the kubectl invocations to actually make the cluster state match my calculated definitions.