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
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Yesterday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
nginx ingress issue - nexus jenkins sornaqube
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: 30559783" data-attributes="member: 583503"><p>I have a K3s cluster (local) and am trying to access Jenkins, SonarQube, and Nexus through Nginx Ingress at specific paths.</p><p>like > ( devopstools.com/jenkins, devopstools.com/nexus, devopstools.com/sonarqube ).</p><p></p><p>However, these tools are not fully loading when accessed through Ingress.</p><p></p><p>Has anyone faced a similar issue or has suggestions on how to fix this?</p><p></p><p>This is my current Nginx Ingress configuration:</p><p></p><p>[CODE]/etc/hosts</p><p></p><p>127.0.0.1 localhost</p><p>127.0.1.1 ubuntu</p><p></p><p># The following lines are desirable for IPv6 capable hosts</p><p>::1 ip6-localhost ip6-loopback</p><p>fe00::0 ip6-localnet</p><p>ff00::0 ip6-mcastprefix</p><p>ff02::1 ip6-allnodes</p><p>ff02::2 ip6-allrouters</p><p>192.168.8.113 devopstools.com[/CODE]</p><p></p><p>[CODE=yaml]apiVersion: networking.k8s.io/v1</p><p>kind: Ingress</p><p>metadata:</p><p> name: jenkins-ingress</p><p> namespace: jenkins-ns</p><p> annotations:</p><p> nginx.ingress.kubernetes.io/rewrite-target: /</p><p>spec:</p><p> ingressClassName: nginx</p><p> rules:</p><p> - host: devopstools.com</p><p> http:</p><p> paths:</p><p> - path: /jenkins</p><p> pathType: Prefix</p><p> backend:</p><p> service:</p><p> name: my-jenkins</p><p> port:</p><p> number: 8080</p><p></p><p>apiVersion: networking.k8s.io/v1</p><p>kind: Ingress</p><p>metadata:</p><p> name: sonarqube-ingress</p><p> namespace: sonarqube-ns</p><p> annotations:</p><p> nginx.ingress.kubernetes.io/rewrite-target: /</p><p>spec:</p><p> ingressClassName: nginx</p><p> rules:</p><p> - host: devopstools.com</p><p> http:</p><p> paths:</p><p> - path: /sonarqube</p><p> pathType: Prefix</p><p> backend:</p><p> service:</p><p> name: my-sonarqube-sonarqube</p><p> port:</p><p> number: 9000</p><p></p><p>apiVersion: networking.k8s.io/v1</p><p>kind: Ingress</p><p>metadata:</p><p> name: nexus-ingress</p><p> namespace: nexus-ns</p><p> annotations:</p><p> nginx.ingress.kubernetes.io/rewrite-target: /</p><p>spec:</p><p> ingressClassName: nginx</p><p> rules:</p><p> - host: devopstools.com</p><p> http:</p><p> paths:</p><p> - path: /nexus</p><p> pathType: Prefix</p><p> backend:</p><p> service:</p><p> name: nexus-service</p><p> port:</p><p> number: 8081</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="devops, post: 30559783, member: 583503"] I have a K3s cluster (local) and am trying to access Jenkins, SonarQube, and Nexus through Nginx Ingress at specific paths. like > ( devopstools.com/jenkins, devopstools.com/nexus, devopstools.com/sonarqube ). However, these tools are not fully loading when accessed through Ingress. Has anyone faced a similar issue or has suggestions on how to fix this? This is my current Nginx Ingress configuration: [CODE]/etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 192.168.8.113 devopstools.com[/CODE] [CODE=yaml]apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: jenkins-ingress namespace: jenkins-ns annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx rules: - host: devopstools.com http: paths: - path: /jenkins pathType: Prefix backend: service: name: my-jenkins port: number: 8080 apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: sonarqube-ingress namespace: sonarqube-ns annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx rules: - host: devopstools.com http: paths: - path: /sonarqube pathType: Prefix backend: service: name: my-sonarqube-sonarqube port: number: 9000 apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: nexus-ingress namespace: nexus-ns annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: ingressClassName: nginx rules: - host: devopstools.com http: paths: - path: /nexus pathType: Prefix backend: service: name: nexus-service port: number: 8081 [/CODE] [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom