Comments (9)
Ah, thanks for pointing that out. I edited the places where I missed the replacement. This is only a mistake here in the issue 😇
from crossplane.
Loading the image in the cluster won't be enough, as Crossplane too needs to pull the image first, you'll also need to follow this: https://docs.crossplane.io/latest/concepts/packages/#install-offline
from crossplane.
Thanks for the hint! Though, I haven't tried it yet.
But what about local registries? Is there a possibility to configure crossplane such that I can use a local registry via http?
from crossplane.
You definitely can, you "just" need to spin up a registry container in the same network as the kind cluster, push your images there and properly configure the dns to allow crossplane and nodes to reach it 😅
from crossplane.
I have, but it doesn't work.
- In a second attempt I set up a kind local registry. I verified the registry with
docker exec kind-worker crictl pull localhost:5000/function-demo:v0.1.0
. I could access and pull from the registry.
Like I mentioned in the first post, I set up a local registry in a second attempt. It is either accessible via localhost:5000 (from the kind docs) and also via kind-registry:5000. I also verified, that the kind nodes can pull from that registry.
The problem with this approach is, that crossplane cannot access this registry because it keeps trying via https and not via http. For kind, there are config options to change this behavior, but I haven't found any for crossplane. So are there any options to change that?
from crossplane.
For sure using localhost:5000 as spec.package in the Function won't work. But I guess you tried also with kind-registry.
from crossplane.
Yes tested it with kind-registry or the IP directly:
This is the error message:
Failed to pull image "kind-registry:5000/function-demo:v0.1.0": failed to pull and unpack image "kind-registry:5000/function-demo:v0.1.1": failed to resolve reference "kind-registry:5000/function-demo:v0.1.0": failed to do request: Head "https://kind-registry:5000/v2/function-demo/manifests/v0.1.0": http: server gave HTTP response to HTTPS client
from crossplane.
In the hopes that we don't overlook something small, I noticed that we use function-demo
for the load:
kind load docker-image localhost:5000/function-demo:v0.1.0
Then the function spec uses function-xusers
:
package: localhost:5000/function-xusers:v0.1.0
Just wanted to make sure that difference was expected and not overlooked 😇
from crossplane.
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale
because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
from crossplane.
Related Issues (20)
- Consistent contributor experience across repos HOT 2
- Refactoring compositions without deleting/recreating composed resources
- Promote claim server-side apply to beta HOT 2
- Report the use of components with vulnerabilities in crossplane HOT 1
- Selecting Array Elements with the Custom Columns Kubernetes CLI Output HOT 3
- Races in the `PackagedFunctionRunner`
- DynamoDB Table Resource Based Policy Support HOT 2
- Increase e2e test reliability HOT 4
- e2e tests should fail fast
- Update to go1.22.3 due to CVE HOT 5
- Improve the trace command for performance HOT 5
- [Feature Request] Crossplane CLI should support a standardized testing model for compositions
- Claim CRDs are Reconciled by the XR CRD Reconciler
- `crossplane xpkg init` doesn't close file
- `TestNewFromFlags` test will fail when `UP_ACCOUNT` is set HOT 2
- Externally Managed CRD Fields HOT 4
- `crossplane beta validate` should support `Configuration.meta` / `crossplane.yaml` for pulling dependencies
- `make generate` can not be run more than once
- Crossplane Helm Chart: Unnecessary RBAC permissions HOT 2
- Earthly build issues and feedback HOT 18
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 crossplane.