Compare commits
3 Commits
8fc1165cc0
...
a44781a4c7
| Author | SHA1 | Date | |
|---|---|---|---|
| a44781a4c7 | |||
| d1c71b22af | |||
| 4324087ecb |
@@ -13,13 +13,16 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: nexus
|
app: nexus
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
containers:
|
containers:
|
||||||
- name: nexus
|
- name: nexus
|
||||||
image: sonatype/nexus3:latest
|
image: klo2k/nexus3:3.68.1-02
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "4Gi"
|
memory: "3Gi"
|
||||||
cpu: "1000m"
|
cpu: "500m"
|
||||||
requests:
|
requests:
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: nexus-ingress
|
|
||||||
namespace: nexus
|
|
||||||
annotations:
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
||||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
|
||||||
spec:
|
|
||||||
ingressClassName: nginx
|
|
||||||
rules:
|
|
||||||
- host: "nexus.cluster.local"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: nexus
|
|
||||||
port:
|
|
||||||
number: 32000
|
|
||||||
- host: "nexus.cluster.edward.sydney"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: nexus
|
|
||||||
port:
|
|
||||||
number: 32000
|
|
||||||
Reference in New Issue
Block a user