Category : minikube

How to create a local-registry container, that mounts a volume from the host machine and persist locally all the images that get pulled? I want to not download images more than once, if not necessary, even after the registry (or the whole Docker VM) is being thrown away and recreated. This is useful when having ..

Read more

I am trying to link docker installed on my laptop to docker daemon running internally on minikube. I am executing the command minikube -p minikube docker-env | Invoke-Expression however I am getting the below mentioned error, C:>minikube -p minikube docker-env | Invoke-Expression ‘Invoke-Expression’ is not recognized as an internal or external command, operable program or ..

Read more

apiVersion: apps/v1 kind: Deployment metadata: name: auth-depl spec: replicas: 1 selector: matchLabels: app: auth template: metadata: labels: app: auth spec: containers: – name: auth image: emotive44/auth env: – name: JWT_KEY valueFrom: secretKeyRef: name: jwt-secret key: JWT_KEY — apiVersion: v1 kind: Service metadata: name: auth-srv spec: type: NodePort selector: app: auth ports: – name: auth protocol: ..

Read more

Question How to run a local Docker private registry in minikube while using the docker driver? (–driver=docker) The issue Connection refused when pushing images to private registry docker push docker-registry.kubemaster.me/docker-cats:latest # Results The push refers to repository [docker-registry.kubemaster.me/docker-cats] Get http://docker-registry.kubemaster.me/v2/: dial tcp 127.0.0.1:80: connect: connection refused My Setup Minikube on Windows WSL2 using minikube’s docker ..

Read more

I have 2 kubernetes pods locally, server and app. Server is nginx and app is php/laravel. Here is the deployment.yaml: apiVersion: apps/v1 kind: Deployment metadata: name: server spec: replicas: 1 selector: matchLabels: container: server template: metadata: labels: container: server spec: containers: – name: server image: my/toolkit-server:test #volumeMounts: # – mountPath: /helpme # name: server-volume ports: ..

Read more