Files
gitops-argocd/solar-system/service.yml
2022-10-28 11:14:56 +05:30

16 lines
264 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: solar-system
name: solar-system-service
spec:
ports:
- port: 80 #change to 80
protocol: TCP
targetPort: 80 #change to 80
nodePort: 30333
selector:
app: solar-system
type: NodePort