Comments (2)
I guess that you are using minikube and try to reuse the same image that is present on the host. Correct? This is not possible right away. There is a separate in-cluster docker-daemon that is different from the one on the host. However, you can directly access the cluster docker-daemon from your host by using the following command
eval $(minikube docker-env)
See also here: https://minikube.sigs.k8s.io/docs/handbook/pushing/
If you want to pull an image from a private registry (such as the agentlib gitlab) you have to create a PullSecret. Within your Gitlab project create a deploy token (Settings->Repository->Deploy tokens, scope: read_registry). With the username and token you can now create the PullSecret using following command:
kubectl create secret docker-registry <secret-name> --docker-server=<gitlab-registry-address> --docker-username=<username> --docker-password=<token>
You might also have to specify the namespace if cloneMAP is not started in the default namespace.
To let cloneMAP know the secret, you have to specify it in the yaml file you use for MAS deployment.
imagegroups":[
{
"config": {
"image":"agentlibtest",
"secret": **<secret-name>**
},
"agents":[...]
}
],
Please let me know if this solves your issue.
from clonemap.
Thank you! I'm still working on this, not using Minikube but Rancher Desktop (with WSL2). Unfortunately so far the secret didn't work, I am now looking into ways to manage images from a private registry with rancher (similar to minikube cache).
I tried to use Minikube in the beginning, but I get a connection refused error every time I try to curl POST to the cluster's IP. Are there additional steps necessary to expose the clonemap API when using Minikube?
from clonemap.
Related Issues (8)
- Finalize move to Github and extend docu
- risk of code injection when creating agencies HOT 1
- improve error message on invalid image HOT 1
- Finalize WebUI
- curl DELETE does not delete anything HOT 10
- ID of a deleted agent is not removed from agency's list of agents
- k8s custom resource definition of etcd is not available anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clonemap.