Files
Kubernetes/File/Yaml/nginx-deployment-svc.yaml
offends 89a07bc062
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-20 21:10:05 +08:00

15 lines
212 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginx-service
labels:
app: nginx
namespace: default
spec:
selector:
app: nginx
ports:
- port: 80
name: tcp
protocol: TCP
targetPort: 80