![]() ![]() $ colima start -cpu 4 -memory 8 -disk 100 INFO starting colima We can modify the CPU and memory by stopping and starting Colima.Īre you sure you want to delete colima and all settings? y ![]() It seems that by default the VM has 2 CPU cores, 2GiB of memory and 60Gib of storage. Let’s move on and try to modify the resources available to the Lima VM. Local-path-storage replicaset.apps/local-path-provisioner-5bb5788f44 1 1 1 16s Kube-system replicaset.apps/coredns-64897985d 2 2 2 16s Local-path-storage deployment.apps/local-path-provisioner 1/1 1 1 19s Kube-system deployment.apps/coredns 2/2 2 2 28s NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE Kube-system daemonset.apps/kube-proxy 1 1 1 1 1 kubernetes.io/os=linux 27s Kube-system daemonset.apps/kindnet 1 1 1 1 1 21s NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEĭefault service/kubernetes ClusterIP 10.96.0.1 443/TCP 30s Local-path-storage pod/local-path-provisioner-5bb5788f44-d8ww5 1/1 Running 0 15s Kube-system pod/kube-scheduler-test-control-plane 1/1 Running 0 27s Kube-system pod/kube-proxy-gjqss 1/1 Running 0 15s Kube-system pod/kube-controller-manager-test-control-plane 1/1 Running 0 27s Kube-system pod/kube-apiserver-test-control-plane 1/1 Running 0 27s Kube-system pod/kindnet-2zfr5 1/1 Running 0 15s Kube-system pod/etcd-test-control-plane 1/1 Running 0 27s Kube-system pod/coredns-64897985d-ksnlj 1/1 Running 0 15s I’ll score each option out of 5, a point for volumes, ports, works offline, runs kind and can easily modify the hardware allocation.įor my testing I’m going to create a directory in my home directory called test on my Mac with an index.html file in that looks like this: Modify the hardware allocation that Docker has access to.Run my Nginx container again with the WiFi turned off.Run an Nginx container that serves an HTML file from my MacBook on port 8080.To test out my alternatives I am going to install them and do the following things: I also like how portable it is and how it integrates nicely with test suites like pytest-kind. ![]() This may be less relevant to you if you consider yourself a Kubernetes user rather than a developer. I like kind because I can create multiple Kubernetes clusters with different versions and configurations, this is great when building and testing tools for Kubernetes.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |