Add info to deploy README
This commit is contained in:
15
deploy_sample/yaml/02-my-app-service-node-port.yaml
Normal file
15
deploy_sample/yaml/02-my-app-service-node-port.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: my-app-service
|
||||
labels:
|
||||
app: my-app
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: my-app
|
||||
type: LoadBalancer
|
Reference in New Issue
Block a user