estradiol.cloud/content/posts/hugo-on-k8s-nginx/service.yaml

18 lines
339 B
YAML
Raw Normal View History

2024-03-12 23:27:06 +00:00
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: estradiol-cloud
app.kubernetes.io/name: nginx
name: nginx
spec:
type: ClusterIP
selector:
app.kubernetes.io/instance: estradiol-cloud
app.kubernetes.io/name: nginx
ports:
- name: http
port: 80
protocol: TCP
targetPort: http