ch 4 years ago
commit 0bbc4a97f7

@ -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

Loading…
Cancel
Save