lumenInit/resources/kubernetes/service-webapp.yml

16 lines
289 B
YAML
Raw Normal View History

2019-09-26 14:06:03 +00:00
apiVersion: v1
kind: Service
metadata:
annotations:
field.cattle.io/targetWorkloadIds: '["deployment:sampleapp:webapp"]'
name: service-webapp
namespace: sampleapp
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
type: ClusterIP
status:
loadBalancer: {}