|
|
@@ -17,7 +17,7 @@ spec:
|
|
|
spec:
|
|
|
containers:
|
|
|
- name: pipleline
|
|
|
- image: 192.168.0.5:9080/repo/pipeline:v6.0.4
|
|
|
+ image: 192.168.0.5:9080/repo/pipeline:v6.0.3
|
|
|
imagePullPolicy: Always
|
|
|
ports:
|
|
|
- containerPort: 8080
|
|
|
@@ -36,3 +36,22 @@ spec:
|
|
|
- port: 18081
|
|
|
targetPort: 8080
|
|
|
type: ClusterIP
|
|
|
+---
|
|
|
+apiVersion: networking.k8s.io/v1
|
|
|
+kind: Ingress
|
|
|
+metadata:
|
|
|
+ name: pipeline
|
|
|
+ namespace: test
|
|
|
+spec:
|
|
|
+ ingressClassName: traefik
|
|
|
+ rules:
|
|
|
+ - host: pipeline.autumn.com
|
|
|
+ http:
|
|
|
+ paths:
|
|
|
+ - path: /
|
|
|
+ pathType: Prefix
|
|
|
+ backend:
|
|
|
+ service:
|
|
|
+ name: pipleline
|
|
|
+ port:
|
|
|
+ number: 18081
|