mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
409 B
YAML
22 lines
409 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
kustomize.toolkit.fluxcd.io/name: podinfo
|
|
kustomize.toolkit.fluxcd.io/namespace: {{ .fluxns }}
|
|
name: podinfo
|
|
namespace: default
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: podinfo
|
|
ports:
|
|
- name: http
|
|
port: 9899
|
|
protocol: TCP
|
|
targetPort: http
|
|
- port: 9999
|
|
targetPort: grpc
|
|
protocol: TCP
|
|
name: grpc
|