Replacing Docker Desktop with WSL2 and/or Rancher Desktop on Windows

Docker Engine on Linux via WSL2

Rancher Desktop for Kubernetes

pod/coredns-7448499f4d-rtczv
pod/helm-install-traefik-crd-cptbv
pod/helm-install-traefik-jpz4b
pod/local-path-provisioner-5ff76fc89d-9rpn8
pod/metrics-server-86cbb8457f-hszhp
pod/svclb-traefik-cn88g
pod/builder-vk9gm
pod/traefik-97b44b794-q56mm
service/kubernetes
service/kube-dns
service/metrics-server
service/builder
service/traefik
daemonset.apps/svclb-traefik
daemonset.apps/builder
deployment.apps/coredns
deployment.apps/local-path-provisioner
deployment.apps/metrics-server
deployment.apps/traefik
replicaset.apps/coredns-7448499f4d
replicaset.apps/local-path-provisioner-5ff76fc89d
replicaset.apps/metrics-server-86cbb8457f
replicaset.apps/traefik-97b44b794
job.batch/helm-install-traefik-crd
job.batch/helm-install-traefik
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-kubernetes
spec:
replicas: 2
selector:
matchLabels:
app: hello-kubernetes
template:
metadata:
labels:
app: hello-kubernetes
spec:
containers:
- name: hello-kubernetes
image: paulbouwer/hello-kubernetes:1.10
ports:
- containerPort: 8080
resources:
requests:
memory: "512Mi"
cpu: "0.5"
limits:
memory: "512Mi"
cpu: "0.5"
readinessProbe:
httpGet:
scheme: HTTP
path: /
port: 8080
livenessProbe:
httpGet:
scheme: HTTP
path: /
port: 8080
---
apiVersion: v1
kind: Service
metadata:
name: hello-kubernetes
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 8080
selector:
app: hello-kubernetes
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-kubernetes
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- http:
paths:
- path: "/"
pathType: Prefix
backend:
service:
name: hello-kubernetes
port:
number: 80
NAME               CLASS    HOSTS   ADDRESS         PORTS   AGE
hello-kubernetes <none> * 172.19.152.78 80 79s

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store