15 lines
289 B
YAML
15 lines
289 B
YAML
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: {}
|