diff options
Diffstat (limited to 'yaml/services')
-rw-r--r-- | yaml/services/cas.yaml | 13 | ||||
-rw-r--r-- | yaml/services/postgres.yaml | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/yaml/services/cas.yaml b/yaml/services/cas.yaml new file mode 100644 index 0000000..ff1d8c5 --- /dev/null +++ b/yaml/services/cas.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: cas-service +spec: + ports: + - port: 8000 + targetPort: 8000 + name: http + protocol: TCP + selector: + app: cas + type: ClusterIP diff --git a/yaml/services/postgres.yaml b/yaml/services/postgres.yaml new file mode 100644 index 0000000..ad3b969 --- /dev/null +++ b/yaml/services/postgres.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: postgres-service +spec: + ports: + - port: 5432 + targetPort: 5432 + selector: + app: postgres + type: ClusterIP |