question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Very strange working with insecure registry

See original GitHub issue

Hello. I have 2 deployments named as “crm” and “elasticsearch”. I also have insecure registry on http:tools.mydomain.com:5000 and docker, microk8s known about this (all restarted after).

containerd-template.toml изображение

docker configuration (/var/snap/docker/current/config) изображение

And my 2 deployments (you need to look at containers) CRM изображение ELASTICREARCH изображение

When I apply file with crm deployment - all ok, and image pulled successfull… изображение

But microk8s for a elasticsearch deployment says: изображение

Why? I have no idea. But each time first deployment work and image will be pulled always successful… Secondary deployment fails each time with same error if current node has other pods or not.

Docker can pull image изображение

differences between images in size: elastic ~ 740 mb crm ~ 200 mb

Pls, help!

Inpection https://first_example.hb.bizmrg.com/inspection-report-20210921_170451.tar.gz

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
polyedrecommented, Sep 21, 2021

And what if you switch the two images in the deployments (replace tools.[…]:5000/dev.elasticsearch:21.09.21 with tools.[…]:5000/dev.crm:21.09.21 and also the other way)? This may help identify if the problem resides in the configuration or in the images

1reaction
golovotyapscommented, Sep 21, 2021

I put a elasticsearch container link to crm deployment… изображение

Works. But why ? I am not new in k8s, but why ? Minimum we need more helpful error message.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insecure-registry settings not recognized when using ... - GitHub
Expected behavior When using Windows Containers, private registries, and the corresponding insecure-registry settings, it seems the daemon ...
Read more >
Config when use service docker:dind (#1678) - GitLab.org
Hi @rbucker , I use follow code for K8S executor, but not working. services: - name: docker:dind command: ["--insecure-registry=registry.some.
Read more >
Docker: unable to push to insecure private registry
I have tried every fix that I have found on the internet and cant seem to get a solution.. I am able to...
Read more >
Test an insecure registry - Docker Documentation
This is very insecure and is not recommended. It exposes your registry to trivial man-in-the-middle (MITM) attacks. Only use this solution for isolated...
Read more >
Microk8s Insecure Registry not working - Discuss Kubernetes
Hi Guys, I'm configuring my microk8s and I'm having a stranger issue and don't know ... I have a registry I can access...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found