mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
If implemented this permit restoring a clean state in case of signal interruption. Signed-off-by: Soule BA <soule@weave.works>
21 lines
409 B
YAML
21 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
|