Update file test.yaml

This commit is contained in:
2023-06-24 20:09:45 +00:00
parent 8d5e70d92d
commit 1749e6a457

View File

@@ -5,8 +5,8 @@ metadata:
spec: spec:
ports: ports:
- name: http - name: http
port: 80 port: 8080
targetPort: 80 targetPort: 8080
protocol: TCP protocol: TCP
selector: selector:
app: test app: test
@@ -20,9 +20,9 @@ metadata:
spec: spec:
ports: ports:
- name: http - name: http
port: 80 port: 8080
protocol: TCP protocol: TCP
targetPort: 80 targetPort: 8080
clusterIP: None clusterIP: None
type: ClusterIP type: ClusterIP
@@ -37,5 +37,5 @@ subsets:
- ip: 192.168.130.2 - ip: 192.168.130.2
ports: ports:
- name: http - name: http
port: 80 port: 8080
protocol: TCP protocol: TCP