K3s-cluster/nginx/service.yaml

11 lines
131 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginx-svc
spec:
ports:
- name: http
port: 80
selector:
app: nginx