1 changed files with
3 additions and
7 deletions
|
|
@ -42,17 +42,13 @@ spec:
|
|
|
|
kind: Service
|
|
|
|
kind: Service
|
|
|
|
apiVersion: v1
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
|
|
|
|
app: $IMAGES
|
|
|
|
|
|
|
|
name: $IMAGES
|
|
|
|
name: $IMAGES
|
|
|
|
namespace: yanxuan
|
|
|
|
namespace: yanxuan
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
- port: 80
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
protocol: TCP
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: http
|
|
|
|
targetPort: 80
|
|
|
|
selector:
|
|
|
|
selector:
|
|
|
|
app: $IMAGES
|
|
|
|
app: $IMAGES
|
|
|
|
sessionAffinity: None
|
|
|
|
|
|
|
|
type: ClusterIP
|
|
|
|
type: ClusterIP
|
|
|
|