Comments (2)
This issue also prevents from successfully getting initialized on OpenShift where 127.0.0.1 is not allowed, but using one of the IP address of the node itself does work when using the NodePort.
╭─carroarmato0@neon in ~/Downloads took 184ms
╰─λ oc -n zarf get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
injector 1/1 Running 0 5m20s 10.128.0.145 worker-0 <none> <none>
zarf-docker-registry-6cb7547597-rwm6l 0/1 ImagePullBackOff 0 3m54s 10.130.0.68 worker-2 <none> <none>
╭─carroarmato0@neon in ~/Downloads took 175ms
╰─λ oc -n zarf get pod zarf-docker-registry-6cb7547597-rwm6l -o yaml | grep "image:"
image: 127.0.0.1:32189/library/registry:2.8.3
- image: 127.0.0.1:32189/library/registry:2.8.3
╭─carroarmato0@neon in ~/Downloads took 222ms
╰─λ oc -n zarf get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
zarf-docker-registry NodePort 172.30.166.15 <none> 5000:31999/TCP 5m35s
zarf-injector NodePort 172.30.67.60 <none> 5000:32189/TCP 5m49s
╭─carroarmato0@neon in ~/Downloads took 193ms
╰─λ oc get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
worker-0 Ready control-plane,master,worker 34d v1.27.10+28ed2d7 198.19.0.10 <none> Red Hat Enterprise Linux CoreOS 414.92.202402051952-0 (Plow) 5.14.0-284.52.1.el9_2.x86_64 cri-o://1.27.3-2.rhaos4.14.git03502b6.el9
worker-1 Ready control-plane,master,worker 34d v1.27.10+28ed2d7 198.19.0.11 <none> Red Hat Enterprise Linux CoreOS 414.92.202402051952-0 (Plow) 5.14.0-284.52.1.el9_2.x86_64 cri-o://1.27.3-2.rhaos4.14.git03502b6.el9
worker-2 Ready control-plane,master,worker 34d v1.27.10+28ed2d7 198.19.0.12 <none> Red Hat Enterprise Linux CoreOS 414.92.202402051952-0 (Plow) 5.14.0-284.52.1.el9_2.x86_64 cri-o://1.27.3-2.rhaos4.14.git03502b6.el9
╭─carroarmato0@neon in ~/Downloads took 4m43s
╰─λ oc debug node/worker-2
Starting pod/worker-2-debug-htmnb ...
To use host binaries, run `chroot /host`
Pod IP: 198.19.0.12
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host
sh-5.1# sudo su -
Last login: Fri Apr 26 09:09:13 UTC 2024
[root@worker-2 ~]# curl -v 127.0.0.1:32189/v2/
* Trying 127.0.0.1:32189...
^C
[root@worker-2 ~]# curl -v 198.19.0.10:32189/v2/
* Trying 198.19.0.10:32189...
* Connected to 198.19.0.10 (198.19.0.10) port 32189 (#0)
> GET /v2/ HTTP/1.1
> Host: 198.19.0.10:32189
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: tiny-http (Rust)
< Date: Fri, 26 Apr 2024 09:15:04 GMT
< Content-Type: application/json; charset=utf-8
< Docker-Distribution-Api-Version: registry/2.0
< X-Content-Type-Options: nosniff
< Content-Length: 2
<
* Connection #0 to host 198.19.0.10 left intact
[root@worker-2 ~]# iptables -nvL -t nat | grep 32189
79 4740 DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL tcp dpt:32189 to:172.30.67.60:5000
from zarf.
i have the same issue on an actual k3s cluster with 4 nodes
from zarf.
Related Issues (20)
- Flavor validation on `package create` HOT 1
- Package create breaks when a cosign signature image exists in the package and in the cache HOT 2
- clean up ctx.TODO -> ctx.Background HOT 3
- Context needs to be better passed through to several parts of Zarf so that interrupts can be implemented properly
- Inaccurate migration warning during package create when groups are used
- Document which kubernetes version Zarf supports HOT 1
- Issue with Package publish to Gitlab Registry HOT 4
- Move aggregate checksum from .metadata to .build in the schema
- SBOMs do not contain docker image metadata
- Remove component webhooks
- Document Kubernetes supported versions
- Zarf Community Meeting
- Change `noWait` to `wait` within the zarf schema
- Import OCI Composable Package fails HOT 3
- Decouple and deduplicate the lint package
- refactor: return a single image for the injector pod to use
- feat: only run the injector in a cluster that has not been previously initialized
- Adoption of Namespaces with `--adopt-existing-resources`
- Use Server Side Apply when creating Kubernetes resources
- Feature request: Zarf dev package templating
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 zarf.