Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Today at 12:41 PM
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
FREE SEO Check & Google Maps Check for Sri Lankan Businesses | Web Design, Website Price Rs 14,900 |
LankaSolve
Updated:
Oct 20, 2026
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Oct 17, 2026
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Oct 14, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
K8s nexus jenkins
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="devops" data-source="post: 30541493" data-attributes="member: 583503"><p><img src="/styles/default/xenforo/smilies/default/love.gif" class="smilie" loading="lazy" alt=":love:" title="Love :love:" data-shortname=":love:" /></p><hr /><p>මම මේ උඩ අහලා තියන issue එක [USER=9338]@jithendra[/USER] කියලා තියන විදියට K8S service ekak hadala eken expose kara ල + Insecure registry configure කරලා fix කරගත්තා. </p><p></p><p>මට දැන් bitnami/kubectl agent ගෙ ඉඳලත් අර nexus ඇතුලෙ ඉන්න private docker hosted repository එක access කරගන්න ඕන.</p><p></p><p>Issue :</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1739702630[/DATETIME]</span></p><hr /><p>Failed to pull image "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to pull and unpack image "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to resolve reference "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to do request: Head "<a href="https://nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/v2/docker-hosted-my-repo/my-new-ai-assistant/manifests/latest" target="_blank">https://nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/v2/docker-hosted-my-repo/my-new-ai-assistant/manifests/latest</a>": dial tcp: lookup nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local: Try again</p><p></p><p>[CODE]kubectl create secret docker-registry nexus-docker-secret \</p><p> --docker-server=http://nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085 \</p><p> --docker-username=admin \</p><p> --docker-password=Devops@1252429 \</p><p> --namespace ai-ns[/CODE]</p><p></p><p>[CODE=yaml]apiVersion: apps/v1</p><p>kind: Deployment</p><p>metadata:</p><p> name: ai-assistant-deployment</p><p> namespace: ai-ns</p><p>spec:</p><p> replicas: 1</p><p> selector:</p><p> matchLabels:</p><p> app: ai-assistant</p><p> template:</p><p> metadata:</p><p> labels:</p><p> app: ai-assistant</p><p> spec:</p><p> imagePullSecrets:</p><p> - name: nexus-docker-secret # Reference the created secret</p><p> containers:</p><p> - name: ai-assistant</p><p> image: nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest</p><p> ports:</p><p> - containerPort: 8501</p><p>---</p><p>apiVersion: v1</p><p>kind: Service</p><p>metadata:</p><p> name: ai-assistant-service</p><p> namespace: ai-ns</p><p>spec:</p><p> selector:</p><p> app: ai-assistant</p><p> ports:</p><p> - protocol: TCP</p><p> port: 80 # Service port</p><p> targetPort: 8501 # Container port</p><p> type: ClusterIP</p><p>[/CODE]</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1739702824[/DATETIME]</span></p></blockquote><p></p>
[QUOTE="devops, post: 30541493, member: 583503"] :love: [HR][/HR] මම මේ උඩ අහලා තියන issue එක [USER=9338]@jithendra[/USER] කියලා තියන විදියට K8S service ekak hadala eken expose kara ල + Insecure registry configure කරලා fix කරගත්තා. මට දැන් bitnami/kubectl agent ගෙ ඉඳලත් අර nexus ඇතුලෙ ඉන්න private docker hosted repository එක access කරගන්න ඕන. Issue : ------ [SIZE=2]Post added on [DATETIME="UT"]1739702630[/DATETIME][/SIZE] [HR][/HR] Failed to pull image "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to pull and unpack image "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to resolve reference "nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest": failed to do request: Head "[URL]https://nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/v2/docker-hosted-my-repo/my-new-ai-assistant/manifests/latest[/URL]": dial tcp: lookup nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local: Try again [CODE]kubectl create secret docker-registry nexus-docker-secret \ --docker-server=http://nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085 \ --docker-username=admin \ --docker-password=Devops@1252429 \ --namespace ai-ns[/CODE] [CODE=yaml]apiVersion: apps/v1 kind: Deployment metadata: name: ai-assistant-deployment namespace: ai-ns spec: replicas: 1 selector: matchLabels: app: ai-assistant template: metadata: labels: app: ai-assistant spec: imagePullSecrets: - name: nexus-docker-secret # Reference the created secret containers: - name: ai-assistant image: nexus-service-for-docker-hosted-registry.nexus-ns.svc.cluster.local:8085/docker-hosted-my-repo/my-new-ai-assistant:latest ports: - containerPort: 8501 --- apiVersion: v1 kind: Service metadata: name: ai-assistant-service namespace: ai-ns spec: selector: app: ai-assistant ports: - protocol: TCP port: 80 # Service port targetPort: 8501 # Container port type: ClusterIP [/CODE] ------ [SIZE=2]Post added on [DATETIME="UT"]1739702824[/DATETIME][/SIZE] [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom